Jump to content

User:Tillwe/monobook.css

From Wikipedia, the free encyclopedia
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.
/* some adjustments to the uuggllyy monobook style */

/******************************************************************/
/* Standard fonts with serifs on light grayish background         */
/*                                                                */
/* v 0.13 - yellowish background for special pages                */
/* v 0.12 - 05.06.2004 - text decoration changed                  */
/* v 0.11 - 01.06.2004                           [[User:Tillwe]]  */
/******************************************************************/

a {
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
}

#content {
    color:#000000;
    font: x-small Times,"Times New Roman",serif;
    font-size:123%;
    margin: 2.3em 1.0em 0 10.5em;  /* top right bottom left */
    border-right: 1px solid #aaaaaa;
}

h1, h2, h3, h4, h5, h6 {
    color: Black;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    margin: 0 6.5em 0 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
    border-bottom: 1px solid #aaaaaa;
}
h1 { font-size: 160%; }
h2 { font-size: 132%; }
h3, h4, h5, h6 { 
    border-bottom: none;
}
h3 { font-size: 116%; }
h4 { font-size: 100%; }
h5 { font-size: 80%; }
h6 { font-size: 60%;  }

hr {
    height: 1px;
    color: #aaaaaa;
    background-color: #aaaaaa;
    border: 0;
    margin: 0.2em 8.5em 0.2em 0;
}

p {
    margin: 0.4em 8.5em 0.7em 0em;
    line-height: 1.25em;
    font-size:110%;
}

ol, ul {
    margin: 0.3em 8.5em 0 1.5em;
}

td, td p  {
  margin: 0.1em 0.1em 0.1em 0.1em;
}

td ol, td ul {
   margin: 0.1em 0.1em 0.1em 1.5em;
}


dd {
    line-height: 1.25em;
    font-size:110%;
    margin: 0.4em 8.5em 0.7em 2em;
}

dl {
   font-size:91%
}

dd dl dd {
    line-height: 1.25em;
    margin: 0.4em 0em 0.7em 2em;
}

pre { 
  font-size:90%; 
  margin: 0.4em 8.5em 0.7em 0em;
}

#bodyContent h1,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5 {
    margin-bottom:0.0em;
}
.firstHeading { margin-bottom:0.1em; }

#toc { 
    font-family: Helvetica, Arial, sans-serif;
}
#toc .tocline { margin-bottom: 0.2em; }
#toc .tocindent{ font-size:90% }

/* correcting problems with nav and toolbox */

#p-nav .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-nav 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-tb .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-tb 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-lang .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-lang 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;
}



/******************************************************************/
/* Better link colors                                             */
/******************************************************************/

/* standard link colors */ 

a { color: #0000FF; } 
a:visited { color: #7F007F; } 
a:active, a.new { color: #FF0000; } 
a.interwiki, a.external { color: #3366BB; } 
a.stub { color: #772233; } 



/******************************************************************/
/* Transform the user toolbar into a sidebox (by [[User:Cyrius]]) */
/******************************************************************/
#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;
}

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


/******************************************************************/
/* moving catlinks to the right                                   */
/******************************************************************/

#catlinks {
  position:absolute;
  z-index:1;
  border: 1px solid #aaaaaa; 
  background: #fafaff; 
  right:-0.25em;
  top:-0.25em;
  width:10.5em;
  float:right;
  margin: 0.2em;
  padding:0.2em;
}

p.catlinks {
  color: #aaaaaa;
  font-family: Verdana,sans-serif;
  font-size:67%;
  line-height: 1.5em;
  text-align:left;
  text-indent:0;
  text-transform: none;
  white-space:normal;
  margin: 0.2em;
}

p.catlinks a {
  color:#888888;
}

/**************************************************/
/* divfloatleft/right with transparent background */

div.floatleft, div.floatright {
 border-color:transparent;
}

/* bugfix for image error in mozilla */
#siteSub {
   display: block;
 }

/***************************************************************************/
/* yellowish special pages (from Mediawik:monobook.css, but color changed) */
/***************************************************************************/

/* Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 (main namespace). I then do the same for the "tab" background colors. --Lupo */

   1. content {

    background: #ffffdd; /* a light yellow */

}

.ns-0 * #content {

    background:  #fefefc; /* pastel white */

}

   1. mytabs li {

    background: #ffffdd; 

}

.ns-0 * #mytabs li {

    background: #fefefc; 

}

   1. mytabs li a {

    background-color: #ffffdd; 

}

.ns-0 * #mytabs li a {

    background-color: #fefefc; 

}

/* For p-cactions (the top "tabs") it works only because my .js moves them into the

   "ns-0" wrapper anyway. */

   1. p-cactions li {

    background: #ffffdd; 

}

.ns-0 * #p-cactions li {

    background: #fefefc; 

}

   1. p-cactions li a {

    background-color: #ffffdd; 

}

.ns-0 * #p-cactions li a {

    background-color: #fefefc; 

}