MediaWiki:Common.css
Udseende
Bemærk: Efter at have gemt er du måske nødt til at tømme din browsers cache for at kunne se ændringerne.
- Firefox / Safari: Hold Shift nede og klik på Reload, eller tryk enten Ctrl-F5 eller Ctrl-R (⌘-R på en Mac).
- Google Chrome: Tryk Ctrl-Shift-R (⌘-Shift-R på en Mac).
- Edge: Hold Ctrl nede og klik på Refresh, eller tryk på Ctrl-F5.
/* Fælles CSS for alle udseender */
/*<pre><nowiki>*/
/* Display "Fra Wikipedia, den frie encyklopædi" */
#siteSub {
display: inline;
font-size: 80%;
font-weight: normal;
}
/* Vis ikke diverse ting og sager på forsiden */
body.page-Saqqaa #siteSub, /* Tagline "Fra Wikipedia, den frie encyklopædi" (fra [[MediaWiki:Tagline]]) */
body.page-Saqqaa h1.firstHeading /* Artikeloverskrift: "Forside" */
{
display: none !important;
}
/* Vis ikke diverse ting og sager på portal:Forside - findes pt. ikke i klwiki */
body.page-Portal_Saqqaa #siteSub, /* Tagline "Fra Wikipedia, den frie encyklopædi" (fra [[MediaWiki:Tagline]]) */
body.page-Portal_Saqqaa h1.firstHeading /* Artikeloverskrift: "Forside" */
{
display: none !important;
}
/* Metadata (f.eks. persondata) */
table.metadata {
border: 1px solid #aaaaaa;
display: none;
}
/* gør listen over fodnoter/referencer mindre */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
/* wikitable-klasse til at give tabeller et ens udseende */
table.wikitable
{
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td
{
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th
{
background: #f2f2f2;
text-align: center;
}
table.wikitable caption
{
margin-left: inherit;
margin-right: inherit;
}
/* default skin for navigation boxes */
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:#ccccff; /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background:#ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background:#e6e6ff; /* Level 3 color */
}
.navbox-even {
background:#f7f7f7; /* Even row striping */
}
.navbox-odd {
background:transparent; /* Odd row striping */
}
.navbox-lige {
background:#f7f7f7; /* Even row striping */
}
.navbox-ulige {
background:transparent; /* Odd row striping */
}
@media print {
.navbox {
display: none;
}
}
/*
* Sammenklappelige lister ([[Wikipedia:Sammenklappelige lister]])
*/
div.NavGroup,
div.NavFrame {
margin: 0px;
padding: 2px;
border: 1px solid #999999;
text-align: center;
border-collapse: collapse;
font-size: 95%;
clear:both;
}
div.NavFrame p {
font-size: 100%;
}
div.NavGroup div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefef;
}
div.NavContent {
font-size: 100%;
background-color: #fafafa;
padding: 2px;
}
div.NavFrame div.NavContent p {
text-align: center;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
.NavToggle {
font-size: x-small;
float:right;
}
/* Navigationsleisten nicht mit ausdrucken */
@media print{
.NavFrame {
display: none;
}
}
/*
* Style til interne links der konstrueres ved hjælp af {{PAGEURL}} etc.
*/
#bodyContent .plainlinks a {
background: none !important;
padding: 0 !important;
}
/* CommonsTicker styles */
.tickerList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; }
.tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; }
.tickerAction_deleted:before { content:" SLETTET "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_restored:before { content:" GNDN "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_replaced:before { content:" ERST "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedTag:before { content:" +SLET "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedTag:before { content:" -SLET "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedBad:before { content:" +SLET "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedBad:before { content:" -SLET "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedGood:before { content:" +LICN "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedGood:before { content:" -LICN "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerUsage { font-size:80%; } /* ticker usage list */
.tickerTemplateEntry { font-weight: bold; } /* entry applies to a template used by multiple images */
/* per-status styles */
.tickerStatus_done:before {content:" Fixet "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:90%; text-decoration: none;}
.tickerStatus_done { text-decoration:line-through; font-size: small; }
/* strike through when entry has been handeled (done) */
/*.tickerStatus_done .tickerAction_deleted:before { content:" "; text-decoration: none;}*/
.tickerStatus_done .tickerAction_deleted:before { text-decoration: none; }
/* local reupload */
.tickerStatus_local {text-decoration:line-through; font-size: small; }
.tickerStatus_local .tickerAction_deleted:before {content:" "; text-decoration: none;}
.tickerStatus_local:before { content:" genuploadet lokalt "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:90%; text-decoration: none;}
/* in process of fixing */
.tickerStatus_fixing .tickerAction_deleted:before {content:" "; text-decoration: none;}
.tickerStatus_fixing:before {content:"fixer"; color: #FF8800; font-family:monospace; font-weight:bold; font-size:90%;}
/* Won't fix */
.tickerStatus_wontfix .tickerAction_deleted:before {text-decoration: none;}
.tickerStatus_wontfix {text-decoration: line-through;}
.tickerStatus_wontfix:before {content:"vil ikke fixe"; color: #CC0000; font-family:monospace; font-weight:bold; font-size:90%;text-decoration:none;}
/* similiar */
.tickerStatus_similiar .tickerAction_deleted:before {text-decoration: none;}
.tickerStatus_similiar {text-decoration: line-through;}
.tickerStatus_similiar:before {content:"REPL Article;no fix"; color: #FF4400; font-family:monospace; font-weight:bold; font-size:90%;text-decoration:none;}
/* NA */
.tickerStatus_NA .tickerAction_deleted:before {text-decoration: none;}
.tickerStatus_NA:before {content:"No NEG"; color: #00FF20;}
ul span.tickerStatus_NA + ul span.tickerUsage {display:none;}
span.tickerStatus_NA span.tickerUsage {display:none;}
/*Needed so that both subentrys and non-subentrys both are invisivble */
/* Import fra EN for at kunne bruge video og lydlinks */
/* Icons for medialist templates [[Skabelon:Multi-video start]] */
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;
}
/* Messagebox templates */
.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;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 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 #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #aaaaaa;
border-right: 1px solid #aaaaaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #aaaaaa;
}
/* styles for geography infoboxes, e.g. countries, national 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;
}
/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat;
padding-right: 16px;
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 17px !important;
}
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
background-color: #DEF;
}
/* Taget fra fransk, Article détaillé, på opfordring af Bruger:Sir48, til brug i {{Uddybende3}} */
.detail, .details {
margin: 0 0 0.7em 2em;
border: 1px solid #e7e7e7;
border-width: 1px 0;
text-align:left;
font-size:95%;
background: #fdfdfd;
padding:1px 4px;
display: table;
}
.detail > span {
display: table-row;
}
.detail > span > span {
display: table-cell;
padding-left: 4px;
width:100%;
}
/* Inline div's i ImageMaps (kode stjålet fra de.wiki) */
.imagemap-inline div {
display: inline;
}
/* standardboks udviklet af HenrikRomby -- det er ham, du skal skælde ud */
table.standardboks {
background-color: #fafafa;
border: 1px solid #ccd2d9;
line-height: 1.2em;
font-size: 90%;
margin-bottom: 0.5em;
margin-left: 1em;
}
td.standardboksTopboks {
font-size: 140%;
text-align: center;
border-bottom: 1px solid #c0b8cc;
padding: 0.4em 0.2em 0.4em 0.8em;
}
td.standardboksOverskrift {
text-align: center;
border-bottom: 1px solid #c0b8cc;
border-top: 1px solid #c0b8cc;
padding: 0.4em 0.2em 0.4em 0.8em;
}
td.standardboksRække {
padding: 0 0.2em 0.2em 0.8em;
}
td.standardboksBillede {
text-align: center;
}
td.standardboksBilledtekst {
text-align: center;
padding: 0.4em 0.2em 0.2em 0.2em;
}
td.standardboksBundboks {
text-align: center;
border-top: 1px solid #c0b8cc;
padding: 0.4em 0.2em 0.4em 0.8em;
}
/* Undgå ekstra linjeafstand ved sup og sub */
sup, sub {
line-height: 1em;
}
/* </nowiki></pre> */
/* Styling for citations */
cite {
font-style: normal;
word-wrap: break-word;
}
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target {
background-color: #DEF;
}
/* 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;
}
}
/* Farver på bytes */
.mw-plusminus-pos {
color:green;
}
.mw-plusminus-neg {
color:red;
}
/* Infobokse fra monobook(ved ikke om de bruges*/
.infoboks-start1
{
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
width: 220px;
margin-left: 1em;
float: right;
font-size: 90%;
}
.infoboks-start2
{
text-align: center;
background-color: #ccf;
}
.infoboks-start3
{
border-top: 3px solid #ccf;
border-bottom: 3px solid #ccf;
font-size: 130%;
font-weight: bold;
margin-bottom: 0.8ex;
}
.infoboks-overskrift-td
{
text-align: center;
font-size: 105%;
font-weight: bold;
}
.infoboks-billede
{
text-align: center;
padding: 3px;
}
.infoboks-billedtekst
{
text-align: center;
font-size: 100%;
}
.infoboks-celle1-td
{
font-weight: bold;
padding: 2px;
}
.infoboks-celle2 { padding: 2px; }
.infoboks-overskrift-tr { background-color: #d3d3d3; }
.infoboks-overskrift-td
{
text-align: center;
font-size: 105%;
font-weight: bold;
}
.infoboks-celle1 { background-color: #efefef; }
.infoboks-celle1-td
{
font-weight: bold;
border-bottom: 1px solid #d3d3d3;
}
.infoboks-celle2 {
border: 0;
border-bottom: 1px solid #d3d3d3;
padding: 0;
}
/* Slut infobokse fra monobook*/