MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) mNo edit summary |
Pianoforte (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
/*Page Background*/ | /*Page Background*/ | ||
body { | body { | ||
background-image: url("http://gfwiki.com/images/1/1f/Background.jpg"); | /*background-image: url("http://gfwiki.com/images/1/1f/Background.jpg");*/ | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-attachment: fixed; | background-attachment: fixed; | ||
Line 25: | Line 25: | ||
height: 199px; | height: 199px; | ||
} | } | ||
Line 41: | Line 38: | ||
#bg-character { | #bg-character { | ||
position: fixed; | position: fixed; | ||
top: | min-height:500px; | ||
top:10%; | |||
left:0; | |||
z-index: -9999; | z-index: -9999; | ||
} | } | ||
/* Navigation Tab*/ | |||
div.vectorTabs ul li, | div.vectorTabs ul li, | ||
#p-variants, | #p-variants, | ||
#p-cactions { | #p-cactions { | ||
background-image: none; | background-image: none; | ||
background-color: rgba(255,255,255,0.6); } | background-color: rgba(255,255,255,0.6); } | ||
#p-cactions:hover { | #p-cactions:hover { | ||
background-image: none; | background-image: none; | ||
background-color: rgba(255,255,255,0.7); } | background-color: rgba(255,255,255,0.7); } | ||
div.vectorTabs li:hover { | |||
background-image: none; | |||
background-color: rgba(255,255,255,0.7); } | |||
div.vectorTabs li.selected { | div.vectorTabs li.selected { | ||
background-image: none; | background-image: none; | ||
background-color: rgba(255,255,255,0.8); | background-color: rgba(255,255,255,0.8); | ||
} | |||
#p-variants-label, | #p-variants-label, | ||
Line 71: | Line 70: | ||
div.vectorTabs ul, | div.vectorTabs ul, | ||
div#mw-head div.vectorMenu h3 { | div#mw-head div.vectorMenu h3 { | ||
background-image: none; | background-image: none; | ||
left | padding-left:0px; | ||
} | |||
div.vectorMenu div.menu { | |||
background-color: rgba(255,255,255,0.3); | |||
border:none; | |||
left:0px; | |||
} | } | ||
div.vectorMenu div.menu a:hover { | |||
background-color: rgba(255,255,255,0.5); | |||
} | |||
#left-navigation, | #left-navigation, |
Revision as of 07:38, 26 August 2016
/* CSS placed here will be applied to all skins */
/*Page Background*/
body {
/*background-image: url("http://gfwiki.com/images/1/1f/Background.jpg");*/
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
/* Content body*/
.mw-body {
background-color: rgba(255,255,255,0.8);
border:none;
}
/* logo */
#mw-panel #p-logo .mw-wiki-logo {
background-image: none;
background-color: transparent;
width: 176px;
height: 199px;
}
/* header */
div#mw-page-base {
background: none;
height: 150px;
}
/*For Template:DollBG on t-doll pages*/
#bg-character {
position: fixed;
min-height:500px;
top:10%;
left:0;
z-index: -9999;
}
/* Navigation Tab*/
div.vectorTabs ul li,
#p-variants,
#p-cactions {
background-image: none;
background-color: rgba(255,255,255,0.6); }
#p-cactions:hover {
background-image: none;
background-color: rgba(255,255,255,0.7); }
div.vectorTabs li:hover {
background-image: none;
background-color: rgba(255,255,255,0.7); }
div.vectorTabs li.selected {
background-image: none;
background-color: rgba(255,255,255,0.8);
}
#p-variants-label,
div.vectorTabs,
div.vectorTabs span,
div.vectorTabs ul,
div#mw-head div.vectorMenu h3 {
background-image: none;
padding-left:0px;
}
div.vectorMenu div.menu {
background-color: rgba(255,255,255,0.3);
border:none;
left:0px;
}
div.vectorMenu div.menu a:hover {
background-color: rgba(255,255,255,0.5);
}
#left-navigation,
#right-navigation {
margin-top: 109px;
}
阅读更多:https://zh.moegirl.org/MediaWiki:Common.css
本文引自萌娘百科(https://zh.moegirl.org/),文字内容遵守【知识共享 署名-非商业性使用-相同方式共享 3.0】协议。