Järjestelmäviesti:Common.css

Wikikirjastosta

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.
/* Common CSS for all skins */

/* Notice to Administrators!  Any changes to Monobook.css or Common.css should be first proposed to [[Wikikirjasto:Kahvihuone]].  Thank you. */
/*<pre><nowiki>*/

/**/

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/**************************/
/* Infobox template style */
/**************************/
 
.infobox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}
 
.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}
 
@media print {
    .infobox.sisterproject {
        display: none;
    }
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaa;
   border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaa;
}
 
 
/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
 
.infobox.geography {
   border: 1px solid #ccd2d9;
   text-align: left;
   border-collapse: collapse;
   line-height: 1.2em; 
   font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
   border-top: solid 1px #ccd2d9;
   padding: 0.4em 0.2em 0.4em 0.8em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
   border-top: solid 1px #ccd2d9;
   padding: 0.4em 0.2em 0.2em 0.8em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
      border: 0;
      padding: 0 0.2em 0.2em 0.8em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
   border-top: 0;
   border-bottom: solid 1px #ccd2d9;
   padding: 0 0.2em 0.4em 0.8em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
      border: 0;
      padding: 0 0 0 0;
}
 
/*</nowiki></pre>*/

/***************************************/
/* Article message box template styles */
/* Malline:Viestipohja-tyylit          */
/***************************************/

table.ambox {
  margin: 0 10%;                         /* Will not overlap with other elements */
  border-collapse: collapse; 
  background: #fbfbfb; 
  border: 1px solid #aaa; 
  border-left: 10px solid #1e90ff;       /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
  padding: 0.25em 0.5em;              /* 0.5em left/right */
  width: 100%;                        /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
  padding: 2px 0px 2px 0.5em;         /* 0.5em left, 0px right */
  text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
  padding: 2px 4px 2px 0px;           /* 0px left, 4px right */
  text-align: center; 
}
table.ambox-notice {
  border-left: 10px solid #1e90ff;       /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
  border-left: 10px solid #b22222;       /* Red */
}
table.ambox-content {
  border-left: 10px solid #f28500;       /* Orange */
}
table.ambox-style {
  border-left: 10px solid #f4c430;       /* Yellow */
}
table.ambox-merge {
  border-left: 10px solid #9932cc;       /* Purple */
}
table.ambox-protection {
  border-left: 10px solid #bba;          /* Gray */
}
table.ambox.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}

 /* class="noprint" piiloon tulostettaessa */
@media print {
    .noprint {
        display: none;
    }
}

 /* DynamicNavigation aka box hiding from .de. */
 
 div.Boxmerge,
 div.NavFrame,
 .collapsible:not([id|=ca]) {
   margin: 0px;
   border: 1px solid #aaaaaa;
   border-collapse: collapse;
   text-align: center;
   font-size: 95%;
 }
 
 div.Boxmerge div.NavFrame { border: 0px; }
 div.NavFrame + div.NavFrame,
 .collapsible + .collapsible:not([id|=ca]) { border-top: 0px; }
 
 div.NavPic {
   margin: 0px;
   padding: 2px;
   float: left;
 }
 div.NavFrame div.NavHead,
 .collapsible .title,
 .collapsible th {
   position:relative;
   padding:0.2em;
   font-weight: bold;
   font-size: 95%;
   background-color: #ccccff;
 }
 
 div.NavFrame div.NavHead:hover,
 .collapsible .title:hover,
 .collapsible th:hover { background-color: #aaaaff; }
 
 div.NavFrame div.NavHead .navigation,
 .collapsible .title .navigation,
 .collapsible th .navigation
 {
   position:absolute;
   cursor:pointer;
   top:0px;
   right:3px;
   font-weight:normal;
   font-size:smaller;
   padding-left:1em;
 }
 div.NavFrame p,
 div.NavFrame div.NavHead a,
 div.NavFrame div.NavContent,
 div.NavFrame div.NavContent p
 {
   font-size: 100%;
 }

/*
mw-collapsible-custom  tekee sivun alussa olevasta navigaatiomenusta 
avattavan ja suljettavan siten, että se on mobiililaitteissa 
vakiona kiinni.

-- 3.2.2018 Zache / Kimmo Virtanen
*/

.mw-collapsible-custom .buttonindicator {
	float: right;
	margin: 0.15em 0.3em 0 0.3em;
	font-size: smaller;
	font-weight:300;
}

.mw-collapsible-custom caption {
	margin-right:0px !important;
	padding-left:0.3em;	
}

.mw-collapsible-custom  .selflink {
	font-weight:600;
}

.mw-collapsible-custom.mw-collapsed caption {
    display:block;
    background-color: #f8f9fa ;
    min-width:8em;
}

@media screen and (max-width: 1200px) {
	.mw-collapsible-custom tbody {
		display:none;
	}
	.mw-collapsible-custom.mw-collapsed caption {
	    background-color: inherit ;
	}	
}

/*
wikiloikkaheaderlist
*/

div.wikiloikkaheaderlist ul {
	margin-top:1em;	
	margin-bottom:1.1em;	
	margin-left:3%;
}
div.wikiloikkaheaderlist li {
    margin-bottom: 0.75em;
}

.topicon { position:absolute; display:none; }
#page-status { position:relative; float:right; left:1.5em; margin-right:1.5em; height:1em; }
#protected-icon { right:35px; }
#status-icon { right:5px; }