Line 74: |
Line 74: |
| } | | } |
| | | |
| + | /* Default skin for navigation boxes */ |
| + | table.navbox { /* Navbox container style */ |
| + | border: 1px solid #7384B5; |
| + | width: 100%; |
| + | margin: auto; |
| + | clear: both; |
| + | font-size: 88%; |
| + | text-align: center; |
| + | padding: 1px; |
| + | } |
| + | |
| /* Navbox Layout */ | | /* Navbox Layout */ |
− | table.navbox + table.navbox { | + | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ |
− | /* Single pixel border between adjacent navboxes */
| + | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ |
− | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| |
| } | | } |
− |
| |
| .navbox-title, | | .navbox-title, |
| .navbox-abovebelow, | | .navbox-abovebelow, |
| table.navbox th { | | table.navbox th { |
− | text-align: center; /* Title and above/below styles */
| + | text-align: center; /* Title and above/below styles */ |
− | padding-left: 1em;
| + | padding-left: 1em; |
− | padding-right: 1em;
| + | padding-right: 1em; |
| } | | } |
− |
| |
| .navbox-group { /* Group style */ | | .navbox-group { /* Group style */ |
− | white-space: nowrap;
| + | white-space: nowrap; |
− | text-align: right;
| + | text-align: right; |
− | font-weight: bold;
| + | font-weight: bold; |
− | padding-left: 1em;
| + | padding-left: 1em; |
− | padding-right: 1em;
| + | padding-right: 1em; |
| } | | } |
− |
| |
| .navbox-list { | | .navbox-list { |
− | text-align: left;
| + | text-align: left; |
| } | | } |
− |
| |
| .collapseButton { /* 'show'/'hide' buttons created dynamically */ | | .collapseButton { /* 'show'/'hide' buttons created dynamically */ |
− | float: right; /* by the CollapsibleTables javascript in */
| + | float: right; /* by the CollapsibleTables javascript in */ |
− | font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
| + | font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */ |
− | text-align: right; /* so they can be customised. */
| + | text-align: right; /* so they can be customised. */ |
− | width: auto;
| + | width: auto; |
| } | | } |
− |
| |
| .navbox .collapseButton { /* In navboxes, the show/hide button balances */ | | .navbox .collapseButton { /* In navboxes, the show/hide button balances */ |
− | width: 6em; /* the vde links from [[Template:Tnavbar]], */
| + | width: 6em; /* the vde links from [[Template:Tnavbar]], */ |
| } /* so they need to be the same width. */ | | } /* so they need to be the same width. */ |
− |
| |
| .navbox-title, .navbox-above, .navbox-below { | | .navbox-title, .navbox-above, .navbox-below { |
− | padding-left: 1em;
| + | padding-left:1em; |
− | padding-right: 1em;
| + | padding-right:1em; |
− | text-align: center;
| + | text-align:center; |
| } | | } |
− | | + | |
| /* Navbox Colors */ | | /* Navbox Colors */ |
| .navbox, .navbox-subgroup { | | .navbox, .navbox-subgroup { |
− | background: #fdfdfd; /* Background color */
| + | background: #fdfdfd; /* Background color */ |
| } | | } |
| .navbox-list { | | .navbox-list { |
− | border-color: #fdfdfd; /* Must match background color */
| + | border-color: #fdfdfd; /* Must match background color */ |
| } | | } |
| .navbox-title, | | .navbox-title, |
| table.navbox th { | | table.navbox th { |
− | background:#CEDAFF; /* Level 1 color */
| + | background:#CEDAFF; /* Level 1 color */ |
| } | | } |
| .navbox-abovebelow, | | .navbox-abovebelow, |
| .navbox-group, | | .navbox-group, |
| .navbox-subgroup .navbox-title { | | .navbox-subgroup .navbox-title { |
− | background: #DDE6FF; /* Level 2 color */
| + | background: #DDE6FF; /* Level 2 color */ |
| } | | } |
| .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | | .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { |
− | background: #DDE6FF; /* Level 3 color */
| + | background: #DDE6FF; /* Level 3 color */ |
| } | | } |
| .navbox-even { | | .navbox-even { |
− | background: #f7f7f7; /* Even row striping */
| + | background: #f7f7f7; /* Even row striping */ |
| } | | } |
| .navbox-odd { | | .navbox-odd { |
− | background: transparent; /* Odd row striping */
| + | background: transparent; /* Odd row striping */ |
| } | | } |
| + | |
| | | |
| /* Mark redirects in Special:Allpages and Special:Watchlist | | /* Mark redirects in Special:Allpages and Special:Watchlist |