MediaWiki:Common.css
Från Rilpedia
(Skillnad mellan versioner)
RIL (Diskussion | bidrag) |
RIL (Diskussion | bidrag) (+ Wikipedia) |
||
Rad 1: | Rad 1: | ||
+ | /** ////////////////////////////////////////////////////////////// **/ | ||
+ | /** WIKIPEDIA (start) **/ | ||
+ | /** ////////////////////////////////////////////////////////////// **/ | ||
+ | /* Wikitabeller */ | ||
+ | |||
+ | table.wikitable { | ||
+ | margin: .5em; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, table.wikitable td { | ||
+ | border: 1px #aaa solid; | ||
+ | padding: .2em; | ||
+ | } | ||
+ | |||
+ | table.wikitable th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.wikitable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | } | ||
+ | |||
+ | .hiddenStructure { display: none; speak: none; } | ||
+ | |||
+ | /* Infobox-mallar */ | ||
+ | |||
+ | .infobox { | ||
+ | border: 1px solid #aaa; | ||
+ | background-color: #f9f9f9; | ||
+ | color: black; | ||
+ | margin:.5em 0 .5em 1em; | ||
+ | padding: .2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | } | ||
+ | .infobox td, | ||
+ | .infobox th { | ||
+ | vertical-align: top; | ||
+ | padding:0 .2em; | ||
+ | } | ||
+ | .infobox caption { font-size: larger; } | ||
+ | .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; } | ||
+ | |||
+ | /* Kursiva redirecter i allpages */ | ||
+ | .allpagesredirect { font-style: italic; } | ||
+ | |||
+ | /* Stilmallar för avgränsade infoboxar med sammansatta rader */ | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* | ||
+ | "plainlinksneverexpand" säkerställer att inget mellanrum läggs till efter en länk och att ingen "extern-länk-pil" läggs till. | ||
+ | */ | ||
+ | |||
+ | .plainlinksneverexpand { | ||
+ | background: none ! important; | ||
+ | padding: 0 ! important; | ||
+ | } | ||
+ | |||
+ | .plainlinksneverexpand .urlexpansion { | ||
+ | display: none ! important; | ||
+ | } | ||
+ | |||
+ | .plainlinksneverexpand a { | ||
+ | background: none !important; | ||
+ | padding: 0 !important; | ||
+ | } | ||
+ | |||
+ | /* Används av "commonPrint.css" */ | ||
+ | |||
+ | .plainlinksneverexpand a.external.text:after { | ||
+ | display: none !important; | ||
+ | } | ||
+ | .plainlinksneverexpand a.external.autonumber:after { | ||
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Mallar för meddelanderutor */ | ||
+ | |||
+ | .messagebox { | ||
+ | border: 1px solid #aaaaaa; | ||
+ | background-color: #f9f9f9; | ||
+ | width: 80%; | ||
+ | margin: 0 auto 1em auto; | ||
+ | padding: .2em; | ||
+ | } | ||
+ | .messagebox.merge { | ||
+ | border: 1px solid #c0b8cc; | ||
+ | background-color: #f0e5ff; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .messagebox.cleanup { | ||
+ | border: 1px solid #9f9fff; | ||
+ | background-color: #efefff; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .messagebox.standard-talk { | ||
+ | border: 1px solid #c0c090; | ||
+ | background-color: #f8eaba; | ||
+ | } | ||
+ | .messagebox.nested-talk { | ||
+ | border: 1px solid #c0c090; | ||
+ | background-color: #f8eaba; | ||
+ | width: 100%; | ||
+ | margin: 2px 4px; | ||
+ | } | ||
+ | |||
+ | /* stilar för geografiska infoboxar, t.ex. länder, nationella indelningar, städer osv. */ | ||
+ | |||
+ | .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, | ||
+ | .infobox.geography .mergedtoprow td, | ||
+ | .infobox.geography .mergedtoprow th { | ||
+ | border-top: solid 1px #ccd2d9; | ||
+ | padding: .4em .2em .4em .8em; | ||
+ | } | ||
+ | |||
+ | .infobox.geography .mergedrow td, | ||
+ | .infobox.geography .mergedrow th { | ||
+ | border: 0; | ||
+ | padding: 0 .2em .2em .8em; | ||
+ | } | ||
+ | |||
+ | .infobox.geography .mergedbottomrow td, | ||
+ | .infobox.geography .mergedbottomrow th { | ||
+ | border-top: 0; | ||
+ | border-bottom: solid 1px #ccd2d9; | ||
+ | padding: 0 .2em .4em .8em; | ||
+ | } | ||
+ | |||
+ | .infobox.geography .maptable td, | ||
+ | .infobox.geography .maptable th { | ||
+ | border: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | /* Standard navigationslista, d.v.s. boxgömmargrejen från .de */ | ||
+ | |||
+ | div.Boxmerge, | ||
+ | div.NavFrame { | ||
+ | margin: 0px; | ||
+ | padding: 2px; | ||
+ | border: 1px solid #aaa; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | div.Boxmerge div.NavFrame { | ||
+ | border-style: none; | ||
+ | border-style: hidden; | ||
+ | } | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: none; | ||
+ | border-top-style: hidden; | ||
+ | } | ||
+ | div.NavPic { | ||
+ | background-color: #fff; | ||
+ | margin: 0; | ||
+ | padding: .2em; | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | font-size: 100%; | ||
+ | background-color: #efefef; | ||
+ | position:relative; | ||
+ | } | ||
+ | div.NavFrame p, | ||
+ | div.NavFrame div.NavContent, | ||
+ | div.NavFrame div.NavContent p { font-size: 100%; } | ||
+ | div.NavEnd { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position:absolute; | ||
+ | top:0; | ||
+ | right:.25em; | ||
+ | font-weight:normal; | ||
+ | font-size:smaller; | ||
+ | } | ||
+ | |||
+ | /* Något mindre storlek för referenslistorna. */ | ||
+ | .references { font-size: 95%; } | ||
+ | |||
+ | /* Öka läsbarheten när referenser och sub/sup används */ | ||
+ | .reference a { font-size: 90%; } | ||
+ | sub, sup { line-height: 0; } | ||
+ | |||
+ | /* Gör så att vald referens markeras med annan bakgrundsfärg, så att man hittar i listan. | ||
+ | Från enwiki. Fungerar tyvärr ej i IE. */ | ||
+ | |||
+ | ol.references > li:target { background-color: #DEF; } | ||
+ | sup.reference:target { background-color: #DEF; } | ||
+ | |||
+ | /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ | ||
+ | /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ | ||
+ | /* column-count is from the CSS3 module "CSS Multi-column Layout" */ | ||
+ | /* Please ignore any validator errors caused by these two lines */ | ||
+ | .references-2column { | ||
+ | -moz-column-count: 2; | ||
+ | -webkit-column-count: 2; | ||
+ | column-count: 2; | ||
+ | } | ||
+ | |||
+ | /*** Stilar för huvudsidan ***/ | ||
+ | |||
+ | /* Rubriker */ | ||
+ | body.page-Portal_Huvudsida #kolumn1 h2, | ||
+ | body.page-Portal_Huvudsida #kolumn2 h2 { | ||
+ | font-size: 110%; | ||
+ | margin-bottom: .75em; | ||
+ | margin-top: 1em; | ||
+ | padding: 2px; | ||
+ | } | ||
+ | body.page-Portal_Huvudsida #kolumn1 h2 { | ||
+ | border-bottom: 1px solid #bcd2ee; | ||
+ | background-color: #f0f5ff; | ||
+ | } | ||
+ | body.page-Portal_Huvudsida #kolumn2 h2 { | ||
+ | border-bottom:1px solid #fec088; | ||
+ | background-color:#ffe7ba; | ||
+ | } | ||
+ | |||
+ | /* Geografiska koordinater | ||
+ | |||
+ | För att visa koordinater med notationen i källkoden, lägg till detta i din Användare:Användarnamn/monobook:css: | ||
+ | .geo-default { display: inline } .geo-nondefault { display: none } | ||
+ | .geo-dec { display: inline } .geo-dms { display: inline } | ||
+ | |||
+ | För att visa koordinater med decimalnotation, lägg till detta i din Användare:Användarnamn/monobook:css: | ||
+ | .geo-default { display: inline } .geo-nondefault { display: inline } | ||
+ | .geo-dec { display: inline } .geo-dms { display: none } | ||
+ | |||
+ | För att visa koordinater med DMS-notation, lägg till detta i din Användare:Användarnamn/monobook:css: | ||
+ | .geo-default { display: inline } .geo-nondefault { display: inline } | ||
+ | .geo-dec { display: none } .geo-dms { display: inline } | ||
+ | |||
+ | För att visa koordinater med både decimal- och DMS-notation, lägg till detta i din Användare:Användarnamn/monobook:css: | ||
+ | .geo-default { display: inline } .geo-nondefault { display: inline } | ||
+ | .geo-dec { display: inline } .geo-dms { display: inline } | ||
+ | .geo-multi-punct { display: inline } | ||
+ | |||
+ | Se [[Mall:Coord/link]] för att se hur de används. | ||
+ | |||
+ | Notera att klasserna "geo", "longitude", och "latitude" inte bara är stilar utan också används av [[en:Geo (microformat)]], så namnen bör inte ändras. | ||
+ | |||
+ | */ | ||
+ | |||
+ | .geo-default { display: inline; } | ||
+ | .geo-nondefault { display: none; } | ||
+ | .geo-dms { display: inline; } | ||
+ | .geo-dec { display: inline; } | ||
+ | .geo-multi-punct { display: none; } | ||
+ | |||
+ | .longitude .latitude { | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | /* Detta används för Geo, men ingen stil behövs för tillfället utom .geo-dec. */ | ||
+ | .geo { } | ||
+ | |||
+ | /***** slut på geografirelaterat */ | ||
+ | |||
+ | /* mall för kvalitetsmallar */ | ||
+ | table.ambox { | ||
+ | margin: 0 10%; /* Will not overlap with other elements */ | ||
+ | border-collapse: collapse; | ||
+ | background: #fbfbfb; | ||
+ | border: 1px solid #aaa; | ||
+ | border-left: 10px solid #608ec2; /* Default "notice" blue */ | ||
+ | } | ||
+ | table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ | ||
+ | padding: .25em .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 0 2px .5em; /* 0.5em left, 0px right */ | ||
+ | text-align: center; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | table.ambox td.ambox-imageright { /* The right image cell */ | ||
+ | padding: 2px 4px 2px 0; /* 0px left, 4px right */ | ||
+ | text-align: center; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | table.ambox-notice { | ||
+ | border-left: 10px solid #608ec2; /* Blue */ | ||
+ | /* border-right: 10px solid #608ec2; */ /* 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-left: 1em; | ||
+ | width: 25%; | ||
+ | } | ||
+ | |||
+ | /* Klickbar högtalarikon i [[Mall:Audio]] */ | ||
+ | .audiolink a { | ||
+ | background: url("http://upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important; | ||
+ | padding-left: 16px !important; | ||
+ | padding-right: 0 !important; | ||
+ | } | ||
+ | |||
+ | /* För malldokumentation, se [[Mall:Dokumentation]] */ | ||
+ | .template-documentation { | ||
+ | clear: both; | ||
+ | margin-top: 1em; | ||
+ | border: 1px solid #aaa; | ||
+ | background-color: #ecfcf4; | ||
+ | padding: 5px; | ||
+ | overflow: auto; | ||
+ | } | ||
+ | |||
+ | /* standardskin för Mall:Navbox */ | ||
+ | table.navbox { /* navbox container style */ | ||
+ | border:1px solid #aaa; | ||
+ | width:100%; | ||
+ | margin:auto; | ||
+ | clear:both; | ||
+ | font-size:88%; | ||
+ | text-align:center; | ||
+ | padding:1px; | ||
+ | } | ||
+ | table.navbox + table.navbox { | ||
+ | margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ | ||
+ | } | ||
+ | .navbox-title, .navbox-abovebelow, table.navbox th { | ||
+ | text-align:center; /* title and above/below styles */ | ||
+ | padding-left:1em; | ||
+ | padding-right:1em; | ||
+ | } | ||
+ | .navbox-group { /* group style */ | ||
+ | white-space:nowrap; | ||
+ | text-align:right; | ||
+ | font-weight:bold; | ||
+ | padding-left:1em; | ||
+ | padding-right:1em; | ||
+ | } | ||
+ | .navbox, .navbox-subgroup { | ||
+ | background:#fdfdfd; /* Background color */ | ||
+ | } | ||
+ | .navbox-list { | ||
+ | border-color:#fdfdfd; /* Must match background color */ | ||
+ | } | ||
+ | .navbox-title, table.navbox th { | ||
+ | background:#b0c4de; /* Level 1 color */ | ||
+ | } | ||
+ | .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { | ||
+ | background:#d0e0f5; /* Level 2 color */ | ||
+ | } | ||
+ | .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | ||
+ | background:#deeafa; /* Level 3 color */ | ||
+ | } | ||
+ | .navbox-even { | ||
+ | background:#f7f7f7; /* Even row striping */ | ||
+ | } | ||
+ | .navbox-odd { | ||
+ | background:transparent; /* Odd row striping */ | ||
+ | } | ||
+ | |||
+ | /* Bakgrundsbild för huvudsidans banner */ | ||
+ | #huvudsidaintro { background-image: url(http://upload.wikimedia.org/wikipedia/commons/3/3e/MP-open-book4.png); } | ||
+ | |||
+ | |||
+ | /* För att den som så önskar skall kunna gömma vissa bilder */ | ||
+ | #nakenhet { } | ||
+ | |||
+ | /* Markera omdirigeringssidor i kategorier */ | ||
+ | .redirect-in-category { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | /* Lägger in schackrutor i bakgrunden på transparenta bilder á commons */ | ||
+ | |||
+ | #file img{ | ||
+ | background:url(http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png); | ||
+ | border:1px solid #eee; | ||
+ | } | ||
+ | |||
+ | pre{ | ||
+ | overflow:auto; | ||
+ | } | ||
+ | |||
+ | /*Molning bakgrund*/ | ||
+ | .cloud { | ||
+ | background: url(http://upload.wikimedia.org/wikipedia/commons/0/0b/Cirrus_over_Warsaw%2C_June_26%2C_2005.jpg) 35% 50% no-repeat !important; | ||
+ | } | ||
+ | |||
+ | .hiddenref .references { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* Förbättrad stil på [[Special:Systemmeddelanden]] */ | ||
+ | table#allmessagestable{ | ||
+ | border-collapse:collapse; | ||
+ | margin-top:.2em; | ||
+ | } | ||
+ | table#allmessagestable tr.def td, table#allmessagestable tr.new td, table#allmessagestable tr.orig td{ | ||
+ | padding:.2em; | ||
+ | } | ||
+ | |||
+ | /* Styling for citations */ | ||
+ | cite { | ||
+ | font-style: normal; | ||
+ | } | ||
+ | |||
+ | /* For linked citation numbers and document IDs, where | ||
+ | the number need not be shown on a screen or a handheld, | ||
+ | but should be included in the printed version | ||
+ | */ | ||
+ | @media screen, handheld, projection { | ||
+ | cite *.printonly { | ||
+ | display: none; | ||
+ | } | ||
+ | } | ||
+ | /** ////////////////////////////////////////////////////////////// **/ | ||
+ | /** WIKIPEDIA (end) **/ | ||
+ | /** ////////////////////////////////////////////////////////////// **/ | ||
Nuvarande version från 16 juni 2009 kl. 18.42
/** ////////////////////////////////////////////////////////////// **/ /** WIKIPEDIA (start) **/ /** ////////////////////////////////////////////////////////////// **/ /* Wikitabeller */ table.wikitable { margin: .5em; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td { border: 1px #aaa solid; padding: .2em; } table.wikitable th { background: #f2f2f2; text-align: center; } table.wikitable caption { margin-left: inherit; margin-right: inherit; } .hiddenStructure { display: none; speak: none; } /* Infobox-mallar */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin:.5em 0 .5em 1em; padding: .2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; padding:0 .2em; } .infobox caption { font-size: larger; } .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; } /* Kursiva redirecter i allpages */ .allpagesredirect { font-style: italic; } /* Stilmallar för avgränsade infoboxar med sammansatta rader */ .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; } /* "plainlinksneverexpand" säkerställer att inget mellanrum läggs till efter en länk och att ingen "extern-länk-pil" läggs till. */ .plainlinksneverexpand { background: none ! important; padding: 0 ! important; } .plainlinksneverexpand .urlexpansion { display: none ! important; } .plainlinksneverexpand a { background: none !important; padding: 0 !important; } /* Används av "commonPrint.css" */ .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !important; } /* Mallar för meddelanderutor */ .messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 4px; } /* stilar för geografiska infoboxar, t.ex. länder, nationella indelningar, städer osv. */ .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, .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: solid 1px #ccd2d9; padding: .4em .2em .4em .8em; } .infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 .2em .2em .8em; } .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: solid 1px #ccd2d9; padding: 0 .2em .4em .8em; } .infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; } /* Standard navigationslista, d.v.s. boxgömmargrejen från .de */ div.Boxmerge, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: .2em; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; position:relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0; right:.25em; font-weight:normal; font-size:smaller; } /* Något mindre storlek för referenslistorna. */ .references { font-size: 95%; } /* Öka läsbarheten när referenser och sub/sup används */ .reference a { font-size: 90%; } sub, sup { line-height: 0; } /* Gör så att vald referens markeras med annan bakgrundsfärg, så att man hittar i listan. Från enwiki. Fungerar tyvärr ej i IE. */ ol.references > li:target { background-color: #DEF; } sup.reference:target { background-color: #DEF; } /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ /* column-count is from the CSS3 module "CSS Multi-column Layout" */ /* Please ignore any validator errors caused by these two lines */ .references-2column { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; } /*** Stilar för huvudsidan ***/ /* Rubriker */ body.page-Portal_Huvudsida #kolumn1 h2, body.page-Portal_Huvudsida #kolumn2 h2 { font-size: 110%; margin-bottom: .75em; margin-top: 1em; padding: 2px; } body.page-Portal_Huvudsida #kolumn1 h2 { border-bottom: 1px solid #bcd2ee; background-color: #f0f5ff; } body.page-Portal_Huvudsida #kolumn2 h2 { border-bottom:1px solid #fec088; background-color:#ffe7ba; } /* Geografiska koordinater För att visa koordinater med notationen i källkoden, lägg till detta i din Användare:Användarnamn/monobook:css: .geo-default { display: inline } .geo-nondefault { display: none } .geo-dec { display: inline } .geo-dms { display: inline } För att visa koordinater med decimalnotation, lägg till detta i din Användare:Användarnamn/monobook:css: .geo-default { display: inline } .geo-nondefault { display: inline } .geo-dec { display: inline } .geo-dms { display: none } För att visa koordinater med DMS-notation, lägg till detta i din Användare:Användarnamn/monobook:css: .geo-default { display: inline } .geo-nondefault { display: inline } .geo-dec { display: none } .geo-dms { display: inline } För att visa koordinater med både decimal- och DMS-notation, lägg till detta i din Användare:Användarnamn/monobook:css: .geo-default { display: inline } .geo-nondefault { display: inline } .geo-dec { display: inline } .geo-dms { display: inline } .geo-multi-punct { display: inline } Se [[Mall:Coord/link]] för att se hur de används. Notera att klasserna "geo", "longitude", och "latitude" inte bara är stilar utan också används av [[en:Geo (microformat)]], så namnen bör inte ändras. */ .geo-default { display: inline; } .geo-nondefault { display: none; } .geo-dms { display: inline; } .geo-dec { display: inline; } .geo-multi-punct { display: none; } .longitude .latitude { white-space: nowrap; } /* Detta används för Geo, men ingen stil behövs för tillfället utom .geo-dec. */ .geo { } /***** slut på geografirelaterat */ /* mall för kvalitetsmallar */ table.ambox { margin: 0 10%; /* Will not overlap with other elements */ border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #608ec2; /* Default "notice" blue */ } table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ padding: .25em .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 0 2px .5em; /* 0.5em left, 0px right */ text-align: center; vertical-align: middle; } table.ambox td.ambox-imageright { /* The right image cell */ padding: 2px 4px 2px 0; /* 0px left, 4px right */ text-align: center; vertical-align: middle; } table.ambox-notice { border-left: 10px solid #608ec2; /* Blue */ /* border-right: 10px solid #608ec2; */ /* 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-left: 1em; width: 25%; } /* Klickbar högtalarikon i [[Mall:Audio]] */ .audiolink a { background: url("http://upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important; padding-left: 16px !important; padding-right: 0 !important; } /* För malldokumentation, se [[Mall:Dokumentation]] */ .template-documentation { clear: both; margin-top: 1em; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px; overflow: auto; } /* standardskin för Mall:Navbox */ table.navbox { /* navbox container style */ border:1px solid #aaa; width:100%; margin:auto; clear:both; font-size:88%; text-align:center; padding:1px; } table.navbox + table.navbox { margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ } .navbox-title, .navbox-abovebelow, table.navbox th { text-align:center; /* title and above/below styles */ padding-left:1em; padding-right:1em; } .navbox-group { /* group style */ white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em; } .navbox, .navbox-subgroup { background:#fdfdfd; /* Background color */ } .navbox-list { border-color:#fdfdfd; /* Must match background color */ } .navbox-title, table.navbox th { background:#b0c4de; /* Level 1 color */ } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background:#d0e0f5; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background:#deeafa; /* Level 3 color */ } .navbox-even { background:#f7f7f7; /* Even row striping */ } .navbox-odd { background:transparent; /* Odd row striping */ } /* Bakgrundsbild för huvudsidans banner */ #huvudsidaintro { background-image: url(http://upload.wikimedia.org/wikipedia/commons/3/3e/MP-open-book4.png); } /* För att den som så önskar skall kunna gömma vissa bilder */ #nakenhet { } /* Markera omdirigeringssidor i kategorier */ .redirect-in-category { font-style: italic; } /* Lägger in schackrutor i bakgrunden på transparenta bilder á commons */ #file img{ background:url(http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png); border:1px solid #eee; } pre{ overflow:auto; } /*Molning bakgrund*/ .cloud { background: url(http://upload.wikimedia.org/wikipedia/commons/0/0b/Cirrus_over_Warsaw%2C_June_26%2C_2005.jpg) 35% 50% no-repeat !important; } .hiddenref .references { display: none; } /* Förbättrad stil på [[Special:Systemmeddelanden]] */ table#allmessagestable{ border-collapse:collapse; margin-top:.2em; } table#allmessagestable tr.def td, table#allmessagestable tr.new td, table#allmessagestable tr.orig td{ padding:.2em; } /* Styling for citations */ cite { font-style: normal; } /* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */ @media screen, handheld, projection { cite *.printonly { display: none; } } /** ////////////////////////////////////////////////////////////// **/ /** WIKIPEDIA (end) **/ /** ////////////////////////////////////////////////////////////// **/ /** ////////////////////////////////////////////////////////////// **/ /** RIL (start) **/ /** ////////////////////////////////////////////////////////////// **/ /** CSS som skrivs här nedan påverkar alla skal **/ /* <pre> */ /* --------------------------------------------------- */ /* For better display of RecentChanges page */ /* */ /* Extension: TransformChanges */ /* */ /* --------------------------------------------------- */ table.changes { border:none; width:100%; } table.changes tr { margin:0; padding:0; } table.changes tr.even { background:white; } table.changes tr.odd { background:#eee; } table.changes td { margin:0; padding: 1px 4px 0 4px; vertical-align: top; } table.changes td.heading { font-size: 110%; font-weight:bold; padding-top:10px; } table.changes td.comment { width:100%; } table.changes td.talk, table.changes td.diff { font-size: 90%; } table.changes td.user, table.changes td.talk, table.changes td.diff, table.changes td.info { white-space: nowrap; } /* --------------------------------------------------- */ /* Line up checkboxes for namespaces on search page // SHL */ form#powersearch label { display: block; width: 200px; float: left; clear: none; } /* This make linebreaks break even if form#powersearch label elementss don't "clear" (i.e. they have clear=none) */ form#powersearch br { clear: both; } /* <Special style for the Template rpsv_fromrilpedia> // SHL 2006-12-26 */ .rpsv_fromrilpedia, .helpbanner { background: url(http://sv.rilpedia.org/w/ril-misc/rilpedia/images/Fromrilpedia_bg_lighter.jpg); } /* </Special style for the Template rpsv_fromrilpedia> */ .whitelinks a {d color: #fff; } .whitelinks a:link { color: #fff; } .whitelinks a:active { color: #fff; } .whitelinks a:hover { color: #fff; text-decoration: underline; } .whitelinks a:visited { color: #fff; } .slimnavigator { background: url('/w/ril-misc/rilpedia/images/rpsv.rilbible.navigator.navigatorbar.jpg') 0 0 repeat-x; } table.slimnavigator td { padding: 0 0.5em; } table.slimnavigator { -moz-border-radius: 1em 1em 0 0; } /* make all corner rounded on biblenavigator when it occurs as "stand-alone" */ #BibleverseContent + table.slimnavigator { -moz-border-radius: 1em 1em 1em 1em; } #BiblechapterContent + table.slimnavigator { -moz-border-radius: 0 0 1em 1em; -moz-background-clip: padding; overflow: hidden; } /* Styles for Rilpedia Guides */ .GuideBG { background: url('/w/ril-misc/rilpedia/images/guide-bg.jpg') 0 0 repeat-x; } .GuideLinks a, .GuideLinks a:link, .GuideLinks a:visited { color: #000; font-weight: normal; } .GuideLinks a:hover { color: #3333cc; font-weight: normal; } .GuideImage { background: url('/w/ril-misc/rilpedia/images/guide-image.jpg') top right no-repeat; } .GuideSequence { font-size: 0.9em; } .GuideSequence ul li { display: inline; } .GuideSequence ul li a, .GuideSequence ul li .selflink { padding: 0em 0.4em; border: 1px solid #989A92; color: #989A92; } .GuideSequence ul li a:hover, .GuideSequence ul li .selflink { background: #BEBFBA; text-decoration: none; color: #333; } /* </pre> */ /* Styles for Ril navigator */ #rilheader { background-image: url(/w/ril-misc/rilpedia/images/rilnavigator-banner-bg-grey.jpg); background-position: top right; background-repeat: repeat-x; font-size: 1.1em; border-bottom: 1px solid #9C9D98; } div#rilnavigator { padding-right: 1em; } #rilnavigator ul { display: block; float: right; vertical-align: top; margin: 0; } #rilnavigator ul li { display: inline; } #rilnavigator ul li a, #rilnavigator ul li a:link, #rilnavigator ul li a:visited { font-weight: normal; background: #efefef; color: #333; padding: 0.2em 0.4em 0.2em 0.6em; border-width: 1px 1px 1px 1px; border-style: solid; border-color: #9C9D98; } #rilnavigator ul li a:hover { background: #efefef; } /* Tabmenu styles *** == Usage == <div class="tabmenu"> *[[Page 1]] *[[Page 2]] *[[Page 3]] </div> */ .tabmenu ul { display: block; font-size: 0.94em; border-collapse: separate; padding: 0 0 0 1em; margin: 0.7em 0 0.5em 0; white-space: nowrap; list-style: none; height: auto; line-height: normal; border-width: 0 0 1px 0; border-style: solid; border-color: #bbb; overflow: visible; } .tabmenu ul li { display: inline; } .tabmenu ul a { background-color: #ddd; border-color: #bbb; border-width: 1px; border-style: solid solid none solid; height: auto; margin-right: 0.5em; padding: 0 1em; text-decoration: none; z-index: 5; } .tabmenu ul .selflink { background-color: #fff; border: 1px solid #bbb; border-bottom: 1px solid #fff; height: auto; margin-right: 0.5em; padding: 1px 1em 0 1em; text-decoration: none; z-index: 5; } .rpsv-block { display: block; padding: 0 0.5em; font-size: 0.86em; background-color: #efefef; border: 1px solid #ccc; background-image: url('/w/ril-misc/rilpedia/images/rpsv.blockbg.jpg'); background-position: 0 0; background-repeat: repeat-x; -moz-border-radius-bottomright: 12px; } .rpsv-block img { margin-top: 0.3em; } .inputbox-without-bg form.searchbox, .inputbox-without-bg table, .inputbox-without-bg td, .inputbox-without-bg p { background: none; background-color: transparent; } .sticky { border: 1px solid #D2CD8C; background: #ECE9C3; margin: 1em 0.2em 1em 0.2em; padding: 0 1em 0.2em 1em; } .helpbanner { background: #ffffff; background-image: url(http://sv.rilpedia.org/w/ril-misc/rilpedia/images/Fromrilpedia_bg_lighter.jpg); background-position: top left; background-repeat: repeat-x; } .helpbanner { text-align: center; padding: 0.2em 0.4em; margin: 0.4em 0 0.7em 0; border-width: 1px 0 0 0; border-color: #999; border-style: solid; height: 24px; } /* Remove first heading on frontpage */ body.page-Huvudsida h1.firstHeading { display: none; } /* Frontpage / Right pane */ #Main_Page_RightPane { background: #f9f9f9; border: 1px solid #ccc; padding: 3px; margin: 3px 0 5px 0; } /* Frontpage / "More Info"-box */ #Main_Page_MoreInfo { background: #f9f9f9; border: 1px solid #ccc; padding: 7px; margin: 3px 3px 5px 3px; } /*</nowiki></pre> === Misc === <pre> */ .rightpane-content { font-size: 11px; padding: 5px 7px 5px 7px; text-align: left; } #BibleverseNavigator p, #BibleverseSubNavigator p, #BiblechapterNavigator p, #BiblechapterSubNavigator p { margin: 0; } /* </pre> */ /** ////////////////////////////////////////////////////////////// **/ /** RIL (end) **/ /** ////////////////////////////////////////////////////////////// **/