MediaWiki:Timeless.css: Unterschied zwischen den Versionen

Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(40 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Hintergrund fixieren auf gesamte Seite */
/* ========================================
html, body {
  MOBILE SIDEBAR TOGGLE FIX
    height: 100%;
  ======================================== */
}


/* BG Timeless */
@media screen and (max-width: 850px) {
/* Seitenhintergrund (Bild) */
    /* Menü besser positionieren */
#mw-content-container {
    #site-navigation .sidebar-inner,
    background-color: #000000; /* Fallback, falls Bild nicht geladen wird */
    .sidebar-inner {
    border-bottom: none;
        position: fixed !important;
 
        top: 0 !important;
    background-image: url(/images/resources/Background.png);
        left: 0 !important;
    background-repeat: no-repeat;
        right: auto !important;
     background-position: center top;  /* Position des Bildes */
        bottom: 0 !important;
     background-attachment: fixed;     /* FIXED: bleibt an Ort beim Scrollen */
        max-width: 280px !important;
     background-size: cover;           /* Bild passt sich der Bildschirmgröße an */
        width: 80% !important;
}
        height: 100vh !important;
/*Maximal Breite benutzen Bildschirm*/
        overflow-y: auto !important;
@media screen and (min-width: 851px) {
        overflow-x: hidden !important;
   .ts-inner {
        margin: 0 !important;
     max-width: None;
        padding: 1em !important;
        z-index: 1000 !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3) !important;
        -webkit-overflow-scrolling: touch;
     }
   
    /* Icons richtig positionieren auf Mobile */
     .sidebar-inner .mw-portlet h3 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75em 0.5em !important;
        background: rgba(0, 0, 0, 0.05) !important
    border-radius: 0px !important;
     margin-bottom: 0px !important;
    }
   
    @media screen and (max-width: 850px) {
   .sidebar-inner label, .dropdown label, .sidebar-inner h3, .dropdown h3 {
     color: white;
   }
   }
}
}


/* Logo oben Links Timeless */
    .sidebar-inner .toggle-icon {
#p-banner img {
        margin-left: auto !important;
    content: url("/images/resources/TopLeftLogo.png");
        flex-shrink: 0 !important;
    width: 155px;
     }
     height: auto;
   
     display: block;
    .sidebar-inner .mw-portlet-body {
        padding: 0 0.5em;
     }
}
}


/* Transparent damit BG durch kann */
@media screen and (max-width: 850px) {
.mw-body, #content {
  #menus-cover {
    background: none;
    background: #000;
}
  }
#mw-content {
    background: none;
    border: none;
}
#mw-content {
    background: none;
}
}


 
@media screen and (max-width: 850px) {
/* Content Box Transparent -> Inhalt jeder Page */
  #site-navigation .sidebar-inner {
#mw-content-text {
     border-color: #000;
     background: Transparent;
  }
}
}
/* ========================================
  GRUNDLEGENDE STYLES FÜR ALLE GERÄTE
  ======================================== */


/* CSS an dieser Stelle wird für Benutzer geladen, die die Benutzeroberfläche „Timeless“ verwenden */
html, body {
 
    height: 100%;
 
     margin: 0;
 
     padding: 0;
 
 
/* Header */
@media screen and (min-width: 851px) {
     #mw-header-container {
        background: #000000;
     }
}
}


#searchInput {
/* Background Color Content */
     background: #000000d6;
#mw-content {
     color: white;
     background: #0a0a0a;
     border-color: #0a0a0a;
}
}


.mw-footer-container a {
/* Seitenhintergrund */
     /* color: #dbeaff; */
#mw-content-container {
     display: none;
     background-color: #000000;
    border-bottom: none;
    background-image: url(/images/resources/Background.png);
     background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}
}


.mw-footer-container {
/* Transparent damit BG durchscheint */
    border-top: solid 1px #54595d;
.mw-body, #content {
    box-shadow: inset 0 7px 2px -4px rgba(0, 0, 0, 0.1);
     background: none;
    color: #fff;
     background-color: #161616;
}
}


 
#mw-content-text {
#mw-content {
     background: transparent;
     background: #161616;
}
}


/*Header */
/*Messages after Star/Delete usw*/
.color-left {
.mw-notification {
    background: #161616;
  background-color: #000;
}
  color: #fff;
.color-right {
    background: #161616;
}
.color-middle-container {
  display: none;
}
}


/* ========================================
  TYPOGRAFIE & FARBEN (ALLE GERÄTE)
  ======================================== */


/*Links texte usw im Main Menu */
/* Hauptüberschriften */
 
.mw-body .mw-heading1,  
.mw-body .mw-heading1, .mw-body h1 {
.mw-body h1 {
     font-size: 2em;
     font-size: 2em;
     color: white;
     color: #ffffff;
     border-bottom: solid 3px #c8ccd1;
     border-bottom: solid 3px #c8ccd1;
}
}


.tools-inline li.selected a {
.mw-body h1.firstHeading {
     color: #ffffff;
     margin: 0.25em 0 0.5em;
    border-bottom: solid 4px #9f9f9f;
    display: none;
}
}


a.new, .new a {
/* Text Farben */
.mw-body,
p,
#mw-clearyourcache {
     color: #ffffff;
     color: #ffffff;
}
}


a.new:visited, .new a:visited {
/* Link Farben - einheitlich für alle Geräte */
a {
    text-decoration: none;
     color: #ffffff;
     color: #ffffff;
}
}
Zeile 120: Zeile 139:
}
}


a:visited {
a.new,
.new a,
a.new:visited,
.new a:visited {
     color: #ffffff;
     color: #ffffff;
}
}
a.new {
 
    color: #ffffff;
a:hover {
}
     color: #0075ae;
a.new {
     color: #ffffff;
}
a {
     text-decoration: none;
     text-decoration: none;
    color: #ffffff;
}
}


/*Link Color Hovr*/
/* ========================================
@media screen {
  Neu
   a:hover {
  ======================================== */
     color: #0075ae;
@media screen and (min-width: 1100px) and (max-width: 1339px) {
    text-decoration: none;
   #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
     background: #000;
   }
   }
}
}


@media screen and (max-width: 850px) {
  #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
    padding: 0px !important;
  }
}


/*Uploaded Images Special:Upload after upload -> Header Color Fix*/
@media screen and (min-width: 851px) {
@media screen {
   #personal .dropdown {
   ul#filetoc {
     background: #000;
    display: block;
     border: solid transparent;
    margin-bottom: 2em;
     background-color: black;
     border-color: black;
   }
   }
}
}
.mw-body h1.firstHeading {
/*account dropdown title*/
     margin: 0.25em 0 0.5em;
@media screen and (min-width: 851px) {
    border-bottom: solid 4px #9f9f9f;
  #mw-header-container {
    display: block;
     color: #fff;
  }
}
}


/*Icon Underline Active*/
.tools-inline li.selected {
.tools-inline li.selected {
     border-bottom-color: #afafaf;
  border-bottom-color: #626202;
}
@media screen {
  .tools-inline li:hover {
     border-bottom-color: #626202;
  }
}
.tools-inline li.selected a {
  color: #626202;
}
}


/* ========================================
  HEADER & NAVIGATION
  ======================================== */


/* Header Farben */
#mw-header-container,
.color-left,
.color-right {
    background: #161616;
}


.color-middle-container {
    display: none;
}


/* Logo oben links */
#p-banner img {
    content: url("/images/resources/TopLeftLogo.png");
    width: 255px !important;
    height: auto;
    display: block;
}


/*Logo Style*/
@media screen and (max-width: 850px) {
.mw-wiki-logo img {
   #p-banner img {
  width: 100% !important;
     width: 238px !important;
  height: 100% !important;
     filter: brightness(1) !important;
  margin: 0 !important;
  border: 1px solid #191924;
  border-radius: 0.25rem;
}
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
/*Logo Text */
@media screen {
   #p-logo-text a {
     display: flex;
    height: 100%;
    align-items: center;
     justify-content: center;
    color: #000;
    font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
    font-variant: small-caps;
    font-size: 1.85em;
   }
   }
}
}


 
@media screen and (max-width: 850px) {
/*Left Sidebar größer + Search 1/3 View*/
   #p-banner img {
@media screen and (min-width: 1340px) {
     width: 246px !important;
   #mw-site-navigation {
    max-width: 127% !important;
     padding-right: 1em;
    height: auto;
     box-sizing: border-box;
     margin: 0;
     justify-content: space-between;
     filter: brightness(1) !important;
     width: 18em;
     display: block;
     flex: 0 0 17em;
     padding-top: 3px !important;
     order: 1;
     padding-left: 35px !important;
   }
   }
}
}
/* ========================================
  SEARCH
  ======================================== */


@media screen and (min-width: 1340px) {
#searchInput {
  #p-logo-text {
    background: #000000d6;
     min-width: 17em;
     color: #ffffff;
  }
    border: none;
}
}


#simpleSearch {
    box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05);
    background: #000000d6;
    position: relative;
    border: none;
}


/*Account Name*/
form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) textarea,
@media screen and (min-width: 851px) {
form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) input {
  #personal h2 span {
     border: solid 0px #c8ccd1;
     display: inline-block;
     border-radius: 0px;
     line-height: normal;
     background: #000000d6;
     word-wrap: break-word;
     color: #ffffff;
     color: white;
  }
}
}


/*Site Text Heading disable*/
@media screen and (max-width: 850px) {
.mw-body h1.firstHeading {
  #site-navigation .sidebar-inner {
  margin: 0.25em 0 0.5em;
    left: 0;
  border-bottom: solid 4px #9f9f9f;
    right: auto;
   display: none;
    background-color: black;
   }
}
}
 
/* ========================================
/*Sidebar rechts*/
  SIDEBAR CHUNKS
  ======================================== */
@media screen and (min-width: 1340px) {
@media screen and (min-width: 1340px) {
  #mw-related-navigation .sidebar-chunk {
#mw-site-navigation .sidebar-chunk,
    background: green;
#mw-related-navigation .sidebar-chunk {
     box-shadow: 0 4px 30px rgba(0,0,0,0.1);
     box-shadow: 0 4px 30px rgba(0,0,0,0.1);
     backdrop-filter: blur(5px);
     backdrop-filter: blur(5px);
Zeile 244: Zeile 283:
     border-radius: 3px;
     border-radius: 3px;
     padding: 1.5em 1.5em 0;
     padding: 1.5em 1.5em 0;
     color: #fff;
     color: #ffffff;
    border-radius: 0px;
   }
   }
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3 {
    font-size: 16px;
    padding: 0 0 0.5em;
    margin: 0 0 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    color: #ffffff;
}
}
}
/*Sidebar links*/
 
@media screen and (min-width: 1340px) {
 
  #mw-site-navigation .sidebar-chunk {
/* ========================================
      background: green;
  FOOTER
      box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  ======================================== */
      backdrop-filter: blur(5px);
 
      margin: 1em 0;
.mw-footer-container {
      line-height: 1.125;
    border-top: solid 1px #54595d;
      word-wrap: break-word;
    box-shadow: inset 0 7px 2px -4px rgba(0, 0, 0, 0.1);
      font-size: 0.95em;
    color: #ffffff;
      background: #000000e5;
    background-color: #161616;
      border: 1px solid #434360;
      border-radius: 3px;
      padding: 1.5em 1.5em 0;
      color: #fff;
      border-radius: 0px;
  }
}
}
/*Sidebar Abstand + Linie*/
 
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
.mw-footer-container a {
  font-size: 16px;
    color: #ffffff;
  padding: 0 0 0.5em;
    display: none;
  margin: 0 0 0.5em;
  border-bottom-color: rgba(255, 255, 255, 0.58);
}
}


/*farbe text*/
/* ========================================
#mw-clearyourcache {
  TOOLS & SELECTIONS
  direction: ltr;
  ======================================== */
  color: white;
 
.tools-inline li.selected a {
    color: #ffffff;
}
 
.tools-inline li.selected {
    border-bottom-color: #afafaf;
}
}
/*--------------------- Spezial:Upload texte Weiß anzeigen -----------------------*/
 
@media screen {
/* ========================================
  p {
  FORMS & UPLOADS
     margin: 1em 0;
  ======================================== */
     color: white;
 
  }
ul#filetoc {
    display: block;
     margin-bottom: 2em;
     background-color: #000000;
    border-color: #000000;
}
}


@media screen {
form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) fieldset legend {
  form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) fieldset legend {
     font-weight: bold;
     font-weight: bold;
     font-size: 110%;
     font-size: 110%;
     color: white;
     color: #ffffff;
  }
}
}


@media screen {
td.mw-label {
  td.mw-label {
     text-align: right;
     text-align: right;
     vertical-align: middle;
     vertical-align: middle;
     color: white;
     color: #ffffff;
  }
}
 
/* ========================================
  LOGO STYLES
  ======================================== */
 
.mw-wiki-logo img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 1px solid #191924;
    border-radius: 0.25rem;
}
 
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}
}


@media screen {
#p-logo-text a {
  .mw-body {
    display: flex;
     word-wrap: break-word;
    height: 100%;
     color: white;
    align-items: center;
  }
     justify-content: center;
    color: #ffffff;
    font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
     font-variant: small-caps;
    font-size: 1.85em;
}
}
/*--------------------- Sidebar Expand JS now CSS-----------------------*/
 
/* Sidebar Collapsible Styling */
/* ========================================
  SIDEBAR COLLAPSIBLE
  ======================================== */
 
.sidebar-collapsible {
.sidebar-collapsible {
     cursor: pointer;
     cursor: pointer;
Zeile 345: Zeile 416:
#sidebar-collapsible-toggle:hover {
#sidebar-collapsible-toggle:hover {
     background-color: rgba(255, 255, 255, 0.1);
     background-color: rgba(255, 255, 255, 0.1);
}
/* ========================================
  ICONS & SVG (ALLE GERÄTE)
  ======================================== */
/* Alle SVG-Pfade auf weiß setzen */
svg path,
svg circle,
svg rect,
svg polygon,
svg line {
    fill: #ffffff !important;
}
/* Alle SVG-Container auf weiß (für currentColor) */
svg,
.mw-ui-icon {
    color: #ffffff !important;
    background-color: transparent;
}
/* Pseudo-Elemente (Font-Icons) */
.mw-ui-icon:before,
.mw-ui-icon:after,
#mw-sidebar-button:before,
#personal-extra:before,
.sidebar-inner .mw-portlet h3:before {
    color: #ffffff !important;
}
/* Icon Container */
.mw-ui-icon,
a.mw-ui-icon {
    background-color: transparent;
}
/* Mobile Menu Icons */
#mw-sidebar-button:before,
#personal-extra:before,
.sidebar-inner .mw-portlet h3:before {
    filter: brightness(0) invert(1);
}
/* ========================================
  MOBILE STYLES (bis 850px)
  ======================================== */
@media screen and (max-width: 850px) {
    /* Header auf Mobile */
    #mw-header-container {
        background: #161616;
    }
   
    /* Content Wrapper Padding */
    #mw-content-wrapper {
        padding-top: 8px;
    }
   
    /* Sidebar chunks auf Mobile anpassen */
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        padding: 1em;
        font-size: 0.9em;
    }
   
    /* Logo SICHTBAR auf Mobile */
    #p-banner img {
        width: 120px;
        filter: brightness(1) !important;
    }
   
    /* Logo Container */
    #p-banner {
        background: transparent;
    }
   
    /* Logo Text kleiner */
    #p-logo-text a {
        font-size: 1.5em;
        color: #ffffff;
    }
   
    /* Search auf Mobile */
    #searchInput {
        background: #000000d6;
        color: #ffffff;
    }
   
    /* Überschriften auf Mobile */
    .mw-body .mw-heading1,
    .mw-body h1 {
        font-size: 1.5em;
    }
   
    /* Account Name auf Mobile */
    #personal h2 span {
        color: #ffffff;
    }
   
    /* Mobile Menu Button weiß */
    #mw-sidebar-button {
        background-color: transparent;
        border-color: #ffffff;
    }
   
    #mw-sidebar-button:before {
        background-color: #ffffff;
        box-shadow: 0 0.35em 0 0 #ffffff, 0 0.7em 0 0 #ffffff;
    }
   
    /* Alle Icons auf Mobile weiß */
    svg,
    .mw-ui-icon {
        fill: #ffffff !important;
        color: #ffffff !important;
    }
}
/* ========================================
  TABLET STYLES (851px - 1339px)
  ======================================== */
@media screen and (min-width: 851px) and (max-width: 1339px) {
    /* Header */
    #mw-header-container {
        background: #000000;
    }
   
    /* Account Name */
    #personal h2 span {
        display: inline-block;
        line-height: normal;
        word-wrap: break-word;
        color: #ffffff;
    }
   
    /* Sidebar anpassen */
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        padding: 1.2em;
    }
}
/* ========================================
  DESKTOP STYLES (ab 851px)
  ======================================== */
@media screen and (min-width: 851px) {
    /* Maximal Breite nutzen */
    .ts-inner {
        max-width: none;
    }
   
    /* Header */
    #mw-header-container {
        background: #000000;
    }
   
    /* Account Name */
    #personal h2 span {
        display: inline-block;
        line-height: normal;
        word-wrap: break-word;
        color: #ffffff;
    }
}
/* ========================================
  LARGE DESKTOP STYLES (ab 1340px)
  ======================================== */
@media screen and (min-width: 1340px) {
    /* Content padding */
    #mw-content-wrapper {
        padding-top: 12px;
    }
   
    /* Left Sidebar größer */
    #mw-site-navigation {
        padding-right: 1em;
        box-sizing: border-box;
        justify-content: space-between;
        width: 18em;
        flex: 0 0 17em;
        order: 1;
    }
   
    #p-logo-text {
        min-width: 17em;
    }
}
}

Aktuelle Version vom 12. Januar 2026, 00:34 Uhr

/* ========================================
   MOBILE SIDEBAR TOGGLE FIX
   ======================================== */

@media screen and (max-width: 850px) {
    /* Menü besser positionieren */
    #site-navigation .sidebar-inner,
    .sidebar-inner {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        max-width: 280px !important;
        width: 80% !important;
        height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 1em !important;
        z-index: 1000 !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3) !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Icons richtig positionieren auf Mobile */
    .sidebar-inner .mw-portlet h3 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75em 0.5em !important;
        background: rgba(0, 0, 0, 0.05) !important
    border-radius: 0px !important;
    margin-bottom: 0px !important;
    }
    
    @media screen and (max-width: 850px) {
  .sidebar-inner label, .dropdown label, .sidebar-inner h3, .dropdown h3 {
    color: white;
  }
}

    .sidebar-inner .toggle-icon {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
    
    .sidebar-inner .mw-portlet-body {
        padding: 0 0.5em;
    }
}

@media screen and (max-width: 850px) {
  #menus-cover {
    background: #000;
  }
}

@media screen and (max-width: 850px) {
  #site-navigation .sidebar-inner {
    border-color: #000;
  }
}
/* ========================================
   GRUNDLEGENDE STYLES FÜR ALLE GERÄTE
   ======================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Background Color Content */
#mw-content {
    background: #0a0a0a;
    border-color: #0a0a0a;
}

/* Seitenhintergrund */
#mw-content-container {
    background-color: #000000;
    border-bottom: none;
    background-image: url(/images/resources/Background.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

/* Transparent damit BG durchscheint */
.mw-body, #content {
    background: none;
}

#mw-content-text {
    background: transparent;
}

/*Messages after Star/Delete usw*/
.mw-notification {
  background-color: #000;
  color: #fff;
}

/* ========================================
   TYPOGRAFIE & FARBEN (ALLE GERÄTE)
   ======================================== */

/* Hauptüberschriften */
.mw-body .mw-heading1, 
.mw-body h1 {
    font-size: 2em;
    color: #ffffff;
    border-bottom: solid 3px #c8ccd1;
}

.mw-body h1.firstHeading {
    margin: 0.25em 0 0.5em;
    border-bottom: solid 4px #9f9f9f;
    display: none;
}

/* Text Farben */
.mw-body,
p,
#mw-clearyourcache {
    color: #ffffff;
}

/* Link Farben - einheitlich für alle Geräte */
a {
    text-decoration: none;
    color: #ffffff;
}

a:visited {
    color: #ffffff;
}

a.new, 
.new a,
a.new:visited, 
.new a:visited {
    color: #ffffff;
}

a:hover {
    color: #0075ae;
    text-decoration: none;
}

/* ========================================
   Neu
   ======================================== */
@media screen and (min-width: 1100px) and (max-width: 1339px) {
  #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
    background: #000;
  }
}

@media screen and (max-width: 850px) {
  #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
    padding: 0px !important;
  }
}

@media screen and (min-width: 851px) {
  #personal .dropdown {
    background: #000;
    border: solid transparent;
  }
}
/*account dropdown title*/
@media screen and (min-width: 851px) {
  #mw-header-container {
    color: #fff;
  }
}


/*Icon Underline Active*/
.tools-inline li.selected {
  border-bottom-color: #626202;
}
@media screen {
  .tools-inline li:hover {
    border-bottom-color: #626202;
  }
}
.tools-inline li.selected a {
  color: #626202;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* Header Farben */
#mw-header-container,
.color-left,
.color-right {
    background: #161616;
}

.color-middle-container {
    display: none;
}

/* Logo oben links */
#p-banner img {
    content: url("/images/resources/TopLeftLogo.png");
    width: 255px !important;
    height: auto;
    display: block;
}

@media screen and (max-width: 850px) {
  #p-banner img {
    width: 238px !important;
    filter: brightness(1) !important;
  }
}

@media screen and (max-width: 850px) {
  #p-banner img {
    width: 246px !important;
    max-width: 127% !important;
    height: auto;
    margin: 0;
    filter: brightness(1) !important;
    display: block;
    padding-top: 3px !important;
    padding-left: 35px !important;
  }
}
/* ========================================
   SEARCH
   ======================================== */

#searchInput {
    background: #000000d6;
    color: #ffffff;
    border: none;
}

#simpleSearch {
    box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05);
    background: #000000d6;
    position: relative;
    border: none;
}

form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) textarea, 
form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) input {
    border: solid 0px #c8ccd1;
    border-radius: 0px;
    background: #000000d6;
    color: #ffffff;
}

@media screen and (max-width: 850px) {
  #site-navigation .sidebar-inner {
    left: 0;
    right: auto;
    background-color: black;
  }
}
/* ========================================
   SIDEBAR CHUNKS
   ======================================== */
@media screen and (min-width: 1340px) {
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    margin: 1em 0;
    line-height: 1.125;
    word-wrap: break-word;
    font-size: 0.95em;
    background: #000000e5;
    border: 1px solid #434360;
    border-radius: 3px;
    padding: 1.5em 1.5em 0;
    color: #ffffff;
  }

#mw-site-navigation .sidebar-chunk h3, 
#mw-related-navigation .sidebar-chunk h3 {
    font-size: 16px;
    padding: 0 0 0.5em;
    margin: 0 0 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    color: #ffffff;
}

}


/* ========================================
   FOOTER
   ======================================== */

.mw-footer-container {
    border-top: solid 1px #54595d;
    box-shadow: inset 0 7px 2px -4px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    background-color: #161616;
}

.mw-footer-container a {
    color: #ffffff;
    display: none;
}

/* ========================================
   TOOLS & SELECTIONS
   ======================================== */

.tools-inline li.selected a {
    color: #ffffff;
}

.tools-inline li.selected {
    border-bottom-color: #afafaf;
}

/* ========================================
   FORMS & UPLOADS
   ======================================== */

ul#filetoc {
    display: block;
    margin-bottom: 2em;
    background-color: #000000;
    border-color: #000000;
}

form:not(.oo-ui-layout):not(.mw-htmlform-codex):not(:where(#search, #powersearch)) fieldset legend {
    font-weight: bold;
    font-size: 110%;
    color: #ffffff;
}

td.mw-label {
    text-align: right;
    vertical-align: middle;
    color: #ffffff;
}

/* ========================================
   LOGO STYLES
   ======================================== */

.mw-wiki-logo img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 1px solid #191924;
    border-radius: 0.25rem;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}

#p-logo-text a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
    font-variant: small-caps;
    font-size: 1.85em;
}

/* ========================================
   SIDEBAR COLLAPSIBLE
   ======================================== */

.sidebar-collapsible {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 20px;
}

.sidebar-collapsible:before {
    content: '▼';
    position: absolute;
    left: 5px;
    transition: transform 0.2s;
}

.sidebar-collapsible.closed:before {
    transform: rotate(-90deg);
}

.sidebar-collapsible:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#sidebar-collapsible-toggle {
    cursor: pointer;
    padding: 8px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

#sidebar-collapsible-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   ICONS & SVG (ALLE GERÄTE)
   ======================================== */

/* Alle SVG-Pfade auf weiß setzen */
svg path,
svg circle,
svg rect,
svg polygon,
svg line {
    fill: #ffffff !important;
}

/* Alle SVG-Container auf weiß (für currentColor) */
svg,
.mw-ui-icon {
    color: #ffffff !important;
    background-color: transparent;
}

/* Pseudo-Elemente (Font-Icons) */
.mw-ui-icon:before,
.mw-ui-icon:after,
#mw-sidebar-button:before,
#personal-extra:before,
.sidebar-inner .mw-portlet h3:before {
    color: #ffffff !important;
}

/* Icon Container */
.mw-ui-icon,
a.mw-ui-icon {
    background-color: transparent;
}

/* Mobile Menu Icons */
#mw-sidebar-button:before,
#personal-extra:before,
.sidebar-inner .mw-portlet h3:before {
    filter: brightness(0) invert(1);
}

/* ========================================
   MOBILE STYLES (bis 850px)
   ======================================== */

@media screen and (max-width: 850px) {
    /* Header auf Mobile */
    #mw-header-container {
        background: #161616;
    }
    
    /* Content Wrapper Padding */
    #mw-content-wrapper {
        padding-top: 8px;
    }
    
    /* Sidebar chunks auf Mobile anpassen */
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        padding: 1em;
        font-size: 0.9em;
    }
    
    /* Logo SICHTBAR auf Mobile */
    #p-banner img {
        width: 120px;
        filter: brightness(1) !important;
    }
    
    /* Logo Container */
    #p-banner {
        background: transparent;
    }
    
    /* Logo Text kleiner */
    #p-logo-text a {
        font-size: 1.5em;
        color: #ffffff;
    }
    
    /* Search auf Mobile */
    #searchInput {
        background: #000000d6;
        color: #ffffff;
    }
    
    /* Überschriften auf Mobile */
    .mw-body .mw-heading1, 
    .mw-body h1 {
        font-size: 1.5em;
    }
    
    /* Account Name auf Mobile */
    #personal h2 span {
        color: #ffffff;
    }
    
    /* Mobile Menu Button weiß */
    #mw-sidebar-button {
        background-color: transparent;
        border-color: #ffffff;
    }
    
    #mw-sidebar-button:before {
        background-color: #ffffff;
        box-shadow: 0 0.35em 0 0 #ffffff, 0 0.7em 0 0 #ffffff;
    }
    
    /* Alle Icons auf Mobile weiß */
    svg,
    .mw-ui-icon {
        fill: #ffffff !important;
        color: #ffffff !important;
    }
}

/* ========================================
   TABLET STYLES (851px - 1339px)
   ======================================== */

@media screen and (min-width: 851px) and (max-width: 1339px) {
    /* Header */
    #mw-header-container {
        background: #000000;
    }
    
    /* Account Name */
    #personal h2 span {
        display: inline-block;
        line-height: normal;
        word-wrap: break-word;
        color: #ffffff;
    }
    
    /* Sidebar anpassen */
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        padding: 1.2em;
    }
}

/* ========================================
   DESKTOP STYLES (ab 851px)
   ======================================== */

@media screen and (min-width: 851px) {
    /* Maximal Breite nutzen */
    .ts-inner {
        max-width: none;
    }
    
    /* Header */
    #mw-header-container {
        background: #000000;
    }
    
    /* Account Name */
    #personal h2 span {
        display: inline-block;
        line-height: normal;
        word-wrap: break-word;
        color: #ffffff;
    }
}

/* ========================================
   LARGE DESKTOP STYLES (ab 1340px)
   ======================================== */

@media screen and (min-width: 1340px) {
    /* Content padding */
    #mw-content-wrapper {
        padding-top: 12px;
    }
    
    /* Left Sidebar größer */
    #mw-site-navigation {
        padding-right: 1em;
        box-sizing: border-box;
        justify-content: space-between;
        width: 18em;
        flex: 0 0 17em;
        order: 1;
    }
    
    #p-logo-text {
        min-width: 17em;
    }
}