MediaWiki:Common.css

Spring til navigation Spring til søgning

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 skins. */

/* Tooltip boks */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px black; /* If you want dots under the hoverable text */
}

/* Tooltip tekst */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: #FFFFFF;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Positionen af tooltip teksten */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -50px;

  /* Fade tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip pil */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Vis tooltip teksten når musen er over tooltip boksen */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* [[Font]] */
body {
  font-family: 'Segoe UI', Fallback, sans-serif;
}

/* Udeladelser ved print */

/* nummererede og u-nummererede lister */
 #content ol, #content ul, #mw_content ol, #mw_content ul {
   margin-top: 0em;
   margin-bottom: 0em;
 }

/*  indrykkede lister  */
dt {
	font-weight: bold;
	margin-bottom: .1em;
}
dl {
	margin-top: 0em;
	margin-bottom: .1em;
}
dd {
	line-height: 1.5em;
	margin-left: 3em;
	margin-bottom: .1em;
}

/*  afsnit og overskrifter  */
blockquote {
   margin-top: 0em;
   margin-bottom: .1em;
   margin-left: 3em;
   margin-right: 3em;
}
p {
   margin: .3em 0 .2em 0;
   line-height: 1.4em;
 }
 h1, h2, h3, h4, h5, h6 {
   background: none;
   font-weight: normal;
   margin: 0;
   padding-top: .3em;
   padding-bottom: .05em;
   border-bottom: 1px solid #aaa;
 }
 h1 { font-size: 135%; }
 h1 .editsection { font-size: 74%; }

 h2 { font-size: 130%; }
 h2 .editsection { font-size: 77%; }
 h3, h4, h5, h6 {
   border-bottom: none;
   font-weight: bold;
 }
 h3 { font-size: 122%; }
 h3 .editsection { font-size: 82%; font-weight: normal; }

 h4 { font-size: 115%; }
 h4 .editsection { font-size: 87%; font-weight: normal; }

 h5 { font-size: 109%; }
 h5 .editsection { font-size: 92%; font-weight: normal; }

 h6 { font-size: 100%; }
 h6 .editsection { font-size: 100%; font-weight: normal; }
 h6 { padding-bottom: none; }

/* Undgå ekstra linjeafstand ved sup og sub */
 sup, sub { line-height: 1em; }

/* Fodnoter/reference-listen gøres mindre */
 ol.references { font-size: 95%; }
 .references-small { font-size: 90%;}

/* Vis omdirigeringer med kursiv i kategori og på [[Special:Allpages]] */
 .redirect-in-category, .allpagesredirect {
    font-style: italic;
 }

/* Standard skin for navigationsbokse */
 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 */
 }


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

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
	font-weight: normal;
	/* @noflip */
	text-align: right;
	padding-right: 0.2em;
	padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
}



/*
** content styles
*/

#toc,
.toc,
.mw-warning {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	padding: 5px;
	font-size: 95%;
}
#toc h2,
.toc h2 {
	display: inline;
	border: none;
	padding: 0;
	font-size: 100%;
	font-weight: bold;
}
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	text-align: center;
}
#toc ul,
.toc ul {
	list-style-type: none;
	list-style-image: none;
	margin-left: 0;
	padding-left: 0;
	text-align: left;
}
#toc ul ul,
.toc ul ul {
	margin: 0 0 0 2em;
}
#toc .toctoggle,
.toc .toctoggle {
	font-size: 94%;
}

.mw-warning {
	margin-left: 50px;
	margin-right: 50px;
	text-align: center;
}


/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	border: 1px solid #aaa;
	margin-top: 10px;
	padding: 1px;
	font-size: 1.1em;
	text-align: center;
}

.mw-charinsert-buttons a {
	background-color: #cde !important;
	color: #000;
	border: thin #069 outset;
	padding: 0 1px 1px;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
}

.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}

.client-js .mw-edittools-section {
	display: inline;
}

.client-js .mw-edittools-section input[type="button"] {
	font-size: 0.9em;
	margin-left: 1px;
	padding-left: 1px;
	padding-right: 1px;
}