MediaWiki:Common.css

Fra Wikiquote

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).
  • Internet Explorer / Edge: Hold Ctrl nede og klik på Refresh, eller tryk på Ctrl-F5.
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files
/** CSS inkluderet her vil være aktivt for alle brugere. */
/* Fælles CSS for alle udseender */

/*<pre><nowiki>*/

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



 /*
 * 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/thumb/2/23/Icons-mini-file_acrobat.gif/15px-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;
}

/* Bugzilla 17009 - se //da.wikipedia.org/wiki/Wikipedia:Landsbybr%C3%B8nden/arkiv42#Det_fleste_infobokse_fungere_ikke_l.C3.A6ngere */

.hiddenStructure {
  display: none;
}

 /* </nowiki></pre> */