MediaWiki:Monobook.css: Difference between revisions
From A KoL Wiki
imported>Flargen m recipe table needs to be not quite so close to the section line, I think |
imported>Fig bucket m try and improve how our category lists look on the bottoms of pages |
||
Line 88: | Line 88: | ||
table.recipe tr.row9 { | table.recipe tr.row9 { | ||
background-color: #777777; | background-color: #777777; | ||
} | |||
.catlinks ul { | |||
display: inline; | |||
list-style: none outside none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.catlinks li { | |||
border-left: 1px solid #AAAAAA; | |||
display: inline-block; | |||
line-height: 1.25em; | |||
margin: 0.125em 0; | |||
padding: 0 0.5em; | |||
} | |||
.catlinks li:first-child { | |||
border-left: medium none; | |||
padding-left: 0.25em; | |||
} | |||
#catlinks .catlinks { | |||
border: 0px; | |||
padding: 0px; | |||
} | } | ||
/*</pre>*/ | /*</pre>*/ |
Revision as of 23:54, 18 September 2013
/*<pre>*/ /* For positioning icons at top-right */ div.topicon { position:absolute; z-index:120; top:20px; display: block !important; } /* Infobox template style */ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } /* Recipe table formatting */ table.recipe { text-align: center; border-collapse: collapse; margin-top: 1em; } table.recipe th { border: 2px solid black; background-color: #FFFFFF; padding: 3px; } table.recipe td { border: 2px solid black; padding: 3px; } table.recipe tr.row1 { background-color: #FFFFFF; } table.recipe tr.row2 { background-color: #EEEEEE; } table.recipe tr.row3 { background-color: #DDDDDD; } table.recipe tr.row4 { background-color: #CCCCCC; } table.recipe tr.row5 { background-color: #BBBBBB; } table.recipe tr.row6 { background-color: #AAAAAA; } table.recipe tr.row7 { background-color: #999999; } table.recipe tr.row8 { background-color: #888888; } table.recipe tr.row9 { background-color: #777777; } .catlinks ul { display: inline; list-style: none outside none; margin: 0; padding: 0; } .catlinks li { border-left: 1px solid #AAAAAA; display: inline-block; line-height: 1.25em; margin: 0.125em 0; padding: 0 0.5em; } .catlinks li:first-child { border-left: medium none; padding-left: 0.25em; } #catlinks .catlinks { border: 0px; padding: 0px; } /*</pre>*/