User:Mzajac/monobook.css

From Wikipedia, the free encyclopedia

Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.

/* 
    raw style sheet can be accessed at:
    http://en.wikipedia.org/w/wiki.phtml?title=User:Mzajac/monobook.css&action=raw&ctype=text/css
*/

/* basic font selection: 
    verdana screws up combining accents
    lucida grande has no italics
    arial unicode screws up double combining accents
*/
html>body {
  font-family: lucida grande, arial unicode ms, arial, lucida grande, sans-serif;
  font-size: 10px;
}

/* keep superscripts and subscripts from breaking the line-spacing
    details at [[user:Mzajac/monobook.css/Superscript fix]]
 */
#bodyContent sup {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: 0.33em;
}
#bodyContent sub {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: -0.25em;
}

/* fix edit link alignment (this works for h2, but h3 through h6 each has a different font size) */
div.editsection {
    padding-top: .9em; /* equivalent to the h2's .5em at 150% font size, then multiplied by 1.2 to account for editsection's "smaller" */
}

/* show me the templates */
.IPA { /* Template:IPA */
   color: #004C00;
}
.polytonic, /* Template:Polytonic */
span[lang|="grc"] {
    color: #000066; 
}
.Unicode {
    color: #4C0000;
}

/* hide non-functional edit-field cruft */
#editpage-specialchars, 
#editpage-copywarn2 { 
    display: none;
}

/* inline list of templates */
.templatesUsed ul, 
.templatesUsed li {
    font-size: smaller; 
    display: inline;
    margin: 0;
    padding: 0;
}
.templatesUsed ul li:before {
    content: "\A0\B7\20"; /* nbsp, centre dot, space */
}
.templatesUsed ul li:first-child:before {
    content: "\A0";
}


/* highlight a targeted reference, or back-linked citation */
ol.references > li:target, /* cite.php */
sup.reference:target,  /* cite.php */
cite[id|="Reference"]:target /* template:wikicite */
{
    background-color: #ff9;
}

/* after User:AnĂ¡rian/monobook.css */

/* Dotted borders on pre look ugly, replace with a solid one */
/* put scrollbar on pre sections instead of ugly cutoff/overlap */
#bodyContent pre { 
    border: transparent;
    background-color:#fff;
    white-space:pre-wrap; /* for newest browsers, wrap it */
    overflow:auto;              /* for others, add a scroll bar    */
}

/* bottom tab styling */
#mytabs {
    margin: -0.3em 0 0  11.5em;
    white-space:nowrap;
    line-height: 1.1em;
    overflow: visible;
    border-collapse: collapse;
    padding: 0 0 0 1em;
    list-style: none;
    font-size: 95%;
}
#mytabs .hiddenStructure { display: none; }
#mytabs li {
    display: inline;
    border: 1px solid #aaaaaa;
    border-top: none;
    padding: 0.1em 0 0 0;
    margin: 0 0.3em 0 0;
    overflow: visible;
    background: White;
}
#mytabs li.selected {
    border-color: #aaa;
    padding: 0.2em 0 0 0;
}
#mytabs li a {
    background-color: White;
    color: #005189;
    border: none;
    padding: 0.3em 0.8em 0 0.8em;
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    margin: 0;
}
#mytabs li.selected a { z-index: 3; }
#mytabs .new a { color:#ba0000; }
#mytabs li a:hover {
    z-index: 3;
    text-decoration: none;
}
#mytabs h5 { display: none; }
#mytabs li.istalk { margin-right: 0; }
#mytabs li.istalk a { padding-right: 0.5em; }
#mytabs-ca-addsection a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}
/* offsets to distinguish the tab groups */
li#mytabs-ca-talk { margin-right: 1.6em; }
li#mytabs-ca-watch { margin-left: 1.6em; }


/* Eliminate yellow colour everywhere in borders */
#p-cactions li.selected {
    border-color: #aaa;
}
/* Make the footer as wide as the content box, and change colour */
#footer {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #aaa;
    margin: 0.6em 0em 1em 155px;
}
/* Dont need this copyright notice on every page */
li#f-copyright,
li#f-lastmod,
#editpage-copywarn { display: none; }

/* put a yellow N on recent changes */
#newarticlemark {background-color:yellow;}

/* hide "patrolled" marker */
.unpatrolled {display: none;}