MediaWiki:Common.css: Forskelle mellem versioner

Spring til navigation Spring til søgning
m (1 version importeret)
mNo edit summary
Linje 219: Linje 219:
  * Styling for links generated by [[MediaWiki:Edittools]]
  * Styling for links generated by [[MediaWiki:Edittools]]
  * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
  * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
  * @updated 2012-02-29
  * @updated 2020-03-17
  */
  */
.mw-charinsert-buttons {
.mw-charinsert-buttons {
border: 1px solid #aaa;
margin-top: 10px;
margin-top: 10px;
border: 1px solid #aaaaaa;
padding: 1px;
padding: 1px;
font-size: 1.1em;
text-align: center;
text-align: center;
font-size: 110%;
}
}
.mw-charinsert-buttons a {
.mw-charinsert-buttons a {
color: black;
background-color: #cde !important;
background-color: #cde !important;
color: #000;
border: thin #069 outset;
padding: 0 1px 1px;
font-weight: bold;
font-weight: bold;
font-size: .9em;
font-size: 0.9em;
text-decoration: none;
text-decoration: none;
border: thin #069 outset;
padding: 0 .1em .1em;
}
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
.mw-charinsert-buttons a:active {
Linje 242: Linje 244:
border-style: inset;
border-style: inset;
}
}
.client-js .mw-edittools-section {
.client-js .mw-edittools-section {
display: inline;
display: inline;
}
}
.client-js .mw-edittools-section input[type="button"] {
.client-js .mw-edittools-section input[type="button"] {
font-size: 0.9em;
font-size: 0.9em;
margin-left: 1px;
padding-left: 1px;
padding-left: 1px;
padding-right: 1px;
padding-right: 1px;
margin-left: 1px;
}
}

Versionen fra 12. aug. 2021, 19:37

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



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