User:Sardanaphalus/monobook.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 is at User:Sardanaphalus/monobook.js. |
/* Keep superscript references from breaking the line-spacing */
/* (from User:Mzajac; to restrict effects to {{tl|ref}} footnotes, */
/* change "sup {" back to ".reference {") */
#bodyContent sup {
font-size: smaller;
vertical-align: baseline;
position: relative;
bottom: 0.5em;
}
/* Fix line-spacing used by "; [heading] : [body]" format */
/* (see bug 8519 at bugzilla.wikipedia.org) */
dt { margin-bottom: 0; }
/* Attempt to fix Navbox list and group styling */
.navbox-group {
white-space:nowrap;
text-align:right;
font-weight:bold;
padding-left:1.0em;
padding-right:1.0em;
padding-top:0.35em;
padding-bottom:0.35em;
line-height:1.1em;
}
.navbox-list {
border-color:#fdfdfd;
padding-top:0.25em !important;
padding-bottom:0.25em !important;
line-height:1.4em;
}
/* [OUTDATED]
Code (amended) from User:Sigma-Epsilon to replace category
category listings' vertical lines with bullets -- edit to use
bold-middots instead?
(http://en.wikipedia.org/w/index.php?title=Wikipedia%3AVillage_pump_%28proposals%29&diff=242646783&oldid=242624779)
addOnloadHook( function (){
var cat_div = document.getElementById('mw-normal-catlinks');
cat_div.innerHTML = cat_div.innerHTML.replace(/\|/g,'•');
});
*/
/* Custom code to change separator between category links at the bottoms
of pages to a bullet / middot
(see https://en.wikipedia.org/w/index.php?title=Template_talk:Hlist&oldid=605585149) */
#catlinks li {
display: inline;
border-left: none;
padding: 0;
}
#catlinks li:first-child { padding-left: 0; }
#catlinks li:before {
font-weight:bold;
content: " · ";
}
#catlinks li:first-child:before { content: ""; }