匿名使用者
「MediaWiki:Common.css」:修訂間差異
無編輯摘要
imported>NoahLDW 無編輯摘要 |
imported>NoahLDW 無編輯摘要 |
||
第477行: | 第477行: | ||
} | } | ||
/* Default skin for navigation boxes */ | |||
/* Default | table.navbox { /* Navbox container style */ | ||
.navbox { | border: 1px solid #aaa; | ||
border: 1px solid # | |||
width: 100%; | width: 100%; | ||
margin: auto; | margin: auto; | ||
第488行: | 第487行: | ||
padding: 1px; | padding: 1px; | ||
} | } | ||
.navbox | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | ||
.navbox | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | ||
} | } | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow { | .navbox-abovebelow, | ||
text-align: center; | table.navbox th { | ||
text-align: center; /* Title and above/below styles */ | |||
padding-left: 1em; | padding-left: 1em; | ||
padding-right: 1em; | padding-right: 1em; | ||
} | } | ||
.navbox-group { /* Group style */ | |||
white-space: nowrap; | white-space: nowrap; | ||
text-align: right; | text-align: right; | ||
font-weight: bold; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | } | ||
.navbox, | .navbox, .navbox-subgroup { | ||
.navbox-subgroup { | background: #fdfdfd; /* Background color */ | ||
background: #fdfdfd; | |||
} | } | ||
.navbox-list { | .navbox-list { | ||
border-color: #fdfdfd; | border-color: #fdfdfd; /* Must match background color */ | ||
} | } | ||
.navbox | .navbox-title, | ||
.navbox | table.navbox th { | ||
background: #ccccff; | background: #ccccff; /* Level 1 color */ | ||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
.navbox-group, | |||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: #ddddff; | background: #ddddff; /* Level 2 color */ | ||
} | } | ||
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | ||
.navbox-subgroup .navbox-abovebelow { | background: #e6e6ff; /* Level 3 color */ | ||
background: #e6e6ff; | |||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: #f7f7f7; | background: #f7f7f7; /* Even row striping */ | ||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; | background: transparent; /* Odd row striping */ | ||
} | } | ||
. | |||
.collapseButton { /* 'show'/'hide' buttons created dynamically */ | |||
. | float: right; /* by the CollapsibleTables javascript in */ | ||
font-weight: normal; /* [[MediaWiki:Common.js]] are styled here */ | |||
text-align: right; /* so they can be customised. */ | |||
width: auto; | |||
} | } | ||
.navbox . | .navbox .collapseButton { /* In navboxes, the show/hide button balances */ | ||
width: 6em; /* the vde links from [[Template:Navbar]], */ | |||
. | } /* so they need to be the same width. */ | ||
. | |||
.navbar { /* Navbox template links */ | |||
font-size: 88%; /* Default font-size */ | |||
font-weight: normal; | |||
} | } | ||
.navbox .navbar { | |||
font-size: 100%; /* Font-size when nested within navbox */ | |||
} | } |