Difference between revisions of "MediaWiki:Common.css"
From SimsWiki
EllaCharm3d (Talk | contribs) (added guid styling) |
m (Reverted edits by HystericalParoxysm (talk) to last revision by EllaCharm3d) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 134: | Line 134: | ||
} | } | ||
− | .collapseButton { /* 'show'/'hide' buttons created dynamically by the | + | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ |
− | float: right; | + | float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ |
− | font-weight: normal; | + | font-weight: normal; /* are styled here so they can be customised. */ |
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
Line 147: | Line 147: | ||
font-family: "Courier New", monospace; | font-family: "Courier New", monospace; | ||
} | } | ||
− | /* END added | + | /* END added 07/13/12 */ |
+ | |||
+ | /* START added 09/15/12 ella */ | ||
+ | table.MainPageBG { | ||
+ | vertical-align:bottom; | ||
+ | background-color:#f5fffa; | ||
+ | border-spacing:4px; | ||
+ | margin: 1em auto 1em auto; | ||
+ | border:1; | ||
+ | width:90%; | ||
+ | } | ||
+ | |||
+ | table.rabbithole { | ||
+ | border-spacing: 0px; | ||
+ | border-collapse: collapse; | ||
+ | width: 250px; | ||
+ | } | ||
+ | .rabbitholeheader th { | ||
+ | width: 350px; | ||
+ | nowrap: nowrap; | ||
+ | text-align: left; | ||
+ | vertical-align: middle; | ||
+ | padding: 0.2em 0.4em; | ||
+ | border: none; | ||
+ | background: #4a70aa; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | .rabbithole th { | ||
+ | nowrap: nowrap; | ||
+ | padding: 0.2em 0.4em; | ||
+ | border: 2px solid #FFFFFF; | ||
+ | background: #4a70aa; | ||
+ | color: #FFFFFF; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .rabbithole td { | ||
+ | /* text-align: center; */ | ||
+ | padding: 0.5em 1em; | ||
+ | border: 2px solid #FFFFFF; | ||
+ | /* background: #e3f0f7; */ | ||
+ | } | ||
+ | |||
+ | .oddrowcolor { | ||
+ | background:#e3f0f7; | ||
+ | border-right: 2px solid #FFFFFF; | ||
+ | } | ||
+ | .evenrowcolor { | ||
+ | background:#d4e3e5; | ||
+ | border-right: 2px solid #FFFFFF; | ||
+ | } | ||
+ | td.highlight { | ||
+ | color: green; | ||
+ | background-color: #ffffcc; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | /* END added 09/15/12 */ | ||
+ | |||
/* | /* | ||
</pre> | </pre> | ||
*/ | */ |
Latest revision as of 16:10, 14 October 2013
/* <pre> */ #p-googleadsense .pBody { padding: 0 0 0 0; } #disambig { border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; margin-top: 1em; } .messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; text-align: justify; } .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin: 0 0 0.5em 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { text-align: left; vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .subpages { font-size: 1.2em; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } .nicetable { background-color:#f5fffa; border-spacing:4px; /* margin: 1em auto 1em auto; */ } .nicetable th { border:1px solid #407361; background-color: #c9e8e8; font-weight:bold; font-size:1.2em; padding: 3px; } .nicetable td { border:1px solid #b3decf; padding:3px; margin:3px; background-color:#f5fffa; } .nicetable .shaded { background-color:#d9f0f6; } .nicetable .normal { background-color:#f5fffa; } h1, h2, h3 { background:transparent none repeat scroll 0 0; border-bottom:1px solid #AAAAAA; color:black; font-weight:bold; margin:0; padding-bottom:0.17em; padding-top:0.5em; } h4, h5, h6 { background:transparent none repeat scroll 0 0; color:black; font-weight:bold; margin:0; padding-bottom:0.17em; padding-top:0.5em; } h2 { font-size: 1.7em; } h3 { font-size: 1.5em; } h4 { font-size: 1.2em; } /*Collapsibleness*/ table.collapsed tr.collapsable { display: none; } .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; padding-left: 2em; } /* START added 07/13/12 ella */ span.guid { font-family: "Courier New", monospace; } /* END added 07/13/12 */ /* START added 09/15/12 ella */ table.MainPageBG { vertical-align:bottom; background-color:#f5fffa; border-spacing:4px; margin: 1em auto 1em auto; border:1; width:90%; } table.rabbithole { border-spacing: 0px; border-collapse: collapse; width: 250px; } .rabbitholeheader th { width: 350px; nowrap: nowrap; text-align: left; vertical-align: middle; padding: 0.2em 0.4em; border: none; background: #4a70aa; color: #FFFFFF; } .rabbithole th { nowrap: nowrap; padding: 0.2em 0.4em; border: 2px solid #FFFFFF; background: #4a70aa; color: #FFFFFF; text-align: center; } .rabbithole td { /* text-align: center; */ padding: 0.5em 1em; border: 2px solid #FFFFFF; /* background: #e3f0f7; */ } .oddrowcolor { background:#e3f0f7; border-right: 2px solid #FFFFFF; } .evenrowcolor { background:#d4e3e5; border-right: 2px solid #FFFFFF; } td.highlight { color: green; background-color: #ffffcc; font-weight: bold; } /* END added 09/15/12 */ /* </pre> */