Järjestelmäviesti:Common.css
mikiTrainzista
Siirry navigaatioonSiirry hakuunHuomautus: 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.page-Etusivu #lastmod,
body.page-Etusivu #siteSub,
body.page-Etusivu #contentSub,
body.page-Etusivu h1.firstHeading {
display: none !important;
}
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+ */
}
/* Infobox template styling */
.infobox {
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 250px;
background: none;
border-collapse: collapse;
border-width: 0px;
font-size: 0.8em;
line-height: 1.5;
}
.infobox table.infoboxtable {
background: #f0f0f0;
float: right;
margin: 0;
width: 100%;
border-collapse: collapse;
}
.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;
/* 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;
}
/* 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;
}
.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;
}
.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;
}
a[title="Luokka:MikiTrainz"]::first-letter {
text-transform: lowercase;
}