MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Maddraxikon
(Hintergrund des Hauptmenüs angepasst)
KKeine Bearbeitungszusammenfassung
 
(59 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Grundlegende Farbpalette */
:root {
    --primary-color: #3E3E3E; /* Dunkleres Grau für Hintergründe */
    --secondary-color: #9E9E9E; /* Mittelgrau für Karten/Boxen */
    --accent-color: #BA6700; /* Dunklere Rostfarbe für Akzente */
    --text-color: #E0E0E0; /* Helles Grau für Text */
    --link-color: #8AB4F8; /* Verblasstes Blau für Links */
    --button-hover-color: #f5d6b0; /* Verblasstes Grün für Button-Hover */
}
 
/* Schriftarten und Typografie */
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
 
/* Buttons */
.button {
    border: 1px solid var(--accent-color);
    background-image: var(--button-texture), linear-gradient(var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
 
/* Anwendung der Farben */
body {
    background-color: var(--primary-color);
    color: var(--text-color);
    background-image: url('https://de.maddraxikon.com//asphalt.png');
    background-repeat: repeat; /* Hintergrundtextur wiederholen */
    background-size: auto; /* Automatische Größe der Textur */
    font-family: 'Abel', sans-serif;
}
 
/* Stile für Links */
a {
    color: var(--secondary-color)
    transition: color 0.3s ease; /* Sanfter Farbübergang bei Hover */
}
 
a:hover {
    color: var(--button-hover-color)
}
 
.button:hover {
    background-color: var(--accent-color);
}
 
/* Hintergründe für Abschnittstitel */
#content,
#mw-head,
#mw-panel,
.mw-page-container,
.vector-body,
.section-title {
    background-color: var(--secondary-color);
}


/* Hauptmenü-Stil */
/* Hauptmenü-Stil */
Zeile 38: Zeile 90:
}
}


/* Stil für den Hintergrund des Hauptmenüs */
/* Hintergrundbild für das Hauptmenü */
#mw-panel {
#mw-panel {
    background-image: url('https://de.maddraxikon.com//beton.png');
    background-size: cover; /* Stellt sicher, dass das Bild den gesamten Bereich abdeckt */
    background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
}
/* Boxen für die Hauptseite */
.Hauptseite-Box {
     background-color: #333; /* Dunkler Hintergrund */
     background-color: #333; /* Dunkler Hintergrund */
     border-right: 1px solid #222; /* Dunkle Begrenzung auf der rechten Seite */
    color: #E0E0E0; /* Helle Textfarbe */
     border: 1px solid #BA6700; /* Rostfarbener Rahmen */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* Schatten für Tiefeffekt */
    padding: 20px; /* Innenabstand */
    font-family: 'Special Elite', cursive; /* Passende Schriftart */
    font-size: 1.2em; /* Vergrößerte Schrift */
    text-align: center; /* Zentrierte Ausrichtung */
}
}


.Hauptseite-Box h2 {
    color: #BA6700; /* Rostfarbener Titel */
    font-size: 1.5em; /* Vergrößerte Titelschrift */
    margin-bottom: 10px; /* Abstand zum Inhalt */
}


.Hauptseite-Box p {
    margin-bottom: 10px; /* Abstand zwischen Absätzen */
}


.Hauptseite-Box a {
    text-decoration: none; /* Keine Unterstreichung */
}


.Hauptseite-Box a:hover {
    color: #4CAF50; /* Verblasstes Grün beim Überfahren mit der Maus */
}


.Hauptseite-Inhalt {
    font-family: 'Abel', sans-serif;
}


/* Toolbar für Artikelbearbeitung */
.vector-menu-tabs {
  font-family: 'Bree Serif', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}


/* Alte CSS-Codes (werden nach und nach ersetzt) */
/* Inaktive Tabs */
.vector-menu-tabs .vector-menu-content-list a {
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}


/* Veröffentlichungen nur untereinander, wenn notwendig */
/* Aktiver Tab */
.veroeffentlichungen {
.vector-menu-tabs .selected a {
display: flex;
  color: #fff;
flex-wrap: wrap;
  text-shadow: 1px 1px 1px #000;
}
}


.veroeffentlichungen > * {
/* Hover/Focus */ 
flex: 1 1 300px;
.vector-menu-tabs .vector-menu-content-list a:hover,
margin: 10px;
.vector-menu-tabs .vector-menu-content-list a:focus {
  text-shadow: none;
  color: #ccc;  
}
}


@media (max-width: 600px) {
/* Kategorienmodul anpassen */
.veroeffentlichungen {
.catlinks {
flex-direction: column;
  margin: 10px 0;
  padding: 10px;
  background: #333;
  border: 1px solid #666;
}
}
/* Titel */
.catlinks .mw-normal-catlinks {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
}


/* Linkfarben */
/* Liste */
.catlinks ul {
  list-style: none;
  margin: 0;
  padding: 0; 
}


/* Buttons */
.catlinks li {
.Hauptseite-Button a {
  display: inline-block;
display: inline-block;
  margin-right: 5px;
color: #69c23c;
font-size: 1.4rem;
font-family: 'Permanent Marker', bold;
text-decoration: none;
background-color: #858381;
padding: 2px 6px 2px 6px;
border-top: 1px solid #CCCCCC;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
border-radius: 8px;
background-size: 300px 100px;
width: 175px;
}
}
.Hauptseite-Button div {
 
width: 100%;
/* Links */
.catlinks a {
  color: #fff;
  text-decoration: none;
  padding: 3px 5px;
  border: 1px solid #666;
  transition: background .3s;
}
}


/*
.catlinks a:hover {
.generated-sidebar a {
  background: #555;
color:#21350d !important;
}
}*/


/* Hauptseite */
/* Anpassung der Infoboxen */
.Hauptseite-Box {
/* Infobox */
  box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,0.25);
.infobox {
  -moz-box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,0.25);
  float:right;
  -webkit-box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,0.25);
  background-color: #555;
}
  color: #ccc;
  border: 1px solid #333;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-size: 0.7em;
}


.generated-sidebar a {
.infobox-header {
color:#...... !important;
  background-color: #444;
  color: #fff;
  padding: 10px;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 2px;
}
}


body.page-Hauptseite h1.firstHeading { display:none; }
.infobox-data {
  padding: 10px;
}


.Hauptseite-Box h2 {
.infobox-row {
  border: 1px solid #AAAAAA;
  padding: 5px 0;   
  background-color: #68211C;
}
  color: #69c23c;
  text-shadow: 2px 2px 2px black, 5px 5px 10px black;
  padding: 0.2em 0;
  margin: 0 !important;
  font-size: 110%;
  font-weight: bold;
  text-indent: 0.5em;
  }
.Hauptseite-Inhalt {
  border: 1px solid #472322;
  border-top: 0px solid #FFFFFF;
  background-color: #FFFFFF;
  margin-bottom: 1em;
  padding: 0.2em 0.8em 0.2em 0.8em;
}


/* +++++ Standardtabelle für Auflistung +++++ */
.infobox-cell {
  padding: 3px 10px;
}


table.maddraxikon_std_table {
.infobox-below {
        border: 1px solid #605f46;
  border-top: 1px solid #666;
        border-collapse: collapse;
  padding: 10px;
        background-color: #FFF;
}
        width: 100%;
}
table.maddraxikon_std_table tr {
        border: 1px solid #605f46;
        border-collapse: collapse;
}


table.maddraxikon_std_table th {
.infobox-button {
        border: 1px solid #605f46;
  background-color: var(--primary-color);
        border-collapse: collapse;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
        padding: 2px 4px;
  text-align: center;
        text-align: left;
  font-size: 1.2em;
        background-color: #605f46;
}
}


table.maddraxikon_std_table td {  
.infobox-button:hover {
        border: 1px solid #605f46;
  background-color: var(--secondary-color);
        border-collapse: collapse;
}
        padding: 2px 4px;
        text-align: left;
        vertical-align: center;
}


/* +++++ Standardtabelle Für Tabelle mit rechter Ausrichtung      +++++ */
/* Hauptseite-Button Anpassung */
/* +++++ Angabe erfolgt so: class = "maddraxikon_std_table right" +++++ */
table.right {
        float: right;
        margin: 5px 0px 5px 15px;
}


/* +++++ Standardtabelle Für Tabelle mit mitte Ausrichtung      +++++ */
/* Zentrieren der Buttons */
/* +++++ Angabe erfolgt so: class = "maddraxikon_std_table center" +++++ */
.Hauptseite-Button {
table.center {
    text-align: center; /* Zentriert den Inhalt */
        margin-left: auto;
}
        margin-right: auto;
}


/* +++++ Rechter Div-Block der jeden anderen Inhalt verdrängt    +++++ */
.button-container {
/* +++++ Angabe erfolgt so: class = "maddraxikon_std_rframe"      +++++ */
    display: flex;
div.maddraxikon_std_rframe {
    justify-content: center;
        border: 1px solid;  
    flex-wrap: wrap;
        border-color: white;
}
        border-width: 0 0 0 1.4em;
        background-color: #fff;
        clear: right;
        float: right;  
}


/* +++++ Div-Block-Breite für Überblicktabellen                      +++++ */
.Hauptseite-Button a {
/* +++++ Angabe erfolgt so: class = "maddraxikon_std_rframe overview"  +++++ */
    display: inline-block; /* Damit die Links wie Buttons behandelt werden */
div.overview {
    background-color: var(--secondary-color); /* Mittelgrau für den Button-Hintergrund */
        width: 60%;
    color: var(--text-color); /* Helles Grau für den Text */
}
    padding: 10px 20px; /* Innenabstand */
    margin: 5px; /* Außenabstand zwischen den Buttons */
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-family: 'Special Elite', cursive; /* Schriftart */
    font-size: 1.1em; /* Schriftgröße */
    border: 2px solid var(--accent-color); /* Rostfarbener Rahmen */
    border-radius: 5px; /* Abgerundete Ecken für den Button */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* Schatten für Tiefe */
    transition: background-color 0.3s, color 0.3s; /* Animation beim Überfahren */
}


/* +++++ Div-Block-Breite für Überblicktabellen                      +++++ */
.Hauptseite-Button a:hover {
/* +++++ Angabe erfolgt so: class = "maddraxikon_std_rframe astrodata" +++++ */
    background-color: var(--accent-color); /* Dunklere Rostfarbe für Hover */
div.astrodata {
    color: var(--primary-color); /* Dunkleres Grau für Hover-Text */
        width: 40%;
    border-color: var(--text-color); /* Helles Grau für den Rahmen beim Hover */
}
}


/* +++++ Hintergrundfarbe für Weltraumbilder                          +++++ */
/* Anpassung der Schriftfarbe für Seiteninhalte */
/* +++++ Angabe erfolgt so: class = "astrodata_bg"                    +++++ */
#content, .mw-body-content {
.astrodata_bg {
     color: #F0F0F0; /* Neue helle Schriftfarbe für den Seiteninhalt */
        background-color: #000;
}
}
 
/* +++++ SONSTIGE ANPASSUNGEN (Spezialseiten u. a.) +++++ */
/* +++++ Markierung von Redirects in [[Special:Allpages]], [[Special:Watchlist]], Kategorien +++++ */
.allpagesredirect {
        font-style: italic;
}
.watchlistredir {
        font-style: italic;
}
.redirect-in-category {
        font-style: italic;
}
 
div.BoxenVerschmelzen,
div.NavFrame {
    margin:  0px;
    padding: 0px;
    border: 1px solid #FFDEAD;
    background-color: #FFDEAD;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
    clear:both;
}
div.BoxenVerschmelzen div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #FFDEAD;
    margin: 0px;
    padding: 0px;
    float: left;
}
/* Hier kann man einstellen wie die Überschriften der Navigationsleisten in Artikeln aussehen sollen */
div.NavFrame div.NavHead {
     font-weight: bold;
    font-size: 110%;
    background-color: #FFDEAD;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
.NavToggle {
    font-size: x-small;
    float:right;
}
/* Workaround für Internet Explorer 6 */
div.NavFrame, div.NavPic, .NavToggle {
    position:relative;
}
/* Abstand vor Navigationsleisten */
div.BoxenVerschmelzen,
div.NavFrame {
  margin-top: 1.5em;
}
div.BoxenVerschmelzen div.NavFrame {
  margin-top: 0;
}
div.NavFrame + div.NavFrame {
  margin-top: 0;
}


/* Triff die Community */
/* Links innerhalb des Seiteninhalts */
.random-users-avatars {
#content a, .mw-body-content a {
        padding: 0px 0px 0px 10px;
    color: #945200; /* Dunkles Rostrot */
}
}
#content a:hover, .mw-body-content a:hover {
.random-users-avatars h2 {
    color: #f5d6b0; /* Anpassen der Hover-Farbe für Links */
        border-bottom: none;
        margin: 0px 0px 0px 0px;
        padding: 7px 0px 8px 0px;
}
}
 
.random-users-avatars img {
/* Links zur Neuerstellung von Artikeln */
        border: 1px solid #DCDCDC;
.new a {
        display: block;
  color: #556b2f;
        float: left;
        height: 50px;
        margin: 0px 8px 8px 0px;
        width: 50px;
}
}


/* Zeitleiste */
/* Logo ersetzen */
table.tl_table{
.mw-logo {
        border-width: thin;
    display: inline-block; /* oder 'block'? */
        border-spacing: 2px;
    width: 135px; /* Anpassen an die Breite des Logos */
        border-style: outset;
    height: 135px; /* Anpassen an die Höhe des Logos */
        border-color: black;
    background-image: url('https://de.maddraxikon.com/images/LogoNeu.png'); /* URL des Logos */
        border-collapse: separate;
    background-size: contain; /* oder 'cover', je nach Bedarf */
        background-color: white;
    background-repeat: no-repeat;
        -moz-border-radius: 9px; }
    background-position: center; /* Zentriert das Bild */
    th.tl_title{
    font-size: 0; /* Text unsichtbar */
        text-transform: uppercase
    overflow: hidden; /* Verhindert, dass Inhalte überlaufen */
        text-align: center;
}
        border-width: 1px;
        padding: 1px;
        border-style: outset;
        border-color: blue;
        background-color: rgb(243, 248, 252);
        -moz-border-radius: 9px; }
  th.tl_years{
        text-align: center;
        font-style: italic;
        border-width: 1px;
        padding: 1px;
        border-style: outset;
        border-color: blue;
        background-color: rgb(223, 228, 252);
        -moz-border-radius: 4px; }
  th.tl_months{
        text-align: center;
        border-width: 1px;
        padding: 1px;
        border-style: outset;
        border-color: blue;
        background-color: rgb(243, 248, 252);
        -moz-border-radius: 2px; }
  th.tl_days{
        text-align: center;
        border-width: 1px;
        padding: 1px;
        border-style: outset;
        border-color: blue;
        background-color: rgb(243, 248, 252);
        -moz-border-radius: 2px; }
  td.tl_freetime{
        background-color: rgb(187, 210, 236);
        border-width: 1px;
        border-color: black;
        border-style: inset;
        -moz-border-radius: 7px; }
  td.tl_event{
        text-align: center;
        padding: 1px;
        background-color: rgb(61, 114, 194);
        border-width: 1px;
        border-color: white;
        border-style: inset;
        color: white;
        -moz-border-radius: 7px;
        white-space: normal }
  td.tl_foot{
        text-align: center;
        padding: 1px;
        background-color: rgb(243, 248, 252);
        border-width: 1px;
        border-color: blue;
        border-style: ridge;
        color: gray;
        -moz-border-radius: 9px; }
thead.tl_header{}
tbody.tl_body{}
tfoot.tl_footer{}


/* Schnellüberblicksfeld Hauptseite */
/* Anpassung der Roman-Infobox */
.mp-welcome-logged-in {
.heftartikel-tabelle {
        margin: 0px 0px 0px 15px;
    width: 100%; /* Stellt sicher, dass die Tabelle die volle Breite nutzt */
    border-collapse: collapse; /* Entfernt doppelte Ränder */
    margin-bottom: 20px; /* Abstand nach unten für Außenabstand */
    background-color: var(--secondary-color); /* Hintergrundfarbe der Infobox */
    color: var(--text-color); /* Textfarbe */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Schatten für Tiefe */
    text-transform: none;
    font-size: 14px;
}
}
 
.mp-welcome-logged-in h2 {
.heftartikel-tabelle th, .heftartikel-tabelle td {
        font-size: 20px;
    padding: 10px; /* Innenabstand */
        line-height: 24px;
    border: 1px solid var(--accent-color); /* Rostfarbener Rahmen */
        border-bottom: none;
        padding: 8px 0px 10px 0px !important;
        margin: 0px 0px 0px 0px !important;
}
}
 
.mp-welcome-info {
.heftartikel-tabelle th {
        float: left;
    background-color: var(--primary-color); /* Dunkleres Grau für Überschriften */
        width: 240px;
    color: var(--text-color); /* Helle Textfarbe für Überschriften */
    text-align: left; /* Ausrichtung des Textes */
    font-family: 'Special Elite', cursive; /* Schriftart für Überschriften */
}
}
 
.mp-welcome-image {
.heftartikel-tabelle td {
        float: left;
    background-color: var(--secondary-color); /* Mittelgrau für Zellen */
        margin: 0px 10px 0px 0px;
    color: var(--text-color); /* Textfarbe */
        text-align: center;
    vertical-align: top; /* Ausrichtung des Inhalts in der Zelle */
}
}
 
.mp-welcome-image a {
/* Anpassung für das Bild im Infobox */
        font-size: 10px;
.heftartikel-tabelle img {
        text-decoration: none;
    max-width: 100%; /* Stellt sicher, dass das Bild responsive ist */
    height: auto; /* Erhält das Seitenverhältnis des Bildes */
    border: 2px solid var(--accent-color); /* Rahmen um das Bild */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Schatten für das Bild */
}
}
 
.mp-welcome-image img {
/* Anpassung für Links innerhalb der Infobox */
        background-color: #68211C;
.heftartikel-tabelle a {
        border: 1px solid #DCDCDC;
    color: var(--link-color); /* Farbe für Links */
        padding: 3px;
    text-decoration: none; /* Keine Unterstreichung */
}
}
 
.mp-welcome-points {
.heftartikel-tabelle a:hover {
        float: left;
    color: var(--button-hover-color); /* Farbe beim Überfahren */
        width: 200px;
    text-decoration: underline; /* Unterstreichung beim Überfahren */
}
.points-and-level {
        margin: 0px 0px 3px;
}
.needed-points {
        color: #666666;
        font-size: 10px;
        line-height: 12px;
        padding: 5px 0px 0px;
}
.total-points {
        background-color: #CC0000;
        color: #68211C;
        float: left;
        font-size: 12px;
        font-weight: bold;
        margin: 0px 5px 0px 0px;
        padding: 1px 5px;
        text-align: center;
}
.honorific-level {
        float: left;
}
}


/*** font class für 'hellklick' in Balkennavigation ***/
/* Grafiken sollen Platz besser nutzen */
.thumb {
.hellklick a, .hellklick a:visited {  
    border: 1px solid #ccc;
    text-decoration: underline; color: #fefefe !important;
    padding: 3px !important;
}
    background-color: #f9f9f9 !important;
.hellklick a:hover, .hellklick a:active {
    text-align: center;
    color: #9ad9ff !important;
    overflow: hidden;
}
/*** font class für 'hellklick2' in Tutorial ***/
.hellklick2 a, .hellklick2 a:visited {
    text-decoration: none; color: #fefefe !important;
}
.hellklick2 a:hover, .hellklick2 a:active {
    color: #9ad9ff !important; text-decoration: underline;
}
.whitelink a {
color: white !important;
text-decoration: none;
}
.whitelink a:hover {
color: white !important;
}
.yellowlink a {
color: yellow !important;
text-decoration: none;
}
}
.thumbcaption {
.yellowlink a:hover {
    color: #252525 !important;
color: yellow !important;
}
}
/* Ausklappen per Mausklick (s.a. [[MediaWiki:Common.js]]  */
.klapp {
      cursor: pointer;
}
span.klapp {
      text-decoration: none;
      color: #002bb8;
      background: none;
      }
span.klapp:hover {
      text-decoration: underline;
      }
/* Drag & Drop */
.jstest{
      position:relative;
      cursor:move;
      z-index: 100;
      padding:20px 45px 20px 0px;
      border-width:1px;
      }

Aktuelle Version vom 13. April 2024, 21:12 Uhr

/* Grundlegende Farbpalette */
:root {
    --primary-color: #3E3E3E; /* Dunkleres Grau für Hintergründe */
    --secondary-color: #9E9E9E; /* Mittelgrau für Karten/Boxen */
    --accent-color: #BA6700; /* Dunklere Rostfarbe für Akzente */
    --text-color: #E0E0E0; /* Helles Grau für Text */
    --link-color: #8AB4F8; /* Verblasstes Blau für Links */
    --button-hover-color: #f5d6b0; /* Verblasstes Grün für Button-Hover */
}

/* Schriftarten und Typografie */
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');

/* Buttons */
.button {
    border: 1px solid var(--accent-color);
    background-image: var(--button-texture), linear-gradient(var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Anwendung der Farben */
body {
    background-color: var(--primary-color);
    color: var(--text-color);
    background-image: url('https://de.maddraxikon.com//asphalt.png');
    background-repeat: repeat; /* Hintergrundtextur wiederholen */
    background-size: auto; /* Automatische Größe der Textur */
    font-family: 'Abel', sans-serif;
}

/* Stile für Links */
a {
    color: var(--secondary-color)
    transition: color 0.3s ease; /* Sanfter Farbübergang bei Hover */
}

a:hover {
    color: var(--button-hover-color)
}

.button:hover {
    background-color: var(--accent-color);
}

/* Hintergründe für Abschnittstitel */
#content,
#mw-head,
#mw-panel,
.mw-page-container,
.vector-body,
.section-title {
    background-color: var(--secondary-color);
}

/* Hauptmenü-Stil */
#mw-panel .vector-menu-content-list li {
    margin-bottom: 5px; /* Abstand zwischen den Menüpunkten */
}

#mw-panel .vector-menu-content-list li a {
    display: block;
    padding: 8px 10px; /* Innenabstand */
    background-color: #333; /* Dunkler Hintergrund für die Buttons */
    color: white; /* Helle Textfarbe */
    text-decoration: none; /* Keine Unterstreichung */
    border-radius: 4px; /* Abgerundete Ecken */
    transition: background-color 0.3s; /* Animation für Hover-Effekt */
}

#mw-panel .vector-menu-content-list li a:hover {
    background-color: #555; /* Hintergrundfarbe beim Überfahren mit der Maus */
}

/* Stil für die Hauptmenü-Überschriften */
#mw-panel .vector-menu-portal .vector-menu-heading {
    background-color: #444; /* Dunkler Hintergrund */
    color: #c0c0c0; /* Leicht helle Textfarbe */
    padding: 8px 12px; /* Erhöhter Innenabstand */
    font-family: 'Courier New', Courier, monospace; /* Monospaced-Schriftart */
    font-size: 1.1em; /* Vergrößerte Schrift */
    border-bottom: 1px solid #333; /* Untere Grenze für die Trennung */
    text-transform: uppercase; /* Großbuchstaben */
    letter-spacing: 1px; /* Buchstabenabstand */
    text-shadow: 2px 2px 2px #000; /* Textschatten für einen Kontureffekt */
}

/* Link "Umschalten zum bisherigen Aussehen" im Hauptmenü versteckt */
.mw-sidebar-action-content {
    display: none;
}

/* Hintergrundbild für das Hauptmenü */
#mw-panel {
    background-image: url('https://de.maddraxikon.com//beton.png');
    background-size: cover; /* Stellt sicher, dass das Bild den gesamten Bereich abdeckt */
    background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
}

/* Boxen für die Hauptseite */
.Hauptseite-Box {
    background-color: #333; /* Dunkler Hintergrund */
    color: #E0E0E0; /* Helle Textfarbe */
    border: 1px solid #BA6700; /* Rostfarbener Rahmen */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* Schatten für Tiefeffekt */
    padding: 20px; /* Innenabstand */
    font-family: 'Special Elite', cursive; /* Passende Schriftart */
    font-size: 1.2em; /* Vergrößerte Schrift */
    text-align: center; /* Zentrierte Ausrichtung */
}

.Hauptseite-Box h2 {
    color: #BA6700; /* Rostfarbener Titel */
    font-size: 1.5em; /* Vergrößerte Titelschrift */
    margin-bottom: 10px; /* Abstand zum Inhalt */
}

.Hauptseite-Box p {
    margin-bottom: 10px; /* Abstand zwischen Absätzen */
}

.Hauptseite-Box a {
    text-decoration: none; /* Keine Unterstreichung */
}

.Hauptseite-Box a:hover {
    color: #4CAF50; /* Verblasstes Grün beim Überfahren mit der Maus */
}

.Hauptseite-Inhalt {
    font-family: 'Abel', sans-serif;
}

/* Toolbar für Artikelbearbeitung */
.vector-menu-tabs {
  font-family: 'Bree Serif', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Inaktive Tabs */
.vector-menu-tabs .vector-menu-content-list a {
  color: #fff; 
  text-shadow: 1px 1px 2px #000;
}

/* Aktiver Tab */  
.vector-menu-tabs .selected a {
  color: #fff;
  text-shadow: 1px 1px 1px #000;
}

/* Hover/Focus */  
.vector-menu-tabs .vector-menu-content-list a:hover,
.vector-menu-tabs .vector-menu-content-list a:focus {
  text-shadow: none;
  color: #ccc; 
}

/* Kategorienmodul anpassen */
.catlinks {
  margin: 10px 0;
  padding: 10px;
  background: #333;
  border: 1px solid #666;
}

/* Titel */
.catlinks .mw-normal-catlinks {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Liste */
.catlinks ul {
  list-style: none;
  margin: 0;
  padding: 0;  
}

.catlinks li {
  display: inline-block;
  margin-right: 5px;
}

/* Links */
.catlinks a {
  color: #fff;
  text-decoration: none;
  padding: 3px 5px;
  border: 1px solid #666;
  transition: background .3s;
}

.catlinks a:hover {
  background: #555;
}

/* Anpassung der Infoboxen */
/* Infobox */
.infobox {
  float:right;
  background-color: #555;
  color: #ccc;
  border: 1px solid #333;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-size: 0.7em;
}

.infobox-header {
  background-color: #444;
  color: #fff;
  padding: 10px;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.infobox-data {
  padding: 10px;
}

.infobox-row {
  padding: 5px 0;  
}

.infobox-cell {
  padding: 3px 10px;
}

.infobox-below {
  border-top: 1px solid #666;
  padding: 10px;
}

.infobox-button {
  background-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  text-align: center;
  font-size: 1.2em;
}

.infobox-button:hover {
  background-color: var(--secondary-color);
}

/* Hauptseite-Button Anpassung */

/* Zentrieren der Buttons */
.Hauptseite-Button {
    text-align: center; /* Zentriert den Inhalt */
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.Hauptseite-Button a {
    display: inline-block; /* Damit die Links wie Buttons behandelt werden */
    background-color: var(--secondary-color); /* Mittelgrau für den Button-Hintergrund */
    color: var(--text-color); /* Helles Grau für den Text */
    padding: 10px 20px; /* Innenabstand */
    margin: 5px; /* Außenabstand zwischen den Buttons */
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-family: 'Special Elite', cursive; /* Schriftart */
    font-size: 1.1em; /* Schriftgröße */
    border: 2px solid var(--accent-color); /* Rostfarbener Rahmen */
    border-radius: 5px; /* Abgerundete Ecken für den Button */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* Schatten für Tiefe */
    transition: background-color 0.3s, color 0.3s; /* Animation beim Überfahren */
}

.Hauptseite-Button a:hover {
    background-color: var(--accent-color); /* Dunklere Rostfarbe für Hover */
    color: var(--primary-color); /* Dunkleres Grau für Hover-Text */
    border-color: var(--text-color); /* Helles Grau für den Rahmen beim Hover */
}

/* Anpassung der Schriftfarbe für Seiteninhalte */
#content, .mw-body-content {
    color: #F0F0F0; /* Neue helle Schriftfarbe für den Seiteninhalt */
}

/* Links innerhalb des Seiteninhalts */
#content a, .mw-body-content a {
    color: #945200; /* Dunkles Rostrot */
}
#content a:hover, .mw-body-content a:hover {
    color: #f5d6b0; /* Anpassen der Hover-Farbe für Links */
}

/* Links zur Neuerstellung von Artikeln */
.new a {
  color: #556b2f;
}

/* Logo ersetzen */
.mw-logo {
    display: inline-block; /* oder 'block'? */
    width: 135px; /* Anpassen an die Breite des Logos */
    height: 135px; /* Anpassen an die Höhe des Logos */
    background-image: url('https://de.maddraxikon.com/images/LogoNeu.png'); /* URL des Logos */
    background-size: contain; /* oder 'cover', je nach Bedarf */
    background-repeat: no-repeat;
    background-position: center; /* Zentriert das Bild */
    font-size: 0; /* Text unsichtbar */
    overflow: hidden; /* Verhindert, dass Inhalte überlaufen */
}

/* Anpassung der Roman-Infobox */
.heftartikel-tabelle {
    width: 100%; /* Stellt sicher, dass die Tabelle die volle Breite nutzt */
    border-collapse: collapse; /* Entfernt doppelte Ränder */
    margin-bottom: 20px; /* Abstand nach unten für Außenabstand */
    background-color: var(--secondary-color); /* Hintergrundfarbe der Infobox */
    color: var(--text-color); /* Textfarbe */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Schatten für Tiefe */
    text-transform: none;
    font-size: 14px;
}

.heftartikel-tabelle th, .heftartikel-tabelle td {
    padding: 10px; /* Innenabstand */
    border: 1px solid var(--accent-color); /* Rostfarbener Rahmen */
}

.heftartikel-tabelle th {
    background-color: var(--primary-color); /* Dunkleres Grau für Überschriften */
    color: var(--text-color); /* Helle Textfarbe für Überschriften */
    text-align: left; /* Ausrichtung des Textes */
    font-family: 'Special Elite', cursive; /* Schriftart für Überschriften */
}

.heftartikel-tabelle td {
    background-color: var(--secondary-color); /* Mittelgrau für Zellen */
    color: var(--text-color); /* Textfarbe */
    vertical-align: top; /* Ausrichtung des Inhalts in der Zelle */
}

/* Anpassung für das Bild im Infobox */
.heftartikel-tabelle img {
    max-width: 100%; /* Stellt sicher, dass das Bild responsive ist */
    height: auto; /* Erhält das Seitenverhältnis des Bildes */
    border: 2px solid var(--accent-color); /* Rahmen um das Bild */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Schatten für das Bild */
}

/* Anpassung für Links innerhalb der Infobox */
.heftartikel-tabelle a {
    color: var(--link-color); /* Farbe für Links */
    text-decoration: none; /* Keine Unterstreichung */
}

.heftartikel-tabelle a:hover {
    color: var(--button-hover-color); /* Farbe beim Überfahren */
    text-decoration: underline; /* Unterstreichung beim Überfahren */
}

/* Grafiken sollen Platz besser nutzen */
.thumb {
    border: 1px solid #ccc;
    padding: 3px !important;
    background-color: #f9f9f9 !important;
    text-align: center;
    overflow: hidden;
}
.thumbcaption {
    color: #252525 !important;
}