MediaWiki:Common.css
跳到导航
跳到搜索
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/*引自萌娘百科(https://zh.moegirl.org.cn )[https://zh.moegirl.org.cn/MediaWiki:Gadget-desktop-styles.css]*/
/* 黑幕模板配合CSS*/
.heimu,
.heimu rt {
background-color: #252525;
}
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
color: #252525;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
color: #252525;
text-shadow: none;
}
body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
transition: color .13s linear;
color: white;
}
body:not(.heimu_toggle_on) .heimu:hover a,
body:not(.heimu_toggle_on) a:hover .heimu,
body:not(.heimu_toggle_on) .heimu.off a,
body:not(.heimu_toggle_on) a:hover .heimu.off {
transition: color .13s linear;
color: lightblue;
}
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off,
body:not(.heimu_toggle_on) .heimu:hover .new {
transition: color .13s linear;
color: #FCC;
}
/* 提升背景颜色纯度 */
div.vectorTabs ul li,
#mw-head div.vectorMenu {
background-image: none !important;
background-color: transparent !important;
}
div.vectorTabs,
div.vectorTabs span,
div.vectorTabs ul,
div#mw-head div.vectorMenu h3 {
background-image: none !important;
}
#left-navigation,
#right-navigation
/* {
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 30%, rgba(255, 255, 255, .75))!important;
background-color: transparent!important;
}*/
,
div.vectorTabs ul li.selected {
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, .5)) !important;
background-color: transparent !important;
}
#left-navigation,
#right-navigation {
min-height: 40px;
}
/* 右上个人链接栏 */
div#p-personal {
background-color: rgba(255, 255, 255, 0.8);
padding: 5px 10px 5px 0;
box-shadow: #666 0 1px 5px;
}
/* 右上通知处奇怪的数字移除 */
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge {
text-indent: -99999px;
}
#pt-notifications-alert .mw-echo-notifications-badge:after,
#pt-notifications-notice .mw-echo-notifications-badge:after {
text-indent: 0;
}
/* MW自带10em宽度,应该是留给测试链接的吧萌百没有就去掉 */
#p-personal ul {
padding-left: 0;
}
/* 对齐搜索按钮 */
div#simpleSearch button#searchButton {
padding-top: .1em;
padding-bottom: .2em;
padding-right: .1em;
}
/* 2012年12月24日空想之梦做出的首页样式 */
#mainpage {
display: block;
width: 100%;
text-align: left;
margin: 0 auto;
/* 居中 */
max-width: 1030px;
}
.mainpage-title {
font-family: PingFang SC, sans-serif;
font-size: 1.618em;
color: #228b22;
margin: 0;
background: #deede0;
font-weight: 400;
/* 400 = normal */
height: 30px;
line-height: 30px;
text-align: center;
}