“MediaWiki:Common.css”的版本间的差异
小 |
|||
第20行: | 第20行: | ||
#p-logo a { | #p-logo a { | ||
height: 170px; | height: 170px; | ||
+ | } | ||
+ | |||
+ | /* navbox所需CSS */ | ||
+ | table.navbox { | ||
+ | border: 1px solid #AAAAAA; | ||
+ | clear: both; | ||
+ | margin: auto; | ||
+ | padding: 1px; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
+ | } | ||
+ | table.navbox + table.navbox { | ||
+ | margin-top: -1px; | ||
+ | } | ||
+ | .navbox-title, .navbox-abovebelow, table.navbox th { | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .navbox-group { | ||
+ | font-weight: bold; | ||
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .navbox, .navbox-subgroup { | ||
+ | background: none repeat scroll 0 0 #FDFDFD; | ||
+ | } | ||
+ | .navbox-list { | ||
+ | border-color: #FDFDFD; | ||
+ | } | ||
+ | .navbox-title, table.navbox th { | ||
+ | background: none repeat scroll 0 0 #CCCCFF; | ||
+ | } | ||
+ | .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { | ||
+ | background: none repeat scroll 0 0 #DDDDFF; | ||
+ | } | ||
+ | .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | ||
+ | background: none repeat scroll 0 0 #E6E6FF; | ||
+ | } | ||
+ | .navbox-even { | ||
+ | background: none repeat scroll 0 0 #F7F7F7; | ||
+ | } | ||
+ | .navbox-odd { | ||
+ | background: none repeat scroll 0 0 transparent; | ||
+ | } | ||
+ | .collapseButton { | ||
+ | float: right; | ||
+ | font-weight: normal; | ||
+ | text-align: right; | ||
+ | width: auto; | ||
+ | } | ||
+ | .navbox .collapseButton { | ||
+ | width: 6em; | ||
} | } |
2015年5月26日 (二) 13:28的版本
/* 放置于这里的CSS将应用于所有皮肤 */ /* advertisement */ .please-donate { height: 90px; margin: 10px; clear: both; text-align: center; } .please-donate a { display: block; width: 728px; height: 90px; margin: 0 auto; } .ads-main { width: 728px; margin: -90px auto 0; } #p-logo a { height: 170px; } /* navbox所需CSS */ table.navbox { border: 1px solid #AAAAAA; clear: both; margin: auto; padding: 1px; text-align: center; width: 100%; } table.navbox + table.navbox { margin-top: -1px; } .navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; } .navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; } .navbox, .navbox-subgroup { background: none repeat scroll 0 0 #FDFDFD; } .navbox-list { border-color: #FDFDFD; } .navbox-title, table.navbox th { background: none repeat scroll 0 0 #CCCCFF; } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: none repeat scroll 0 0 #DDDDFF; } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: none repeat scroll 0 0 #E6E6FF; } .navbox-even { background: none repeat scroll 0 0 #F7F7F7; } .navbox-odd { background: none repeat scroll 0 0 transparent; } .collapseButton { float: right; font-weight: normal; text-align: right; width: auto; } .navbox .collapseButton { width: 6em; }