MediaWiki talk:Common.css
Notes and references
Could we have the following code included in the css for handling notes references the same way as Wikipedia? I wouldn't know where to put it and might break something. This is copied off W:MediaWiki:Common.css --Milan 00:18, 15 September 2008 (NZST)
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ /* column-count is from the CSS3 module "CSS Multi-column Layout" */ /* Please ignore any validator errors caused by these two lines */ .references-2column {
font-size: 90%; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2;
}
.same-bg { background: none; }
/* Highlight clicked reference in blue to help navigation */ ol.references > li:target {
background-color: #DEF;
}
sup.reference:target {
background-color: #DEF;
}
/* Styling for citations */ cite {
font-style: normal; word-wrap: break-word;
}
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */ cite:target {
background-color: #DEF;
}
/* Do not expand URLs within citations for printing. The URLs should be included explicitly, to avoid confusion */
@media print {
#content cite a.external.text:after { display: none; }
}
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
@media screen, handheld, projection {
cite *.printonly { display: none; }
}