Järjestelmäviesti:Common.css

Wikiaineistosta

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.
/* Tämä sivu sisältää koko sivustoa muuttavia tyylejä. */

/* Mallineessa Malline:inline-lista käytettävä tyyli. */
.hlist > ul > li {
        display: inline;
}

/* de-wikisource "zeilennummer", kts. Malline:Rn */
.rivinumero {
        position:absolute; 
        top:0em;  
        left:-5.5em; 
        width:5.0em;  
        text-align:right; 
        margin:0.0em; 
        font-size:0.8em; 
        vertical-align:middle;
}

.poem { 
        margin-bottom: 0em; 
        margin-top: 0em; 
       line-height: 1.6em;
       margin-left: 2.5em;
}

.poem p { 
       margin-top: 0em; 
       margin-bottom: 0em; 
}
.poem .zeilennummer { 
        left:-5.5em; 
}

/* Article message box template styles */
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%;
}

/* Keskitetty teksti */
.text_center {
  width: 33em;
  text-align: justify;
  margin:0px auto;
}
.text_center p {
  text-indent: 2em;
}
.text_center pre {
  background-color: #ffffff;
  font-family: sans-serif;
  line-height: 150%;
  border: 0px;
  padding-left: 2em;
  margin: 0;
  white-space: pre;
}

.quality4 { background-color: #90ff90; }
.quality3 { background-color: #ffe867; }
.quality2 { background-color: #b0b0ff; }
.quality1 { background-color: #ffa0a0; }
.quality0 { background-color: #ddd; }

/*****************/
/* Lähteet-lista */
/*****************/

/* make the list of references look smaller */
ol.references {
   font-size: 90%;
}

.references-small { font-size: 90%;}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
  font-size: 90%;
  -moz-column-count:2;
  column-count:2;
}

/* Highlight clicked reference in blue to help navigation */
 
ol.references > li:target {
 background-color: #DEF;
}
 
sup.reference:target { 
  background-color: #DEF;
}

/* T156351: Support for Parsoid's Cite implementation */
span[ rel="mw:referencedBy" ] {
    counter-reset: mw-ref-linkback 0;
}
span[ rel="mw:referencedBy" ] > a::before {
    font-style: italic;
    content: counter( mw-ref-linkback, lower-alpha );
}

/* Highlight data points in the info action if specified in the URL */
body.action-info :target {
    background: #DEF;
}

/* [[Malline:Lähde/kohta]]] ja [[Malline:Lähde/sivu]]n käyttämät tyylit. */
.reunahuomautus-vasen {
	font-size: 0.7em; 
	color: grey;
	position: absolute; 
	left: 0;

}

/* Oletusleveydet kun käytetään [[Malline:Marginaalit]]:a */
.marginaali-vasen {
	margin-left: 8em;
}
	
.marginaali-oikea {
	margin-right: 8em;
}

/* 
 * Pieniä näyttöjä koskevat säännöt
 */
@media (max-width: 640px) {
	/* Poistetaan marginaalit kokonaan.
	   Importantin ansiosta voi marginaalin leveyden asettaa sivukohtaisesti
	   ilman että marginaali tulee näkyviin pienillä laitteilla. */
	.marginaali-vasen {
		margin-left: 0 !important;
	}
	
	.marginaali-oikea {
		margin-right: 0 !important;
	}
	
	/* Siirretään reunahuomautus tekstin sekaan. */
	.reunahuomautus-vasen {
		position: static; 
		margin-left: 0.5em;
	}
}

/*
 * [[Malline:Jae]]-mallineen numeroiden muotoilu ja linkatun jakeen korostus.
 */
.jae a {
    color: #2E8B57;
}
.jae:target {
	background-color: lightgoldenrodyellow;
}