Järjestelmäviesti:Monobook.css

Wikipediasta
Siirry navigaatioon Siirry hakuun

Huomautus: Selaimen välimuisti pitää tyhjentää asetusten tallentamisen jälkeen, jotta muutokset tulisivat voimaan.

  • Firefox ja Safari: Napsauta Shift-näppäin pohjassa Päivitä, tai paina Ctrl-F5 tai Ctrl-R (⌘-R Macilla)
  • Google Chrome: Paina Ctrl-Shift-R (⌘-Shift-R Macilla)
  • Internet Explorer ja Edge: Napsauta Ctrl-näppäin pohjassa Päivitä tai paina Ctrl-F5
  • Opera: Paina Ctrl-F5.
/* Huomio ylläpitäjät ja ylläpitäjättäret! On olemassa sivu [[MediaWiki:Common.css]], *
 * joka toimii kaikilla ulkoasuilla eikä vain Monobookilla. Testausta voi harjoitella *
 * omalla sivulla. Kiitos ja näkemiin.                                                */

/*
<pre>
*/

/* Merkittyjen versioiden #ca-current -välilehti rikkoo monobookilla ulkoasun joten piilotetaan se. --Zache 7.3.2012 */
#ca-current {
  display:none !important;
}

#p-cactions { left: 11.5em !important; }

.newpage {color:green; font-weight:bold;}
.minoredit {color:gray;}
.minor {color:gray;}

table.diff {
  border: 2px solid #fc6;
}

#readability
.history-user { margin-left:2em; }

/* .voteimage { display:none; } */

#pt-login {
  font-weight: bold;
  font-size: 110%;
}

form#userlogin {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}

form#userlogin table {
  float: left;
  background-color: #ffffe6;
  color: #000;
}

/* BEGIN LIGHT BLUE SECTION
   Make content area light blue in all namespaces except articles (main namespace). 
   This is done by setting the background color for all #content areas 
   to light blue, and then overriding it back to white for any #content 
   enclosed in a .ns-0 (main namespace). We do the same for the "tab" 
   backgrounds and some other objects. */
 
#content,
#p-cactions li a:hover, #p-cactions li.selected a,
#content div.thumb {    /* "Margin" for thumbs, padding for galleries */
    background-color: #F8FCFF;   /* Light blue */
}
#p-cactions li a {
    background-color: #F7F9FB;   /* Light blue-gray inactive tabs */
}
 
.ns-0 #content,
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, 
.ns-0 #content div.thumb {
    background-color: white;     /* Set back to white for articles */
}
.ns-0 #p-cactions li a {
    background-color: #FBFBFB;   /* Light gray inactive tabs in articles */
}
 
/* Category lists and diffs transparent instead of white. */
#mw-subcategories table, #mw-pages table,
table.diff, td.diff-otitle, td.diff-ntitle {
    background-color: transparent;
}
/* END LIGHT BLUE SECTION */

.notification {
border-top: 2px solid #ddd; 
border-bottom:2px solid #ddd;
text-align: justify; 
margin: 1em 0.5em; 
padding: 0.5em;
}

/* Etusivusta valkopohjainen */
body.page-Wikipedia_Etusivu #content,
body.page-Wikipedia_Etusivu #p-cactions li a:hover,
body.page-Wikipedia_Etusivu #p-cactions li.selected a,
body.page-Wikipedia_Etusivu #content div.thumb {
    background: #fff !important;
}

/* Piilottaa otsikot yms. etusivulta */
body.page-Wikipedia_Etusivu #deleteconfirm,
body.page-Wikipedia_Etusivu #t-cite,
body.page-Wikipedia_Etusivu #lastmod, 
body.page-Wikipedia_Etusivu #siteSub, 
body.page-Wikipedia_Etusivu h1.firstHeading {
    display: none !important;
}

/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */

div.topicon {
  position:absolute; 
  z-index:100; 
  top:10px;
  display: block !important;
}

@media print {
    /* Do not print edit link in templates using Template:Ed
       Do not print certain classes that shouldn't appear on paper */
    .editlink, .noprint, .metadata, .dablink { display: none }
    #content { background: #FFFFFF; } /* white background on print */
}

/* 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;
}

#coordinates {  
    position: absolute;
    z-index: 1;
    border: none;
    background: none;
    right: 30px;
    top: 2.3em;
    float: right;
    margin: 0.0em;
    padding: 0.0em;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}

.portlet li {
  list-style-image: url("//upload.wikimedia.org/wikipedia/commons/1/18/Monobook-bullet.png");
}

li.FA {
  list-style-image: url("//upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png") !important;
}

li.GA {
  list-style-image: url("//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png") !important;
}

#mw-dismissable-notice {
  background-color: inherit;
}
/*
</pre>
*/