Järjestelmäviesti:Common.css

Greedopedia, Tähtien sota -huumoriwiki, jossa on yli 582 967 853 artikkelia
Siirry navigaatioonSiirry 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: Napsauta Ctrl-näppäin pohjassa Päivitä tai paina Ctrl-F5
  • Opera: Valikko → Asetukset (Opera → Asetukset Macilla) ja sitten Tietosuoja ja turvallisuus → Tyhjennä selaustiedot → Välimuistissa olevat kuvat ja tiedostot.
/* Tämä sivu sisältää koko sivustoa muuttavia tyylejä. */

/* Hilight admins on Recent changes, watchlists, page histories etc. - author: Splarka */
table.diff a.mw-userlink[title="Käyttäjä:Jack Phoenix"],
ul#pagehistory li a.mw-userlink[title="Käyttäjä:Jack Phoenix"],
ul.special li a.mw-userlink[title="Käyttäjä:Jack Phoenix"],
span.changedby a[href|="/wiki/Käyttäjä:Jack Phoenix"],
table.mw-enhanced-rc td a.mw-userlink[title="Käyttäjä:Jack Phoenix"],
table.diff a.mw-userlink[title="Käyttäjä:JouMan206"],
ul#pagehistory li a.mw-userlink[title="Käyttäjä:JouMan206"],
ul.special li a.mw-userlink[title="Käyttäjä:JouMan206"],
span.changedby a[href|="/wiki/Käyttäjä:JouMan206"],
table.mw-enhanced-rc td a.mw-userlink[title="Käyttäjä:JouMan206"],
table.diff a.mw-userlink[title="Käyttäjä:--miki--"],
ul#pagehistory li a.mw-userlink[title="Käyttäjä:--miki--"],
ul.special li a.mw-userlink[title="Käyttäjä:--miki--"],
span.changedby a[href|="/wiki/Käyttäjä:--miki--"],
table.mw-enhanced-rc td a.mw-userlink[title="Käyttäjä:--miki--"],
table.diff a.mw-userlink[title="Käyttäjä:Xwing"],
ul#pagehistory li a.mw-userlink[title="Käyttäjä:Xwing"],
ul.special li a.mw-userlink[title="Käyttäjä:Xwing"],
span.changedby a[href|="/wiki/Käyttäjä:Xwing"],
table.mw-enhanced-rc td a.mw-userlink[title="Käyttäjä:Xwing"] {
	font-weight: bold;
	color: #FF0000;
}

/* Sivukohtaiset tuunaukset [[sininen maito|siniselle maidolle]] */
table.diff a[title="Sininen maito"],
ul#pagehistory li a[title="Sininen maito"],
ul.special li a[title="Sininen maito"] {
	color: RoyalBlue;
}

.page-Sininen_maito h1 {
	color: #4169E1;
}

body {
	cursor: default;
	font-family: sans-serif;
}

.sitenotice-nav { display: none; }

/* Fix size issues between different platforms */
code, pre { font-size: 10pt !important; }
/* Class to force links to be underlined 
 To use: <span class="underlinelink">[[link]]</span>  - borrowed from Uncyclopedia, original author: Paulgb */
.underlinelink a { text-decoration: underline !important; }
/* Class to force links to be not underlined - See .underlinelink for use. Also borrowed from Uncyclopedia, same author. */
.nounderlinelink a { text-decoration: none !important; }
.nounderlinelink a:hover { text-decoration: underline !important; }

/* Make redirects ''italic'' on Special:AllPages */
.allpagesredirect { font-style: italic; }

/* pre style override */
pre.nostyle {
	padding: 0;
	margin: 0;
	border: none;
	background: none;
}

pre.wrap {
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

/* this class can be used in the content area to make a link appear like a new page link */
#bodyContent .redlink a { color: #ba0000; }
#bodyContent .redlink a.new:visited { color: #a55858; }

/* Infobox template styling */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 .5em 1em;
	width: 250px;
	background: none;
	color: #000000;
	border-collapse: collapse;
	border-width: 0px;
	font-size: 0.8em;
	line-height: 1.5;
}

.infobox table.infoboxtable {
	background: #f0f0f0;
	color: #000;
	float: right;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
}

.infobox td.infoboximage {
	padding: 0;
	text-align: center;
}

.infobox th.infoboxheading {
	font-weight: bold;
	text-align: center;
	color: #FFF;
	font-size: larger;
}

.infobox th.infoboxsubheading {
	vertical-align: top;
	text-align: left;
	font-weight: normal; 
}

.infobox td.infoboxlabel, .infobox td.infoboxcell {
	vertical-align: middle;
}

/* ugly hack to force normal height for infobox cells */
.infoboxcell p {
	margin-top: 0px;
	margin-bottom: 0px;
}

.infoboxcell ul {
	padding-left: 10px;
	margin-left: 10px;
}

.infoboxcell ul li {
	padding-left: 0;
	margin-left: 0;
	list-style-type: square;
}

/* Fix to hide random extra lines in infobox subheaders. */
.infoboxsubheading p {
	display: none;
}
 
.infobox div.plainlinks {
	color: #FFF;
}

.infobox div.plainlinks a {
	color: #f0f0f0;
}

.infoboxtable tr:nth-child(even) { background-color: #F9F9F9 }

/* Tietolaatikon alaosa, eli se, joka sisältää [lähde]-linkin */
div.infoboxfooter {
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
}

/* limits max width of infobox images to the template's defined max width */
.infoboximage img {
	max-width: 100%;
	height: auto;
}

/* boilerplate font color */
.boilerplate {
	color: #000;
}

/* class for stub template styling */
/* only applies to table and div elements - avoids conflicts with preexisting a.stub */
table.stub, div.stub {
	background: #f0f0f0;
	margin: 0 0 0.5em 0.5em;
	text-align: center;
	padding: 5px;
	clear: center;
	font-size: 0.85em;
}

/* class for article disambiguation templates */
.disambig {
	background: #900;
	font-size: 0.85em;
	text-align: center;
	width: 85%;
	margin: 0 auto 3px auto;
}

/* styling for MediaWiki:Edittools */
#edittools, #editpage-specialchars {
	border: 2px solid #F0F0F0;
	background: #F9F9F9;
}

/* Sivukohtainen CSS [[etusivu]]lle sekä lähdeviittausten yleinen pienentäminen */
body.page-Etusivu #lastmod,
body.page-Etusivu #siteSub,
body.page-Etusivu #contentSub,
ol.references li {
	font-size: 0.85em;
}

/* pyöreät kulmat */
.rtop, .rbottom {
	display: block;
	padding: 0px;
	margin: 0px;
}

.rtop *, .rbottom * {
	display: block;
	height: 1px;
	overflow: hidden;
	padding: 0px;
}

.r1 { margin: 0 5px; }
.r2 { margin: 0 3px; }
.r3 { margin: 0 2px; }
.r4 {
	margin: 0 1px;
	height: 2px;
}
/* end rounded corners */

#mp3-global ul {
	padding-left: 10px;
	margin-left: 10px;
}

#mp3-global ul li {
	padding-left: 0;
	margin-left: 0;
	list-style-type: square;
}

#mp3-navlink #mp3-nav { display: none; }

#mp3-navlink {
	font-size: 1.1em;
	margin: auto;
	max-width: 600px;
	_width: expression(document.getElementById('mp3-nav-outer').offsetWidth > 600 ? '600px' : 'auto');
}

#mp-flex {
	width: 100%;
	display: flex;
}

#mp-leftcol {
	width: 60%;
	background-color: #2E2E33;
}

#mp-rightcol {
	width: 40%;
	background-color: #2E2E33;
}

.hoverable .hoverable-inner {
	display: none;
	position: absolute;
	top: auto;
	text-align: left;
}

.hoverable:hover .hoverable-inner, .hoverable.over .hoverable-inner {
	display: inline;
}

/* class for message box template styling */
.messagebox {
	clear: both;
	width: 85%;
	margin: 0px auto 3px auto;
	padding: 3px;
	font-size: 95%;
} 

/* in-universe and out-of-universe message boxes */
.iumb, .ooumb {
	border-width: 0;
	text-align: left;
	padding: 0;
}

.iumb table, .ooumb table {
	padding: 5px 10px 5px 10px;
	background: transparent;
	color: inherit;
}

.iumb table.hidable-content, .ooumb table.hidable-content {
	padding: 0;
}

.iumb-icon, .ooumb-icon {
	vertical-align: middle;
	padding: 0;
}

.iumb-main, .ooumb-main {
	padding: 0 0 0 10px;
}

.iumb-caption {
	font-size: 1.3em;
	font-weight: bold;
}

.ooumb-caption {
	font-size: 1em;
	font-weight: bold;
}

.iumb-comment {
	font-size: 0.8em;
}

.iumb-hidable-button, .ooumb-hidable-button {
	text-align: right;
	margin: 0;
	padding: 0 5px 0 0;
	font-size: 0.8em;
	vertical-align: bottom;
}

.iumb-table-container, .ooumb-table-container {
	width: 100%;
}

.iumb p {
	margin-top: 0;
	margin-bottom: 0;
}

/* Pyöreät kulmat */
div.ooumb, div.ooumb div, div.iumb, div.iumb div {
	border-radius: 0.5em;
}

/* Käyttäjälaatikot */
.userbox {
	float: left;
	border-width: 1px;
	border-style: solid;
	margin: 1px;
	width: 238px;
	padding: 0px;
	color: #000;
}

.ubx-icon {
	width: 45px;
	height: 45px;
	text-align: center;
	font-size: 14pt;
	font-weight: bold;
}

.ubx-main {
	font-size: 8pt;
	padding: 4pt;
	line-height: 1.25em;
}

/* Tweak for Table of Contents */
#toc, .toc {
	border-width: 0;
}

.tocnumber {
	color: inherit;
}

/* Spoiler class definition */
.spoiler {
	background-color: #fff8f8;
	color: #000;
	border-color: black;
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	text-align: center;
}

.ahtable {
	padding: 0;
	width: 85%;
}

.ahtable th, .ahtable td {
	padding: 3px;
}

.ahth {
	text-align: left;
}

.ahtable .ahrt, .ahtable .ahrb {
	padding: 0;
}

.ahf {
	text-align: left;
	font-weight: normal;
}

.ahfstatus {
	font-weight: bold;
}

.hidable-button {
	color: #088;
	cursor: pointer;
}

.infobox .hidable-button {
	color: #f0f0f0;
}

/* Search form tweak */
#p-search #searchInput {
	text-transform: none;
}

/* new navboxes */
.nb2-wrapper {
	text-align: center;
}

.nb2 {
	border: 0;
}

.nb2-firstheading {
	color: black;
	font-size: 1.1em;
	font-weight: bold;
	padding: 3px;
	-webkit-border-top-left-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

.nb2-inner {
	width: 100%;
}

.nb2-inner th {
	font-weight: bold;
}

.nb2-inner td {
	font-size: 0.9em;
	text-align: center;
}

.nb2-end td {
	font-size: 0.85em;
	text-align: center;
}

.nb-edi {
	font-size: 0.85em;
}

.nb2 .nb-edi {
	font-size: inherit;
}

.nb2-end a, .nb2-end .hidable-button {
	color: black;
	text-transform: lowercase;
	text-decoration: none;
}

/* Search icons */
#search-icon-wrapper {
	cursor: pointer;
}

#search-popup {
	position: absolute;
	background: #651818;
	text-align: left;
	z-index: 8;
}

/* Colored watchlist/recent changes numbers */
.mw-plusminus-pos {
	color: #006400; /* darkgreen */
}

.mw-plusminus-neg {
	color: #cc2200; /* darkred */
}

.dablink {
	font-style: italic;
	padding-left: 2em;
}

/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
   instance, will limit to showing ==headings== and ===headings=== but no further (as long as
   there are no =headings= on the page, which there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-2 { display: none; }
.toclimit-3 .toclevel-3 { display: none; }
.toclimit-4 .toclevel-4 { display: none; }
.toclimit-5 .toclevel-5 { display: none; }
.toclimit-6 .toclevel-6 { display: none; }
.toclimit-7 .toclevel-7 { display: none; }

/* Class for links with loudspeaker icon next to them */
/* (Used in [[Template:Audio]] and the like to make the speaker clickable) */
.audiolink a {
/*	background: url("/images/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important;*/
	padding-left: 16px !important;
	padding-right: 0 !important;
}

.hidebox {
	border: 1px solid #eee;
	padding: 3px;
	margin: auto;
}

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

/* Tabs */
.activetab {
	padding: 5px 12px 6px 12px;
	background: #C2C6CF;
	text-decoration: none;
	color: black;
	border-top-right-radius: 0.5em;
	border-top-left-radius: 0.5em;
	border-top: 1px solid #777A7F;
	border-left: 1px solid #777A7F;
	border-right: 1px solid #777A7F;
}

.inactivetab {
	border-top: 1px solid #C2C6CF;
	border-left: 1px solid #C2C6CF;
	border-right: 1px solid #C2C6CF;
}

a .inactivetab {
	padding: 5px 12px 5px 12px;
	text-decoration: none;
	background: #F5F5F5;
	color: black;
	border-top-right-radius: 0.5em;
	border-top-left-radius: 0.5em;
}

a .inactivetab:link, a .inactivetab:visited, a .inactivetab:focus, a .inactivetab:hover, a .inactivetab:active {
	text-decoration: none;
	background: #C2C6CF;
	color: black;
	border-top: 1px solid #777A7F;
	border-left: 1px solid #777A7F;
	border-right: 1px solid #777A7F;
}

/* Censored text style, and clear text on rollover. */
.censored {
	color: black;
	background-color: black;
	padding: 1px;
}
.censored a {
	color: red;
	text-decoration: underline;
	padding: 1px;
}
.censored:hover {
	color: inherit;
	background-color: inherit !important;
}

/* Allows for expanding hidden sig sections (experimental) - borrowed from Uncyclopedia, author: Dawg */
.sighidden { display: none; }
.sigexpand:hover .sighidden { display: inline; }
.sigclick:active .sighidden { display: inline; }

/* Fixing Special:NewPages (for admins) */
.not-patrolled {
	background-color: transparent;
}

/* Template:Fairuse sucks */
#fairuse tr {
	background-color: #000 !important;
	color: #fff !important;
}

/* Make filehistory readable */
.filehistory, .filehistory th {
	background-color: transparent;
}

/* Kaksinkertainen lihavointi eräissä navigaatiolaatikoissa pois */
strong.selflink {
	font-weight: bold;
}

/* Pudotusvalikkojen teksti mustaksi */
.oo-ui-labelElement-label {
	color: black;
}

/* Ilta-Bibble */
#artikkeli {
	width: 650px;
	background-color: #242428;
	float: left;
	padding: 10px;
}
#artikkeliotsikko {
	font-family: 'Arial Narrow','sans-serif';
	font-weight: bolder;
	font-size: 45px;
	color: #FFD942;
	margin-top: 20px;
	line-height: 110%;
}
#alaotsikko {
	font-family: 'Arial','sans-serif';
	font-weight: bold;
	font-size: 22px;
	margin: 20px 0;
	line-height: 110%;
}
#artikkeliteksti {
	font-size:15px;
}
#banneri {
	width: 350px;
	margin-left: 10px;
	background-color: #242428;
	flex-grow: 1;
}
#luetuimmat-otsikko {
	font-family: 'Arial Narrow','sans-serif';
	font-weight: bold;
	font-size: 24px;
	color: #FFD942;
	padding: 16px;
	line-height: 110%;
	border-bottom: 1px solid #191919;
}
#luetuimmat ol {
	font-family: 'Arial','sans-serif';
	font-weight: bold;
	font-size: 22px;
	margin: 0;
	padding: 0 16px;
	line-height: 110%;
	list-style: none
}
#luetuimmat ol li {
	padding: 16px 0;
	border-bottom: 1px solid #2E2E33;
	counter-increment: list-counter;
}
#luetuimmat ol li a {
	text-decoration: none;
	color: #FFF;
}
#luetuimmat ol li div {
	display: flex;
	cursor: pointer;
}
#luetuimmat ol li div::before {
	font-size: 26px;
	color: red;
	font-style: italic;
	font-weight: bolder;
	content: counter(list-counter) ".";
	line-height: 133%;
	margin-right: 4px;
	min-width: 24px;
}

/* Vain yli 551px leveitä näyttöjä koskevat tyylit */
@media screen and (min-width: 551px) {

.desktop-hide {
	display: none !important;
}

}

/* Vain alle 550px leveitä näyttöjä koskevat tyylit */
@media screen and (max-width: 550px) {

.mobile-hide {
	display: none !important;
}

#mp-flex {
	flex-direction: column;
}

#mp-leftcol, #mp-rightcol {
	width: 100%;
}

}