Jump to content

User:Jredmond/monobook.css

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jredmond (talk | contribs) at 04:41, 12 June 2004 (rm extraneous tags to modify diff text. hooray!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* link prefs */
a { text-decoration: underline; }
a.stub { color: #772233; }

/* rm arrow from external links */
#bodyContent a[href ^="http://"] {
    background:inherit !important;
    padding-right:inherit !important;
}

/* interlanguage links at top; "borrowed" from Lupo */
#content {
    margin-top: 0;
}

#p-cactions {
    position: relative;
    margin-bottom: 0;
    margin-top: 0.5em;
    top: 0;
}

/* Global position is at the top */
#p-lang {
    width: 100%;
    padding:0 0 0 0;
    margin:0;
    position:relative;
    z-index: 2;
    border: none;
    background: none;
    overflow: visible;
    line-height: 1.2em;
}

/* Add padding to skip the side bar */
#p-lang .portlet,
#p-lang .pBody {
    padding-left: 13.2em; /* 12.2 is the width of the side bar, + 1em for the gap */
    margin:0;
    border: none;
    z-index:2;
    overflow: visible;
    background: none;
}

#p-lang h5 {
    display: none;
}

/* The UL shall display as inline */
#p-lang ul {
    display: inline;
    border: none;
    line-height: 1.2em;
    margin: 0;
    text-align: left;
    list-style: none;
    z-index:2;
    background: none;
}

/* Ditto for the LI */
#p-lang li {
    z-index:2;
    border:none;
    padding:0;
    display: inline;
    margin-left: 0.5em;
    line-height: 1.2em;
    background: none;
}

/* I like underlined links, and "teal" is my color for external links */
#p-lang li a {
    text-decoration: underline;
    color: teal;
    background: none;
}

.diffchange {text-decoration:underline;}

/* bottom tab styling (not for IE currently) */
#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: #fabd23;
    padding: 0.2em 0 0 0;
}
#mytabs li a {
    background-color: White;
    color: #0014a6;
    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; }

/* Make all non-namespace pages have a light blue content area. ("Borrowed" from [[User:Lupo]]) */

#content {
    background: #F8FCFF; /* a light blue */
}

.ns-0 * #content {
    background: white;
}

#mytabs li {
    background: #F8FCFF;
}

.ns-0 * #mytabs li {
    background: white;
}

#mytabs li a {
    background-color: #F8FCFF;
}

.ns-0 * #mytabs li a {
    background-color: white;
}

/* For p-cactions (the top "tabs") it works only because my .js moves them into the
   "ns-0" wrapper anyway. */
#p-cactions li {
    background: #F8FCFF;
}

.ns-0 * #p-cactions li {
    background: white;
}

#p-cactions li a {
    background-color: #F8FCFF;
}

.ns-0 * #p-cactions li a {
    background-color: white;
}

/* save paper with very small fonts */
@media print {
    #footer,
    #content,
    body { font-size: 8pt !important; }
    h1 { font-size: 17pt }
    h2 { font-size: 14pt }
    h3 { font-size: 11pt }
    h4 { font-size: 9pt }
    h5 { font-size: 8pt }
    h6 { 
        font-size: 8pt;
        font-weight: normal;
    }
}

/* Transform the user toolbar into a sidebox */
#p-personal {
    position:relative;
    z-index:3;
    width: 11.6em;
}

#p-personal .pBody {
    width: 10.8em;
    border: none;
    margin: 0 0 0.5em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
    border-collapse: collapse;
    border: 1px solid #aaaaaa;
    padding: 0 0.8em 0.3em .5em;
}

#p-personal ul {
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url("/style/monobook/bullet.gif");

    font-size:95%;
    margin: 0.3em 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}

#p-personal li {
    display: list-item;
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0.1em;
}

#p-personal li a {
    text-decoration: underline;
    padding-bottom: 0.2em;
    background: none;
}

/* supress the person icon by your username */
/* needed if not already in place */
li#pt-userpage { background: none }