User:Finlay McWalter/standard.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.
/* 
 * Finlay McWalter's standard.css
 * Licenced under the GFDL
 * By Finlay McWalter, ripping stuff off from Lejuf and Eequor.
 */

body
{
   color:      #022;
   background: #eee url("http://upload.wikimedia.org/wikipedia/commons/9/9f/Wfm_headbg.jpg") 0px 0px no-repeat;
}

/* the "top" table is the stuff inside topbar, where search, go, disclaimers, etc. live */
td.top { 
  border-bottom: none;
}

/* rm the line over the bottom bar */
td.bottom { 
  border: none;
}

p.subtitle {
  border: none;
}

div.editsection
{
   clear: left;
}

div#article
{
   padding-top:    3px;
   padding-left:   8px;
   padding-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 
{
   position: relative;
   clear: left;
   left: -8px;
   padding-left: 8px;
   padding-bottom: 1px;
   margin-bottom: 0px;
   overflow: hidden;
   line-height: 2em;
   border-bottom: 0 !important;
}

h1.pagetitle {
  padding-bottom: 0;
}

h1 {
   color: #000;
}

h2
{
   color: #103;
}

h3
{
   color: #206;
}

h4
{
   color: #309;
}

h5
{
   color: #40c;
}

h6
{
   color: #50f;
}

pre
{
   border: none;
   padding: 8px;
   margin: 1em;
   overflow: auto;
   display: table;
   clear: left;
   background: #ddd;
}

pre.raw
{
   border: none !important;
   padding: 0 !important;
   margin: auto !important;
   display: normal !important;
   clear: none !important;
   background: #ddd;
}

#quickbar
{
   border-right: none !important;
}

/* Table of contents */
#toc {
  border:            1px solid #888;
  background-color:  #ddd;
  padding:           3px;
  font-size:         80%;
  color:             #eee;
}

/* DIV around image thumbnails */
div.thumb div {
    border:           1px solid #888;
    padding:          3px !important;
    background-color: #ddd;
    font-size:        90%;
}

/* Textarea */
textarea { background : #ddd; } 

/* Make the separator in the left side menubar invisible, just a largeish gap */
hr.sep {
  border: 0; 
  margin-top: 10px;
  width: 0%;
}

/* Fix classics HORRID difference with monobook, where images stack horizontally rather than vertically */
div.tright {
  clear: right;
}


/*********************************************************************** 
   Finlay McWalter's hacky code for rescaling image block.
 ***********************************************************************/
.rescaling_image {
  width:100% !important;
}

.rescaling_image div.tright {
  width: 100% !important;
  height: auto !important;
}

.rescaling_image .thumbinner {
  width: 100% !important;
  height: auto !important;
}

.rescaling_image  .thumbinner .image {
  width: 100% !important;
  height: auto !important;
}

.rescaling_image  .thumbinner .image .thumbimage{
  width: 100% !important;
  height: auto !important;
}
/*********************************************************************** 
   end of rescaling image block.
 ***********************************************************************/