User:JAL/monobook.css: Difference between revisions
< User:JAL
mNo edit summary |
mNo edit summary |
||
| Line 43: | Line 43: | ||
p.note, .note { | p.note, .note { | ||
margin-top: 1.5em; | margin-top: 1.5em; | ||
margin-bottom: 1em; | |||
padding: 5px 5px 5px 10px; | padding: 5px 5px 5px 10px; | ||
border-top: 1px solid #000; | border-top: 1px solid #000; | ||
| Line 51: | Line 52: | ||
div.note p.code { | div.note p.code { | ||
background-color: transparent; | background-color: transparent; | ||
border: 1px; | border-top: 1px solid #000; | ||
border-bottom: 1px solid #000; | |||
white-space: pre; | |||
} | } | ||
Revision as of 22:03, 26 June 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; }
p.note, .note {
margin-top: 1.5em;
margin-bottom: 1em;
padding: 5px 5px 5px 10px;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
}
/* enclose note paragraphs with div class="note" to include a p class="code" as part of the note */
div.note p.code {
background-color: transparent;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
white-space: pre;
}