|
|
| Rivi 1: |
Rivi 1: |
| /* Common CSS for all skins */
| | .infobox { float: right; margin: 0 0 1em 1em; border: 1px solid #aaa; background-color: #f8f8f8; padding: 0.5em; width: 40px; font-size: 110%; } .infobox th, .infobox td { padding: 2px 4px; vertical-align: top; } @media (max-width: 768px) { .infobox { float: none; width: 90%; margin: 1em auto; font-size: 120%; } } @media (max-width: 480px) { .infobox { width: 100%; font-size: 110%; padding: 0.4em; } } |
| | |
| /* [[en:MediaWiki:Common.css]] */
| |
| /*<pre><nowiki>*/
| |
| | |
| /*****************/
| |
|
| |
| /* References-tagi pienemmäksi */
| |
|
| |
| /*****************/
| |
| | |
| ol.references {
| |
| font-size: 90%;
| |
| }
| |
| | |
| /*************/
| |
| /* Wikitable */
| |
| /*************/
| |
| | |
| /* wikitable/prettytable class for skinning normal tables */
| |
| | |
| table.wikitable,
| |
| table.prettytable {
| |
| margin: 1em 1em 1em 0;
| |
| background: var( --background-color-interactive-subtle, #f9f9f9 );
| |
| border: 1px #aaaaaa solid;
| |
| border-collapse: collapse;
| |
| vertical-align: top;
| |
| }
| |
| | |
| table.wikitable th, table.wikitable td,
| |
| table.prettytable th, table.prettytable td {
| |
| border: 1px #aaaaaa solid;
| |
| padding: 0.2em;
| |
| }
| |
| | |
| table.wikitable th,
| |
| table.prettytable th {
| |
| background: #f2f2f2;
| |
| text-align: center;
| |
| }
| |
| | |
| html.skin-theme-clientpref-night table.wikitable th,
| |
| html.skin-theme-clientpref-night table.prettytable th {
| |
| background-color: var( --background-color-interactive, #f2f2f2 );
| |
| }
| |
| | |
| @media screen and (prefers-color-scheme: dark) {
| |
| html.skin-theme-clientpref-os table.wikitable th,
| |
| html.skin-theme-clientpref-os table.prettytable th {
| |
| background-color: var( --background-color-interactive, #f2f2f2 );
| |
| }
| |
| }
| |
| | |
| table.wikitable caption,
| |
| table.prettytable caption {
| |
| margin-left: inherit;
| |
| margin-right: inherit;
| |
| }
| |
| | |
| .collapseButton { /* 'show'/'hide' buttons created dynamically */
| |
| float: right; /* by the CollapsibleTables javascript in */
| |
| font-weight: normal; /* [[MediaWiki:Common.js]] are styled here */
| |
| text-align: right; /* so they can be customised. */
| |
| width: auto;
| |
| }
| |
| | |
| /**************************/
| |
| /* Infobox template style */
| |
| /**************************/
| |
| | |
| .infobox {
| |
| border: 1px solid #aaa;
| |
| background-color: #f9f9f9;
| |
| color: black;
| |
| margin: 0.5em 0 0.5em 1em;
| |
| padding: 0.2em;
| |
| float: right;
| |
| clear: right;
| |
| }
| |
| .infobox td,
| |
| .infobox th {
| |
| vertical-align: top;
| |
| }
| |
| .infobox caption {
| |
| font-size: larger;
| |
| margin-left: inherit;
| |
| }
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #aaa;
| |
| }
| |
| .infobox.bordered .borderless td,
| |
| .infobox.bordered .borderless th {
| |
| border: 0;
| |
| }
| |
| | |
| .infobox.sisterproject {
| |
| width: 20em;
| |
| font-size: 90%;
| |
| } | |
| | |
| @media print {
| |
| .infobox.sisterproject {
| |
| display: none;
| |
| }
| |
| }
| |
| | |
| /* styles for bordered infobox with merged rows */
| |
| .infobox.bordered .mergedtoprow td,
| |
| .infobox.bordered .mergedtoprow th {
| |
| border: 0;
| |
| border-top: 1px solid #aaa;
| |
| border-right: 1px solid #aaa;
| |
| }
| |
| | |
| .infobox.bordered .mergedrow td,
| |
| .infobox.bordered .mergedrow th {
| |
| border: 0;
| |
| border-right: 1px solid #aaa;
| |
| }
| |
| | |
| | |
| /* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
| |
| | |
| .infobox.geography {
| |
| border: 1px solid #ccd2d9;
| |
| text-align: left;
| |
| border-collapse: collapse;
| |
| line-height: 1.2em;
| |
| font-size: 90%;
| |
| }
| |
| | |
| .infobox.geography td, | |
| .infobox.geography th {
| |
| border-top: solid 1px #ccd2d9;
| |
| padding: 0.4em 0.2em 0.4em 0.8em;
| |
| }
| |
| .infobox.geography .mergedtoprow td,
| |
| .infobox.geography .mergedtoprow th {
| |
| border-top: solid 1px #ccd2d9;
| |
| padding: 0.4em 0.2em 0.2em 0.8em;
| |
| }
| |
| | |
| .infobox.geography .mergedrow td,
| |
| .infobox.geography .mergedrow th {
| |
| border: 0;
| |
| padding: 0 0.2em 0.2em 0.8em;
| |
| }
| |
| | |
| .infobox.geography .mergedbottomrow td,
| |
| .infobox.geography .mergedbottomrow th {
| |
| border-top: 0;
| |
| border-bottom: solid 1px #ccd2d9;
| |
| padding: 0 0.2em 0.4em 0.8em;
| |
| } | |
| | |
| .infobox.geography .maptable td,
| |
| .infobox.geography .maptable th {
| |
| border: 0;
| |
| padding: 0 0 0 0;
| |
| }
| |
| | |
| /* Piilotetaan allekirjoituspainike artikkelinäkymässä, kiitos Splarka @ #wikimedia-tech */
| |
| /* body.ns-0 img[title="Allekirjoitus aikamerkinnällä"] { display: none; } */
| |
| /* wikibits.js päivityksen jälkeen alla oleva toimii kaikilla selaimilla */
| |
| body.ns-0 img#mw-editbutton-signature { display: none; }
| |
| | |
| /* Icons for medialist templates (Malline:Kuuntele) */
| |
|
| |
| div.listenlist {
| |
| background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
| |
| padding-left: 40px;
| |
| }
| |
|
| |
| div.videolist, div.multivideolist {
| |
| background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
| |
| padding-left: 50px;
| |
| }
| |
|
| |
| /* Style rules for media list templates */
| |
| div.medialist {
| |
| min-height: 50px;
| |
| margin: 1em;
| |
| background-position: top left;
| |
| background-repeat: no-repeat;
| |
| }
| |
|
| |
| div.medialist ul {
| |
| list-style-type: none;
| |
| list-style-image: none;
| |
| margin: 0;
| |
| }
| |
|
| |
| div.medialist ul li {
| |
| padding-bottom: 0.5em;
| |
| }
| |
|
| |
| div.medialist ul li li {
| |
| font-size: 91%;
| |
| padding-bottom: 0;
| |
| }
| |
| | |
| /* Kuvalinkit mahdollista lisätä samalle riville luokan avulla --str4nd */
| |
| .imagemap-inline div {
| |
| display: inline;
| |
| }
| |
| | |
| /* Tiedoston tallennuksen yhteydessä näytettävä yhteenvetokenttä korkeammaksi --str4nd */
| |
| #wpUploadDescription {
| |
| height: 13em;
| |
| }
| |
| | |
| /**** NavFrame ****/
| |
| div.NavFrame {
| |
| margin: 0px;
| |
| padding: 4px;
| |
| border: 1px solid #aaa;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| } | |
| | |
| div.NavFrame + div.NavFrame {
| |
| border-top-style: none;
| |
| border-top-style: hidden;
| |
| } | |
| div.NavPic {
| |
| background-color: var( --background-color-base, #fff );
| |
| margin: 0px;
| |
| padding: 2px;
| |
| float: left;
| |
| }
| |
| div.NavFrame div.NavHead {
| |
| height: 1.6em;
| |
| font-weight: bold;
| |
| background-color: #ccf;
| |
| }
| |
| div.NavFrame p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavFrame div.NavContent {
| |
| font-size: 100%;
| |
| }
| |
| div.NavFrame div.NavContent p {
| |
| font-size: 100%;
| |
| }
| |
| div.NavEnd {
| |
| margin: 0px;
| |
| padding: 0px;
| |
| line-height: 1px;
| |
| clear: both;
| |
| }
| |
| a.NavToggle {
| |
| float: right;
| |
| margin-right: 3px;
| |
| font-weight: normal;
| |
| font-size: 90%;
| |
| }
| |
| | |
| /**** /NavFrame ***/
| |
| | |
| /**** Edittools ***/
| |
| .fiwiki-feature {
| |
| color: black !important;
| |
| background-color: #ccddee !important;
| |
| font-weight: bold !important;
| |
| font-size: 0.9em !important;
| |
| text-decoration: none !important;
| |
| border: thin #006699 outset !important;
| |
| padding: 0 0.1em 0.1em 0.1em !important;
| |
| cursor: pointer !important;
| |
| }
| |
|
| |
| .fiwiki-feature:hover {
| |
| text-decoration: underline;
| |
| }
| |
|
| |
| .specialbasic {
| |
| background-color: transparent;
| |
| padding: 0.2em;
| |
| margin-right: 1em;
| |
| }
| |
|
| |
| .bordered {
| |
| border: 1px solid #ccc;
| |
| }
| |
| | |
| #fiwiki-bottom-toolbar {
| |
| margin-top: 0em;
| |
| border: 1px solid silver;
| |
| padding: 0.5em;
| |
| }
| |
| | |
| .fiwiki-special-character {
| |
| border-bottom: 1px solid gray;
| |
| border-right: 1px solid gray;
| |
| padding-left: 0.3em;
| |
| padding-right: 0.3em;
| |
| background: silver;
| |
| font-size: medium;
| |
| cursor: pointer;
| |
| }
| |
| | |
| #fiwiki-templatetable {
| |
| padding: 0.5em;
| |
| border: 1px solid #aa8;
| |
| }
| |
| | |
| .fiwiki-templatefeature {
| |
| padding: 0.1em;
| |
| background: #ffd;
| |
| border: 1px solid #aa8;
| |
| font-size: x-small;
| |
| color: gray;
| |
| text-decoration: underline;
| |
| cursor: pointer;
| |
| }
| |
| | |
| /**** /Edittools ***/
| |
| | |
| /* Korostetaan ohjaukset sivulla [[Special:Allpages]]. */
| |
| .allpagesredirect a {
| |
| border-bottom: 2px dotted #00bbff;
| |
| }
| |
| | |
| /* Estosivun formin visualClearin poisto */
| |
| .mw-special-Block form.visualClear { clear: none !important; }
| |
| | |
| /* FlaggedRevs ikoni sivun yläkulmasta väliaikaisesti piiloon */
| |
| /*
| |
| div.flaggedrevs_short { display:none }
| |
| div.flaggedrevs_basic { display:none }
| |
| div.flaggedrevs_notice {display:none }
| |
| .flaggedrevs_preview { display:block !important }
| |
| */
| |
| | |
| /* piilotetaan listoista odottavat muutokset -linkit */
| |
| .mw-fr-reviewlink { display:none }
| |
| | |
| /* piilottaa vakautetuista artikkeleista sivun alussa olevan infolaatikon silloin kun vakaa versio on myös tuorein versio */
| |
| .mw-fr-stable-synced { display: none; }
| |
| | |
| /* Piilottaa palauta-linkit tuoreista muutoksista ja tarkkailulistalta. */
| |
| /* UL.special > LI > SPAN.mw-rollback-link { display:none } */
| |
| | |
| /* Tekstin "päivitetty viimeisimmän käyntisi jälkeen" väritys */
| |
| /* Teksti tullut historiatietoihin MediaWiki 1.20 -version päivityksen yhteydessä */
| |
| span.updatedmarker {
| |
| font-size:x-small;
| |
| color: #040;
| |
| background-color: #ff8;
| |
| } | |
| | |
| /* Muokkausyhteenvetokenttä näkyvämmän väriseksi */
| |
| /* 28.1.2025, kommentoitu pois käytöstä tumman tilan toimivuuden vuoksi --Zache */
| |
| /* input#wpSummary{ background-color:#FFFF99;} */
| |
| | |
| /* Mahdollistaa keskittämättömän hakulaatikon luomisen */
| |
| .noncentered > div { text-align:inherit !important }
| |
| | |
| /* Poistaa kahden NavFramen välisen välin
| |
| - lisätty 24.10.2012 Käyttäjä:Olli:n pyynnöstä --Zache
| |
| */
| |
| .NavFrame + .NavFrame {
| |
| margin-top: -1px;
| |
| }
| |
| | |
| | |
| /* Poistettu 24.1.2015 lahjoitukset-linkki näkyviltä vasemman reunan navigaatiosta, koska säätiö ei ota vastaan lahjoituksia Suomesta.
| |
| - https://fi.wikipedia.org/wiki/Wikipedia:Poliisihallituksen_lausuntopyynt%C3%B6_2014
| |
| - https://fi.wikipedia.org/w/index.php?title=Wikipedia:Yll%C3%A4pit%C3%A4jien_ilmoitustaulu&curid=701655&diff=14608776&oldid=14608567
| |
| */
| |
| li#n-sitesupport {
| |
| display:none;
| |
| }
| |
| | |
| | |
| /* Enwikistä navboxin tyylit module:navbox ja module:navbar -moduuleja varten.
| |
| Lähde: https://en.wikipedia.org/wiki/MediaWiki:Common.css
| |
| | |
| päivitys 15.10.2024: navbox tyylit tulee sivulta https://fi.wikipedia.org/wiki/Moduuli:Navbox/styles.css
| |
| päivitys 15.10.2024: navbar tyylit tulee sivulta https://fi.wikipedia.org/wiki/Moduuli:Navbar/styles.css
| |
| | |
| */
| |
| | |
| | |
| /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
| |
| in [[MediaWiki:Common.js]] are styled here so they can be customised. */
| |
| .collapseButton {
| |
| /* @noflip */
| |
| float: right;
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| margin-left: 0.5em;
| |
| /* @noflip */
| |
| text-align: right;
| |
| width: auto;
| |
| }
| |
| /* In navboxes, the show/hide button balances the v·d·e links
| |
| from [[Template:Navbar]], so they need to be the same width. */
| |
| .navbox .collapseButton {
| |
| width: 6em;
| |
| }
| |
| | |
| /* Enwikistä navboxin tyylit module:navbox ja module:navbar -moduuleja varten.
| |
| Lähde: https://en.wikipedia.org/wiki/MediaWiki:Common.css
| |
| */
| |
| | |
| | |
| /* Enwikistä koordinaattien tyylit moduuli:en:coordinates -moduulia varten
| |
| Lähde: https://en.wikipedia.org/wiki/MediaWiki:Common.css
| |
| | |
| "Geographical coordinates defaults. See [[:en:Template:Coord/link]]
| |
| for how these are used. The classes "geo", "longitude", and
| |
| "latitude" are used by the [[Geo microformat]]. "
| |
|
| |
| --Zache 7.6.2016
| |
| */
| |
| .geo-default, .geo-dms, .geo-dec { display: inline; }
| |
| .geo-nondefault, .geo-multi-punct { display: none; }
| |
| .longitude, .latitude { white-space: nowrap; }
| |
| | |
| /*
| |
| Korjaus siihen, että palstoitettujen listojen linkit hyppivät Chromella
| |
| https://phabricator.wikimedia.org/T99416
| |
| Lisätty: 17.5.2015 -- Zache
| |
| | |
| Rikkinäiset asiat ovat
| |
| - luokkasivut, viitteet, div col -malline
| |
| | |
| Esimerkit
| |
| - https://fi.wikipedia.org/w/index.php?title=Jussi_Ahde&oldid=14950772#cite_ref-5
| |
| - https://fi.wikipedia.org/wiki/Luokka:Luettelot_henkil%C3%B6ist%C3%A4_sukunimen_mukaan
| |
| - https://fi.wikipedia.org/w/index.php?title=Kaakkois-Suomen_vaalipiiri&oldid=14784366
| |
| */
| |
| | |
| body.ns-14 div#bodyContent ul, div.viitteet-malline ol, div.div-col ol, div.div-col ul {
| |
| margin-bottom: 0.5em !important;
| |
| }
| |
| /*
| |
| Tämä piilottaa pienen punaisen huutomerkin joka näkyy tietolaatikoissa tai luetteloissa
| |
| kohdissa joissa Wikidatassa oleva tieto puuttuu.
| |
| */
| |
| span.wikidata-value-is-missing {
| |
| display:none;
| |
| }
| |
| | |
| /*
| |
| Enwikistä kopioidut nowrap-tyylit
| |
| */
| |
| | |
| /* Prevent line breaks in silly places:
| |
| 1) Where desired
| |
| 2) Links when we don't want them to
| |
| 3) Bold "links" to the page itself */
| |
| .nowrap,
| |
| .nowraplinks a,
| |
| .nowraplinks .selflink {
| |
| white-space: nowrap;
| |
| }
| |
| .nowrap pre {
| |
| white-space: pre;
| |
| }
| |
| /* But allow wrapping where desired: */
| |
| .wrap,
| |
| .wraplinks a {
| |
| white-space: normal;
| |
| }
| |
| | |
| /*
| |
| Patrol-linkit piiloon vakiona, koska halutaan patrol-merkinnät vain tietokantaan
| |
| -- Zache, 7.9.2016
| |
| | |
| */
| |
| .unpatrolled { display:none }
| |
| .patrollink { display:none }
| |
| .mw-enhanced-rc > .unpatrolled {
| |
| display: inline;
| |
| visibility: hidden;
| |
| }
| |
| | |
| /* liveRC:n ulkoasufix */
| |
| .livePreview form.visualClear { clear: none !important; }
| |
| | |
| /* Piilotetaan infobox testitekstit */
| |
| .wd_tests { display:none }
| |
| | |
| /* Piilotetaan kaikilta käyttäjiltä tuoreet odottavat muutokset linkki
| |
| Tällä kierretään T164049 bugin tuottamia ongelmia
| |
| - https://phabricator.wikimedia.org/T164049
| |
| - https://fi.wikipedia.org/wiki/J%C3%A4rjestelm%C3%A4viesti:Sidebar
| |
| */
| |
| #n-Tuoreet-odottavat-muutokset, #n-Tuoreet-odottavat {
| |
| display:none;
| |
| }
| |
| | |
| | |
| /* Frwikin global rules */
| |
| abbr.abbr {
| |
| text-decoration: none; /* Firefox, Chrome */
| |
| border-bottom: 0; /* IE */
| |
| }
| |
| | |
| /* Fiwiki customisations */
| |
| | |
| .wikidata-linkback {
| |
| /* display:none; */ /* 6.2.2023 Muutetaan menemään kokeeksi vakioasetuksilla. -- Zache */
| |
| }
| |
| | |
| /* Frwikin CSS-loppuu */
| |
| | |
| /* Malline:Linkitetty data */
| |
| | |
| /* Mikäli javascripti ei ole käytössä, niin myöskään ohjeita ei tarvita */
| |
| .wqsinlinehelp {
| |
| display:none;
| |
| }
| |
| /* Malline:Linkitetty data loppu */
| |
| | |
| /* Discussion tools fixes */
| |
| /* https://phabricator.wikimedia.org/T265291 */
| |
| | |
| /* Do not show reply links in "ul" or "ol" lists as they never should be replied to*/
| |
| li > .ext-discussiontools-init-replylink-buttons {
| |
| display:none;
| |
| }
| |
| | |
| /* Show reply links when reply contains a list and signature is inside of the list */
| |
| dd li > .ext-discussiontools-init-replylink-buttons {
| |
| display:inline-flex;
| |
| }
| |
| | |
| /* Add some margin after end of the comment */
| |
| span[data-mw-comment-end] {
| |
| display: block;
| |
| margin-bottom: 0.5em;
| |
| }
| |
| | |
| /* Do not add margin after the signature in the voting rows etc */
| |
| li span[data-mw-comment-end] {
| |
| display: none;
| |
| }
| |
| | |
| .mw-headline span[data-mw-comment-end] {
| |
| display: none;
| |
| }
| |
| /* Discussion tools fixes end */
| |
| | |
| /* Piilotettu siteNote etusivulta. Huom piilottaa todennäköisesti etusivulta myös muita bannereita. */
| |
| .page-Main_Page #siteNotice {
| |
| display: none;
| |
| } | |
| | |
| /*</nowiki></pre>*/
| |