MediaWiki:Common.css: Forskelle mellem versioner

Spring til navigation Spring til søgning
mNo edit summary
mNo edit summary
Tag: Tilbagerullet
Linje 217: Linje 217:


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


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


.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:hover {
background-color: #fff;
    color: #404244;
}
 
.mw-charinsert-buttons a:active {
.mw-charinsert-buttons a:active {
background-color: #bcd;
background-color: #c8ccd1;
border-style: inset;
border-style: inset;
}
}
Linje 250: Linje 254:


.client-js .mw-edittools-section input[type="button"] {
.client-js .mw-edittools-section input[type="button"] {
background-color: #f8f9fa;
color: #202122;
margin-left: 1px;
    border-radius: 2px;
padding: 1px 6px;
font-size: 0.9em;
font-size: 0.9em;
margin-left: 1px;
    /* Apply pointer cursor to all interactive elements. */
padding-left: 1px;
    cursor: pointer;
padding-right: 1px;
}
 
.client-js .mw-edittools-section input[type="button"]:hover {
background-color: #fff;
    color: #404244;
}
 
.client-js .mw-edittools-section input[type="button"]:active {
background-color: #c8ccd1;
    color: #000;
}
}

Versionen fra 12. aug. 2021, 21:06

/* 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]] in WikimediaUI inspired theme.
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	margin-top: 8px;
	border: 1px solid #c8ccd1;
	padding: 2px 4px 4px;
	font-size: 1.1em;
	text-align: center;
}

.mw-charinsert-buttons a {
	background-color: #f8f9fa !important;
	color: #202122;
	border: thin #36c outset;
	padding: 0 1px 2px;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
}

.mw-charinsert-buttons a:hover {
	background-color: #fff;
    color: #404244;
}

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

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

.client-js .mw-edittools-section input[type="button"] {
	background-color: #f8f9fa;
	color: #202122;
	margin-left: 1px;
    border-radius: 2px;
	padding: 1px 6px;
	font-size: 0.9em;
    /* Apply pointer cursor to all interactive elements. */
    cursor: pointer;
}

.client-js .mw-edittools-section input[type="button"]:hover {
	background-color: #fff;
    color: #404244;
}

.client-js .mw-edittools-section input[type="button"]:active {
	background-color: #c8ccd1;
    color: #000;
}