MediaWiki:Common.css

Skift til: navigering, 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: 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. */

/* [[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 */
.navbox {                     /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
	margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;      /* Title, group and above/below styles */
	line-height: 1.5em;
	text-align: center;
}
th.navbox-group {             /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}
.navbox,
.navbox-subgroup {
	background-color: #fdfdfd; /* Background color */
}
.navbox-list {
	line-height: 1.5em;
	border-color: #fdfdfd;    /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
	background-color: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
	background-color: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
	background-color: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 88%;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.mw-body-content .navbar ul {
	line-height: inherit;
}
.navbar li {
	word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
	font-variant: small-caps;
	border-bottom: none;
	text-decoration: none;
	cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
	font-size: 100%;
}
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
}

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

 .navbox-lige {
   background:#f7f7f7;     /* Even row striping */
 }
 .navbox-ulige {
   background:transparent; /* Odd row striping */
 }




/* navigations popup, indstilles med [[MediaWiki:Gadget-popups.js]] */
 .navpopup { 
   background-color: #d0d0d   !important;
   color:            #000000  !important;
   font-size:        x-small  !important;
 }

/*
** 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 2012-02-29
 */
.mw-charinsert-buttons {
	margin-top: 10px;
	border: 1px solid #aaaaaa;
	padding: 1px;
	text-align: center;
	font-size: 110%;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.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;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 1px;
}