User:JAL/monobook.css: Difference between revisions
< User:JAL
mNo edit summary |
mNo edit summary |
||
(141 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* make Sidebar wider (to view change in Firefox: hold Shift while clicking Reload) */ | /* make Sidebar wider (to view change in Firefox: hold Shift while clicking Reload) */ | ||
#column-content { margin-left: -13.9em } | /* now added to MediaWiki:common.css -- needed for Firefox more than for IE or Chrome */ | ||
#column-content #content { margin-left: 13.9em } | /* #column-content { margin-left: -13.9em } */ | ||
#p-logo a, #p-logo a:hover { width: 13.9em } | /* #column-content #content { margin-left: 13.9em } */ | ||
.portlet { width: 12.9em } | /* #p-logo a, #p-logo a:hover { width: 13.9em } */ | ||
#p-cactions { left: 12.9em } | /* .portlet { width: 12.9em } */ | ||
/* div#column-content { margin-left: - | /* #p-cactions { left: 12.9em } */ | ||
div#content { margin-left: | /* div#column-content { margin-left: -13.9em } */ | ||
/* div#content { margin-left: 13.9em } */ | |||
/** | |||
* Allow limiting of which header levels are shown in a TOC; | |||
* <div class="toclimit-3">, for instance, will limit to | |||
* showing ==headings== and ===headings=== but no further. | |||
* Used in [[Template:TOC]] | |||
*/ | |||
.toclimit-2 .toclevel-1 ul, | |||
.toclimit-3 .toclevel-2 ul, | |||
.toclimit-4 .toclevel-3 ul, | |||
.toclimit-5 .toclevel-4 ul, | |||
.toclimit-6 .toclevel-5 ul, | |||
.toclimit-7 .toclevel-6 ul { | |||
display: none; | |||
} | |||
/* deprecated until further notice */ | |||
.caption { | |||
color: black; | |||
font-size: 110%; | |||
font-weight: bold; | |||
text-align: center; | |||
line-height: 100%; | |||
margin-left: 5em; | |||
margin-right: 5em; | |||
margin-top: 1em; | |||
margin-bottom: 1em; | |||
} | |||
.mw-collapsible span.mw-collapsible-toggle { float: left; } | |||
/* enclose non-single-paragraph Cautions & Warnings with <blockquote class="warn">; otherwise, use <p class="warn"> */ | |||
.warn { | |||
margin-left: 20px; | |||
margin-right: 60px; | |||
text-align: justify; | |||
border-top: 1px solid #000; | |||
border-bottom: 1px solid #000; | |||
padding: 5px 5px 5px 10px; | |||
} | |||
/* enclose non-single-paragraph Notes with <blockquote class="note">; otherwise, use <p class="note"> */ | |||
.note { | |||
margin-left: 15px; | |||
margin-right: 30px; | |||
border: none; | |||
padding: 0px; | |||
} | |||
li *.note, td *.note, th *.note { | |||
margin-left: 10px; | |||
margin-right: 30px; | |||
border: none; | |||
padding: 0px; | |||
} | |||
/* to drop background shade when <p class="code"> is part of the note */ | |||
/* .note p.code { */ | |||
/* background-color: transparent; */ | |||
/* border-top: 1px solid #000; */ | |||
/* border-bottom: 1px solid #000; */ | |||
/* } */ | |||
/* for GUI/wiki controls */ | |||
tt { | |||
font-size:110%; | |||
} |
Latest revision as of 19:19, 30 August 2013
/* make Sidebar wider (to view change in Firefox: hold Shift while clicking Reload) */ /* now added to MediaWiki:common.css -- needed for Firefox more than for IE or Chrome */ /* #column-content { margin-left: -13.9em } */ /* #column-content #content { margin-left: 13.9em } */ /* #p-logo a, #p-logo a:hover { width: 13.9em } */ /* .portlet { width: 12.9em } */ /* #p-cactions { left: 12.9em } */ /* div#column-content { margin-left: -13.9em } */ /* div#content { margin-left: 13.9em } */ /** * Allow limiting of which header levels are shown in a TOC; * <div class="toclimit-3">, for instance, will limit to * showing ==headings== and ===headings=== but no further. * Used in [[Template:TOC]] */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } /* deprecated until further notice */ .caption { color: black; font-size: 110%; font-weight: bold; text-align: center; line-height: 100%; margin-left: 5em; margin-right: 5em; margin-top: 1em; margin-bottom: 1em; } .mw-collapsible span.mw-collapsible-toggle { float: left; } /* enclose non-single-paragraph Cautions & Warnings with <blockquote class="warn">; otherwise, use <p class="warn"> */ .warn { margin-left: 20px; margin-right: 60px; text-align: justify; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 5px 5px 10px; } /* enclose non-single-paragraph Notes with <blockquote class="note">; otherwise, use <p class="note"> */ .note { margin-left: 15px; margin-right: 30px; border: none; padding: 0px; } li *.note, td *.note, th *.note { margin-left: 10px; margin-right: 30px; border: none; padding: 0px; } /* to drop background shade when <p class="code"> is part of the note */ /* .note p.code { */ /* background-color: transparent; */ /* border-top: 1px solid #000; */ /* border-bottom: 1px solid #000; */ /* } */ /* for GUI/wiki controls */ tt { font-size:110%; }