Järjestelmäviesti:Mobile.css

Star Wars Fanon Wikistä
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.
/* mobiililaitteilta piilotettavat elementit */
.mobile-hide {
	display: none !important;
}

/* piilotusnappulat piiloon */
span.hidable-button {
	display: none !important;
}

/* Infobox template styling */
.infobox {
	margin: 0;
	width: 100%;
	background: none;
	border-collapse: collapse;
	border-width: 0px;
	font-size: 0.8em;
	line-height: 1.5;
}
.infobox table.infoboxtable {
	background: #f0f0f0;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.infobox td.infoboximage {
	padding: 0;
	text-align: center;
}
.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;
}

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

/* 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 {
	border-bottom-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

.scrollbox {
	margin-bottom: 3px;
	margin-top: 3px;
}
.scrollbox tr > td {
	background: transparent;
}
.scrollbox tr > td > div {
	overflow: auto; 
	-moz-border-radius-topleft: 0.5em;
	border: 1px solid #AAAAAA;
	padding-left: 0.5em;
	background: transparent;
}

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

.nb2 {
/*	margin: auto;*/
	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;
}

table.nb2-inner {
	width: 100%;
	margin: 0;
}

.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;
}

a.mw-selflink {
	font-weight: bold;
}

a.mw-selflink:hover {
	color: inherit;
}