MediaWiki:Common.css
出自Meshal Lite
第1行: | 第1行: | ||
/* 此处的 CSS 将应用于所有的皮肤 */ | /* 此处的 CSS 将应用于所有的皮肤 */ | ||
− | + | /* Standard Navigationsleisten, aka box hiding thingy | |
− | + | from .de. Documentation at [[Wikipedia:NavFrame]]. */ | |
+ | div.NavFrame { | ||
+ | margin: 0; | ||
+ | padding: 4px; | ||
+ | border: 1px solid #aaa; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
} | } | ||
− | + | div.NavFrame + div.NavFrame { | |
− | . | + | border-top-style: none; |
− | + | border-top-style: hidden; | |
− | + | } | |
− | + | div.NavPic { | |
− | + | background-color: #fff; | |
+ | margin: 0; | ||
+ | padding: 2px; | ||
+ | /* @noflip */ | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | background-color: #ccf; | ||
+ | position: relative; | ||
+ | } | ||
+ | div.NavFrame p, | ||
+ | div.NavFrame div.NavContent, | ||
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavEnd { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | /* @noflip */ | ||
+ | right: 3px; | ||
+ | font-weight: normal; | ||
+ | font-size: 90%; | ||
} | } | ||
在2013年12月28日 (六) 06:14所做的修订版本
/* 此处的 CSS 将应用于所有的皮肤 */ /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.NavFrame { margin: 0; padding: 4px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: normal; font-size: 90%; } /******* Extra buttons for 'edittools' (modified from www.mediawiki.org/MediaWiki:Common.css) ********/ .CharInsertMain { font-size: 80%; background-color:#eee; border-style:outset; border-width:3px; padding-left:3px; padding-top:3px; padding-bottom:3px; margin-bottom:7px; margin-top:7px; } .CharInsert { background-color:#fff; border-style: inset; border-width:2px; padding:2px; } /***** Animated loading image for Extension:Livelets *****/ .livelet-loading { border: 1px solid #ccc; width: 150px; height: 100px; background: url( /images/lite/loading.gif ) no-repeat center center; } .tabModifyLink { float: right; font-weight: normal; } /** Attributes Data Sheet**/ .attrNum { text-align:center; vertical-align:middle; font-size:2.5em; font-weight:bold; color:#ffffff; text-shadow: 2px 2px 2px #000000; } .attrSave { text-align:center; vertical-align:middle; font-size:1.5em; font-weight:bold; color:#ffffff; text-shadow: 2px 2px 2px #000000; } .attrRoll { text-align:center; vertical-align:middle; font-size:1.5em; font-weight:bold; color:#ffffff; text-shadow: 2px 2px 2px #000000; } a.whiteText { color:#ffffff; } a.whiteText:link{ color:#fffff; } a.whiteText:hover{ color:#bbb297; } a.whiteText:visted{ color:#ffffff; } a.whiteText:active{ color:#bbb297; } .attr_M { background: url(/upload/lite/bg_motivity.png) no-repeat; } .attr_E { background: url(/upload/lite/bg_endurance.png) no-repeat; } .attr_S { background: url(/upload/lite/bg_strength.png) no-repeat; } .attr_H { background: url(/upload/lite/bg_hunch.png) no-repeat; } .attr_A { background: url(/upload/lite/bg_agility.png) no-repeat; } .attr_L { background: url(/upload/lite/bg_latency.png) no-repeat; } .attr_F { background: url(/upload/lite/bg_fatigue.png) no-repeat; } .attr_W { background: url(/upload/lite/bg_wounds.png) no-repeat; } .attr_parry { background: url(/upload/lite/bg_parry.png) no-repeat; } .attr_resist { background: url(/upload/lite/bg_resist.png) no-repeat; } .attr_dodge { background: url(/upload/lite/bg_dodge.png) no-repeat; } .attr_neutralize { background: url(/upload/lite/bg_neutralize.png) no-repeat; } .attr_physave { background: url(/upload/lite/bg_physave.png) no-repeat center left; } .attr_dissave { background: url(/upload/lite/bg_dissave.png) no-repeat center left; } .attr_enesave { background: url(/upload/lite/bg_enesave.png) no-repeat center left; } .attr_spesave { background: url(/upload/lite/bg_spesave.png) no-repeat center left; }