User:Ifatbrain/vector.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .js page for this skin can be added at User:Ifatbrain/vector.js. |
/* <source lang="css"> */
@media print {
#toc { display: none !important; }
body { width: 100% !important; font: 10pt/1.3em 'times new roman' !important; }
p { font: 10pt/1.3em 'times new roman' !important; text-align: justify; }
#catlinks, #siteSub, .thumbcaption { font: normal 9pt/1.3em 'times new roman' !important; }
h1 { font: bold 14pt/1.3em 'times new roman' !important; }
h2 { font: bold 12pt/1.3em 'times new roman' !important; }
h3 { font: bold 11pt/1.3em 'times new roman' !important; }
#footer { display: none !important; }
.printfooter { font: normal 10pt/1.3em 'times new roman' !important; }
.gallerybox { margin: 2px !important; }
.ns-0 .ambox,
.ns-0 .navbox,
.ns-0 .infobox.sisterproject,
.ns-0 .dablink,
.ns-0 .metadata,
#filetoc,
#footer-places,
.editlink,
span.collapseButton, a.NavToggle,
.noprint {
display: none;
}
/* Add formatting to make sure that "external references" from templates
like [[Template:Ref]] do not get URL expansion, not even when printed.
The anchor itself has class "external autonumber" and the url expansion
is inserted when printing (see the common printing style sheet at
http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the
":after" pseudo-element of CSS. Also hide in <cite> elements.
*/
#content cite a.external.text:after,
.nourlexpansion a.external.text:after,
.nourlexpansion a.external.autonumber:after {
display: none !important;
}
/* Uncollapse collapsible tables/divs.
The proper way to do this for tables is to use display:table-row,
but this is not supported by all browsers, so use display:block as fallback.
*/
table.collapsible tr, div.NavPic, div.NavContent {
display: block !important;
}
table.collapsible tr {
display: table-row !important;
}
/* Hiding some items when printing with Simple skin */
.skin-simple div#column-one,
.skin-simple div#f-poweredbyico,
.skin-simple div#f-copyrightico,
.skin-simple .editsection {
display: none;
}
/* wikitable class for skinning normal tables */
table.wikitable {
margin: 1em 1em 1em 0;
border: 1px #aaa solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th {
text-align: center;
background: #F2F2F2;
font-weight: bold;
}
.wikitable caption {
font-weight: bold;
}
/* On websites with siteSub visible, the margin on the firstHeading is not needed. */
#firstHeading {
margin: 0px;
}
img, td { page-break-inside: avoid; }
/* Remove once r76522 is live */
.wikitable, .thumb {
page-break-inside: avoid;
}
h2, h3, h4, h5, h6, h7 {
page-break-after: avoid;
}
p {
widows: 3;
orphans: 3;
}
}
@media screen {
@import url('http://bits.wikimedia.org/skins-1.5/vector/main-ltr.css?283-10');
}
/* </source> */