MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 50: | Line 50: | ||
.navbox-list {border-color:#fff; /* Must match background color */ | .navbox-list {border-color:#fff; /* Must match background color */ | ||
} | } | ||
.navbox-title, table.navbox th {background:# | .navbox-title, table.navbox th {background:#E0F0FF; /* Level 1 color */ | ||
} | } | ||
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {background:#ddddff; /* Level 2 color */ | .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {background:#ddddff; /* Level 2 color */ |
Revision as of 12:23, 8 August 2009
/* main page customizations - suppress header */
.mainpage h1.firstHeading {display:none !important;}
#mainpage_topbox{border:1px solid #999; margin-bottom:1em;}
#mainpage_pagetitle {
color:#093FB6;
font-size:200% !important;
font-family:Verdana,Arial,Sans-Serif;
line-height:200%;
background-color:#eee;
border-bottom:1px solid #999;
padding:1ex;
}
.mainpage_boxcontents {padding:1em;}
.mainpage_hubtitle {
font-size:140%;
line-height:140%;
font-family:Verdana,Arial,Sans-Serif;
background-color:#eee;
border-bottom:1px solid #999;
padding:6pt 0 6pt 1ex;
}
.mainpage_hubbox {
border:1px solid #999;
padding:0;
width:49%
}
.mainpage_hubbox .floatleft {padding-right:1em;}
.mainpage_hubbox p {margin:0 0 0.5em;}
.mainpage_boxtitle {
border-bottom:1px solid #999;
padding:3pt 6pt;
font-size:120%;
line-height:120%;
font-family:Verdana,Sans-Serif;
background-color:#eee;
}
.mainpage_boxcontents_small {margin:1ex;}
.mainpage_boxcontents_small ul {margin:0;}
/* format navigation boxes */
/* 090401: copied form wikipedia and only superficially adjusted! */
table.navbox {border:1px solid #aaa; width:100%; margin:auto; clear:both; text-align:center; padding:1px; font-size:88%; font-family:Verdana,Sans-Serif;}
table.navbox + table.navbox {
margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th { text-align:center; padding:2pt 1em;}
.navbox-group {white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;}
.navbox, .navbox-subgroup {background:#fff;}
.navbox-list {border-color:#fff; /* Must match background color */
}
.navbox-title, table.navbox th {background:#E0F0FF; /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {background:#ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {background:#e6e6ff; /* Level 3 color */
}
.navbox-even {background:#f7f7f7; /* Even row striping */
}
.navbox-odd {background:transparent; /* Odd row striping */
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */
}