MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary Tag: Manual revert |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* EvoLudo labs formatting */ | |||
.evoludo-simulation {margin:1em auto;} | |||
.dataview th {width:30%; text-align:end; padding-right:1em;} | |||
/* header styles */ | |||
.mw-body h1, .mw-body h2, .mw-body h3 { | |||
font-family: Verdana,Arial,sans-serif; | |||
font-weight: bold; | |||
} | |||
.mw-body h1.firstHeading { | |||
font-size: 2.2em; | |||
border-bottom: solid 4px #1414AA; | |||
} | |||
.mw-body h2 { | |||
font-size: 1.4em; | |||
border-bottom: solid 2px #1414AA; | |||
} | |||
.mw-body h3 { | |||
font-size: 1.2em; | |||
} | |||
/* main page customizations - suppress header */ | /* main page customizations - suppress header */ | ||
.mainpage_boxcontents h3 { | |||
body.page- | margin-top: 0; | ||
#mainpage_topbox{ | } | ||
body.page-EvoLudo h1.firstHeading { display:none; } | |||
#mainpage_topbox{margin-bottom:1em;} | |||
#mainpage_pagetitle { | #mainpage_pagetitle { | ||
color:# | color:#000999; | ||
font-size: | font-size:300% !important; | ||
font-family:Verdana,Arial, | font-family:Verdana,Arial,sans-serif; | ||
line-height:100%; | line-height:100%; | ||
padding: | padding:1ex; | ||
text-align:center; | text-align:center; | ||
} | } | ||
Line 15: | Line 37: | ||
font-size:140%; | font-size:140%; | ||
line-height:140%; | line-height:140%; | ||
font-family:Verdana,Arial, | font-family:Verdana,Arial,sans-serif; | ||
border-bottom:1px solid #000999; | |||
} | } | ||
.mainpage_hubbox { | .mainpage_hubbox { | ||
Line 32: | Line 52: | ||
font-size:120%; | font-size:120%; | ||
line-height:120%; | line-height:120%; | ||
font-family:Verdana, | font-family:Verdana,Arial,sans-serif; | ||
background-color:#eee; | background-color:#eee; | ||
} | } | ||
.mainpage_boxcontents_small {margin:1ex;} | .mainpage_boxcontents_small {margin:1ex;} | ||
.mainpage_boxcontents_small ul {margin:0;} | .mainpage_boxcontents_small ul {margin:0;} | ||
/* set size of logo to fit container */ | |||
.mw-wiki-logo { | |||
background-size: contain; | |||
} | |||
/* format navigation boxes */ | /* format navigation boxes */ | ||
/* 090401: copied form wikipedia and only superficially adjusted! */ | /* 090401: copied form wikipedia and only superficially adjusted! */ | ||
Line 49: | Line 72: | ||
.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:#999; /* Level 1 color */ | ||
} | } | ||
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {background:# | .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-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {background:#e6e6ff; /* Level 3 color */ |
Latest revision as of 16:31, 7 August 2024
/* EvoLudo labs formatting */
.evoludo-simulation {margin:1em auto;}
.dataview th {width:30%; text-align:end; padding-right:1em;}
/* header styles */
.mw-body h1, .mw-body h2, .mw-body h3 {
font-family: Verdana,Arial,sans-serif;
font-weight: bold;
}
.mw-body h1.firstHeading {
font-size: 2.2em;
border-bottom: solid 4px #1414AA;
}
.mw-body h2 {
font-size: 1.4em;
border-bottom: solid 2px #1414AA;
}
.mw-body h3 {
font-size: 1.2em;
}
/* main page customizations - suppress header */
.mainpage_boxcontents h3 {
margin-top: 0;
}
body.page-EvoLudo h1.firstHeading { display:none; }
#mainpage_topbox{margin-bottom:1em;}
#mainpage_pagetitle {
color:#000999;
font-size:300% !important;
font-family:Verdana,Arial,sans-serif;
line-height:100%;
padding:1ex;
text-align:center;
}
.mainpage_boxcontents {padding:1em;}
.mainpage_hubtitle {
font-size:140%;
line-height:140%;
font-family:Verdana,Arial,sans-serif;
border-bottom:1px solid #000999;
}
.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,Arial,sans-serif;
background-color:#eee;
}
.mainpage_boxcontents_small {margin:1ex;}
.mainpage_boxcontents_small ul {margin:0;}
/* set size of logo to fit container */
.mw-wiki-logo {
background-size: contain;
}
/* 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:#999; /* 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. */
}