Järjestelmäviesti:Common.css

Junawikistä
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ä. */
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> */
.underlinelink a { text-decoration: underline !important; }
 
/* Class to force links to be not underlined - See .underlinelink for use */
.nounderlinelink a { text-decoration: none !important; }
.nounderlinelink a:hover { text-decoration: underline !important; }
 
/* buttons and input boxes */
input[type="submit"] {
	border: 1px solid #aaa;
	border-bottom: 2px solid #aaa;
	border-right: 2px solid #aaa;
	background: #eee;
}
input[type="text"], input[type="password"], textarea[name="wpTextbox1"] {
	border: 1px solid #aaa;
	border-top: 2px solid #aaa;
	border-left: 2px solid #aaa;
}
 
/* 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+ */
}
 
/* Tietolaatikot */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 .5em 1em;
	width: 250px;
	background: none;
	border-width: 1px;
	font-size: 0.8em;
	line-height: 1.5;
}
.infobox table.infoboxtable {
	background: #f0f0f0;
	float: right;
	margin: 0;
	width: 100%;
        border-top: 1px solid black;
        border-left: 1px solid black;
        border-right: 1px solid black
}
.infobox td.infoboximage {
	padding: 0;
	text-align: center;
}
/* Kuvatekstit valkoiseksi */
.infobox td.infoboximage {color: #fff}
.infobox td.infoboximage a {color: #f0e68c !important}

.infobox th.infoboxheading {
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	font-size: larger;
}
.infobox th.infoboxsubheading {
	vertical-align: top;
	text-align: left;
	font-weight: normal;
}
.infobox td.infoboxlabel, .infobox td.infoboxcell {
	vertical-align: middle;
/*	border-top:1px solid #999;
	border-bottom:1px solid #999; */
}
 
/* ugly hack to force normal height for infobox cells */
.infoboxcell p {
	margin-top: 0px;
	margin-bottom: 0px;
}
/* .infoboxcell ul { list-style-type: disc; } */
 
.infoboxcell ul {
	padding-left: 10px;
	margin-left: 10px;
}
 
.infoboxcell ul li {
	padding-left: 0;
	margin-left: 0;
	list-style-type: square;
}
 
.infobox div.plainlinks {
	color: #fff;
}
 
.infobox div.plainlinks a {
	color: #f0f0f0;
}

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

.infoboxfooter {
        border-bottom: 1px solid black;
        border-left: 1px solid black;
        border-right: 1px solid black
}

/* Lähdeviittausten lista pienemmäksi */
.references-small { font-size: 0.85em; }

/* Redirects in Special:AllPages and Special:Watchlist */
.allpagesredirect, .watchlistredir {
	font-style: italic;
}

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

/* Navigaatiomallineet */
.nb2-wrapper {
	text-align: center;
}
 
.nb2 {
/*	margin: auto;*/
	border: 0;
}
 
.nb2-firstheading {
	color: black;
	font-size: 1.1em;
	font-weight: bold;
	padding: 3px;
}
 
.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;
}

/* Sivukohtainen CSS etusivulle */
body.page-Etusivu #lastmod,
body.page-Etusivu #siteSub,
body.page-Etusivu #contentSub,
body.page-Etusivu h1.firstHeading {
	display: none !important;
}

/* Kahvihuoneen mallineet */
.forumheader {
	border: 1px solid #aaa;
	background: #eee;
	background-color: #f9f9f9;
	margin-top: 1em;
	padding: 12px;
}
.forumlist td.forum_edited a {
	color: black;
	text-decoration: none;
}
.forumlist td.forum_title a {
	padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
	font-weight: bold;
	background: url(http://images.shoutwiki.com/fi.starwars/4/4e/Forum_new.gif) center left no-repeat;
	padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
	font-weight: normal;
	background: none;
	padding-left: 20px;
}
.forumlist th.forum_title {
	padding-left: 20px;
}
.forum_title a.forum_new {
	font-weight: bold;
}
.forum_title a.forum_new:visited {
	font-weight: normal;
}

/* forum table */
.forumlist {
	width: 100%;
	background: #f9f9f9;
}

.forumlist-header {
	background: #f0f0f0;
}

.forumlist-header th {
	text-align: left;
}

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

/* Lähdeviittausten lista pienemmäksi */
ol.references {
	font-size: 0.85em;
}

/* Piilotetaan keskustelu-välilehti kahvihuoneen sivuilta */
.rootpage-Junawiki_Kahvihuone #ca-talk {
	display: none !important;
}

/* Viestimallineiden 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 0.9em 2px 0;           /* 2px 4px 2px 0px */
  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%;
}