Anonymous
×
Create a new article
Write your page title here:
We currently have 105 articles on MOR Wiki. Type your article name above or click on one of the titles below and start writing!



MOR Wiki

Difference between revisions of "MediaWiki:Common.css"

 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
/* CSS placed here will be applied to all skins */
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
 
   
  +
/* Definition of Prime-Color-colors. To change colors, simply update
 
  +
the color codes. */
/* Definition der Prime-Color-Farben. Zum Ändern der Farben, einfach den Farbcode anpassen. */
 
 
:root {
 
:root {
 
--prime-color: #bfd7ea;
 
--prime-color: #bfd7ea;
Line 9: Line 9:
   
   
  +
/* the following applies the prime-color to the body's background */
/* Die folgenden Zeile beschreibt die Farbgebung des Bodys der Internetseite. */
 
   
 
body {
 
body {
Line 16: Line 16:
   
   
  +
/* the following applies the monospace font to verbatime and code boxes */
/* Alle Klassen unterhalb dieses Kommentares bis zum nächsten Kommentar sind notwendig, um die Infoxbox gestalten */
 
  +
  +
body pre {
  +
font-family: monospace, monospace;
  +
line-height: 1.2em;
  +
}
  +
pre {
  +
font-family: monospace;
  +
line-height: 1.2em;
  +
}
  +
/* All classes from here to the next comment below, style the Infoxbox */
   
 
.Infobox {
 
.Infobox {
padding: 0px;
+
padding: 0px;
 
clear: right;
 
clear: right;
 
float: right;
 
float: right;
 
font-weight: inherit;
 
font-weight: inherit;
 
margin: 0 0 1em 1em;
 
margin: 0 0 1em 1em;
  +
}
  +
  +
.Infobox-title {
  +
background: var(--prime-color);
  +
padding: .3em;
  +
font-size: 120%;
 
}
 
}
   
Line 61: Line 77:
 
}
 
}
   
/* Folgende Klassen sind notwendig, um die Überschriften von h2 der jeweiligen Skins "Vector" und "Cosmos" anzupassen */
+
/* The following adapts the h2 headings of the skins "Vector" and "Cosmos" */
   
 
.vector-body h2 {
 
.vector-body h2 {
Line 75: Line 91:
 
}
 
}
   
#content h2 {
+
.mw-body h2 {
  +
padding: 0.1em;
 
background: var(--prime-color);
 
background: var(--prime-color);
  +
}
  +
  +
h2#mw-toc-heading {
  +
background: none;
 
}
 
}

Latest revision as of 13:26, 2 October 2024

/* CSS placed here will be applied to all skins */

/* Definition of Prime-Color-colors. To change colors, simply update
the color codes. */
:root {
  --prime-color: #bfd7ea;
  --prime-color-light: #dbe8f3;
}


/* the following applies the prime-color to the body's background */

body { 
background:var(--prime-color); 
}


/* the following applies the monospace font to verbatime and code boxes */

body pre {
    font-family: monospace, monospace;
    line-height: 1.2em;
}
pre {
    font-family: monospace;
    line-height: 1.2em;
}
/* All classes from here to the next comment below, style the Infoxbox */

.Infobox {
    padding: 0px;
    clear: right;
    float: right;
    font-weight: inherit;
    margin: 0 0 1em 1em;
}

.Infobox-title {
    background: var(--prime-color);
    padding: .3em;
    font-size: 120%;
}

.mw-parser-output .Infobox {
    width: 23em;
    line-height: 135%;
}

.mw-parser-output .Infobox td:not([colspan]) ul {
    list-style: none none;
    margin: 0;
}

.Infobox > tr > th, .Infobox > tr > td, .Infobox > * > tr > th, .Infobox > * > tr > td {
    border: none;
}

.Infobox td:nth-child(1) {
    background: var(--prime-color-light);
    width: 7em;
    vertical-align: top;
    text-align: left;  
    padding-top: 0.5rem;
}

 body .Infobox > tr > th, body .Infobox > tr > td, body .Infobox > * > tr > th {
    background-color: #eaecf0;
    text-align: center;
  }
}


.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
    list-style: none none;
    margin: 0.3em;
    padding: 0;
  }

/* The following adapts the h2 headings of the skins "Vector" and "Cosmos" */

.vector-body h2 {
    margin-top: 1em;
    font-size: 1.5em;
    padding: 0.1em;
    background: var(--prime-color);
}

.mw-body-content h2 {
    padding: 0.1em;
    background: var(--prime-color);
}

.mw-body h2 {
    padding: 0.1em;
    background: var(--prime-color);
}

h2#mw-toc-heading {
    background: none;
}