Difference between revisions of "MediaWiki talk:Common.css"
(Created page with "/* CSS placed here will be applied to all skins */ /* <source lang="css"> */ →Main page fixes: #interwiki-completelist { font-weight: bold; } body.page-Main_Page #ca...") |
(No difference)
|
Revision as of 11:53, 3 March 2012
/* CSS placed here will be applied to all skins */ /* <source lang="css"> */
/* Main page fixes */
- interwiki-completelist {
font-weight: bold;
} body.page-Main_Page #ca-delete {
display: none !important;
}
body.page-Main_Page #mp-topbanner {
clear: both;
}
/* Edit window toolbar */
- toolbar {
height: 22px; margin-bottom: 6px;
}
/* Margins for- and
- content ol, #content ul,
- mw_content ol, #mw_content ul {
- /
- /
- bodyContent a[href$=".pdf"].external,
- bodyContent a[href*=".pdf?"].external,
- bodyContent a[href*=".pdf#"].external,
- bodyContent a[href$=".PDF"].external,
- bodyContent a[href*=".PDF?"].external,
- bodyContent a[href*=".PDF#"].external,
- mw_content a[href$=".pdf"].external,
- mw_content a[href*=".pdf?"].external,
- mw_content a[href*=".pdf#"].external,
- mw_content a[href$=".PDF"].external,
- mw_content a[href*=".PDF?"].external,
- mw_content a[href*=".PDF#"].external {
- bodyContent span.PDFlink a,
- mw_content span.PDFlink a {
- bodyContent .plainlinks a {
- /
- /
- /
- wpSave {
- /
- /
- wpUploadDescription {
- content .gallerybox div.thumb {
- file img {
- mw-subcategories, #mw-pages, #mw-category-media,
- filehistory, #wikiPreview, #wikiDiff {
- */
the ToC will display without numbers */
.nonumtoc .tocnumber { display: none; } .nonumtoc #toc ul, .nonumtoc .toc ul {
line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0;
} .nonumtoc #toc ul ul, .nonumtoc .toc ul ul {
margin: 0 0 0 2em;
}
/* Allow limiting of which header levels are shown in a TOC;
showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-2, .toclimit-3 .toclevel-3, .toclimit-4 .toclevel-4, .toclimit-5 .toclevel-5, .toclimit-6 .toclevel-6, .toclimit-7 .toclevel-7 { display: none; }
/* Styling for Template:Quote */ blockquote.templatequote {
margin-top: 0;
} blockquote.templatequote div.templatequotecite {
line-height: 1em; text-align: left; padding-left: 2em; margin-top: 0;
} blockquote.templatequote div.templatequotecite cite {
font-size: 85%;
}
div.user-block {
padding: 5px; border: 1px solid #A9A9A9; background-color: #FFEFD5;
}
/* Prevent line breaks in silly places:
1) links when we don't want them to 2) HTML formulae 3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
.nowraplinks a, span.texhtml, sup.reference a { white-space: nowrap; }
/* For template documentation */ .template-documentation {
clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px;
}
.thumbinner {
min-width: 100px;
}
/* Inline divs in ImageMaps (code borrowed from de.wiki) */ .imagemap-inline div {
display: inline;
}
/* Increase the height of the image upload box */
height: 13em;
}
/* Reduce line-height for and */ sup, sub {
line-height: 1em;
}
/* The backgrounds for galleries. */
background-color: #F9F9F9; /* Light gray padding */
} /* Put a chequered background behind images, only visible if they have transparency */ .gallerybox .thumb img,
background: white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
} /* But no chequered background on articles, user pages or portals. */ .ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img {
background: white;
}
/* Prevent floating boxes from overlapping any category listings,
file histories, edit previews, and edit [Show changes] views */
clear: both;
}
/* Selectively hide headers in WikiProject banners */ .wpb .wpb-header { display: none; } .wpbs-inner .wpb .wpb-header { display: block; } /* for IE */ .wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */ .wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
/* </source> */