Forskel mellem versioner af "MediaWiki:Common.css"
Hp (diskussion | bidrag) m |
Hp (diskussion | bidrag) m |
||
Linje 147: | Linje 147: | ||
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
− | |||
} | } | ||
Versionen fra 5. dec 2018, 14:11
/* 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 */
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;
}
/* 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;
}