MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 35: | Line 35: | ||
width: 400px; | width: 400px; | ||
}*/ | }*/ | ||
table.reftoc { | |||
border-collapse: collapse; | |||
empty-cells: show; | |||
} | |||
table.reftoc a { | |||
display: block; | |||
} | |||
table.reftoc td:first-child.reftocsect { | |||
background: #115; | |||
color: #EEF; | |||
font-weight: bold; | |||
border: hidden; | |||
border-left: 2.1px #115 solid; | |||
border-right: 2.1px #115 solid; | |||
text-align: left; | |||
padding-left: 2em; | |||
} | |||
table.reftoc td:first-child.reftocsubsect { | |||
background: white; | |||
color: #115; | |||
font-weight: bold; | |||
border: hidden; | |||
border-left: 2.1px #115 solid; | |||
border-right: 2.1px #115 solid; | |||
text-align: left; | |||
padding-left: 1em; | |||
} | |||
table.reftoc td { | |||
border: 2px white solid; | |||
padding-left: 0.5em; | |||
padding-right: 0.5em; | |||
vertical-align: top; | |||
} | |||
table.reftoc td:first-child { | |||
background: #EEE; | |||
border-left: 2.1px #115 solid; | |||
} | |||
table.reftoc td:first-child + td { | |||
background: #EEF; | |||
} | |||
table.reftoc td:first-child + td + td { | |||
background: #FFE; | |||
border-right: 2.1px #115 solid; | |||
} | |||
/*</pre>*/ | /*</pre>*/ |
Revision as of 17:06, 25 February 2008
/*<pre>*/ /*#toc li { display: inline; }*/ .ns-100 span.tocnumber { display: none; } .ns-100 #toc { float: right; margin-left: 3em; } .ns-100 #toc li { white-space: nowrap; } .fig { float: right; border: 1px solid gray; background: #EEE; } /* dl {display: block; margin-left: 20px; width: 100%; clear: both;} dl:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } dt { display: block; font-weight: bold; width: 200px; padding: 2px; float: left; clear: left; } dd { display: block; float: left; margin: 0; padding: 2px; clear: right; width: 400px; }*/ table.reftoc { border-collapse: collapse; empty-cells: show; } table.reftoc a { display: block; } table.reftoc td:first-child.reftocsect { background: #115; color: #EEF; font-weight: bold; border: hidden; border-left: 2.1px #115 solid; border-right: 2.1px #115 solid; text-align: left; padding-left: 2em; } table.reftoc td:first-child.reftocsubsect { background: white; color: #115; font-weight: bold; border: hidden; border-left: 2.1px #115 solid; border-right: 2.1px #115 solid; text-align: left; padding-left: 1em; } table.reftoc td { border: 2px white solid; padding-left: 0.5em; padding-right: 0.5em; vertical-align: top; } table.reftoc td:first-child { background: #EEE; border-left: 2.1px #115 solid; } table.reftoc td:first-child + td { background: #EEF; } table.reftoc td:first-child + td + td { background: #FFE; border-right: 2.1px #115 solid; } /*</pre>*/