MediaWiki:Timeless.css: Unterschied zwischen den Versionen

Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 33: Zeile 33:
/* Transparent damit BG durch kann */
/* Transparent damit BG durch kann */
.mw-body, #content {
.mw-body, #content {
    background: none;
}
#mw-content {
    background: none;
    border: none;
}
#mw-content {
     background: none;
     background: none;
}
}


/* Content Box Transparent -> Inhalt jeder Page */
/* Content Box Transparent -> Inhalt jeder Page */
Zeile 98: Zeile 90:
}
}


#mw-content {
    background: #161616;
}


/*Header */
/*Header */

Version vom 11. Januar 2026, 19:38 Uhr

/* Hintergrund fixieren auf gesamte Seite */
html, body {
    height: 100%;
}

/* BG Timeless */
/* Seitenhintergrund (Bild) */
#mw-content-container {
    background-color: #000000; /* Fallback, falls Bild nicht geladen wird */
    border-bottom: none;

    background-image: url(/images/resources/Background.png);
    background-repeat: no-repeat;
    background-position: center top;   /* Position des Bildes */
    background-attachment: fixed;      /* FIXED: bleibt an Ort beim Scrollen */
    background-size: cover;            /* Bild passt sich der Bildschirmgröße an */
}
/*Maximal Breite benutzen Bildschirm*/
@media screen and (min-width: 851px) {
  .ts-inner {
    max-width: None;
  }
}

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

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

/* Content Box Transparent -> Inhalt jeder Page */
#mw-content-text {
    background: Transparent;
}

/* CSS an dieser Stelle wird für Benutzer geladen, die die Benutzeroberfläche „Timeless“ verwenden */

/* Content etwas runter */
@media screen and (min-width: 1340px) {
  #mw-content-wrapper {
    padding-top: 12px;
  }
}


/* Header */
@media screen and (min-width: 851px) {
    #mw-header-container {
        background: #000000;
    }
}
/* Search */
#searchInput {
    background: #000000d6;
    color: white;
}
@media screen {
  #simpleSearch {
    box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05);
    background: #fff;
    position: relative;
    border: none;
  }
}
/* No Border Search */
@media screen {
  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;
  }
}

.mw-footer-container a {
    /* color: #dbeaff; */
    display: none;
}

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


/*Header */
.color-left {
    background: #161616;
}
.color-right {
    background: #161616;
}
.color-middle-container {
   display: none;
}


/*Links texte usw im Main Menu */

.mw-body .mw-heading1, .mw-body h1 {
    font-size: 2em;
    color: white;
    border-bottom: solid 3px #c8ccd1;
}

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

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

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

a:visited {
    color: #ffffff;
}

a:visited {
    color: #ffffff;
}
a.new {
    color: #ffffff;
}
a.new {
    color: #ffffff;
}
a {
    text-decoration: none;
    color: #ffffff;
}

/*Link Color Hovr*/
@media screen {
  a:hover {
    color: #0075ae;
    text-decoration: none;
  }
}


/*Uploaded Images Special:Upload after upload -> Header Color Fix*/
@media screen {
  ul#filetoc {
    display: block;
    margin-bottom: 2em;
    background-color: black;
    border-color: black;
  }
}
.mw-body h1.firstHeading {
    margin: 0.25em 0 0.5em;
    border-bottom: solid 4px #9f9f9f;
    display: block;
}

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





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


/*Left Sidebar größer + Search 1/3 View*/
@media screen and (min-width: 1340px) {
  #mw-site-navigation {
    padding-right: 1em;
    box-sizing: border-box;
    justify-content: space-between;
    width: 18em;
    flex: 0 0 17em;
    order: 1;
  }
}

@media screen and (min-width: 1340px) {
  #p-logo-text {
    min-width: 17em;
  }
}


/*Account Name*/
@media screen and (min-width: 851px) {
  #personal h2 span {
    display: inline-block;
    line-height: normal;
    word-wrap: break-word;
    color: white;
  }
}

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

/*Sidebar rechts*/
@media screen and (min-width: 1340px) {
  #mw-related-navigation .sidebar-chunk {
    background: green;
    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: #fff;
    border-radius: 0px;
  }
}
/*Sidebar links*/
@media screen and (min-width: 1340px) {
  #mw-site-navigation .sidebar-chunk {
       background: green;
      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: #fff;
      border-radius: 0px;
  }
}
/*Sidebar Abstand + Linie*/
#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-color: rgba(255, 255, 255, 0.58);
}

/*farbe text*/
#mw-clearyourcache {
  direction: ltr;
  color: white;
}
/*--------------------- Spezial:Upload texte Weiß anzeigen -----------------------*/
@media screen {
  p {
    margin: 1em 0;
    color: white;
  }
}

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

@media screen {
  td.mw-label {
    text-align: right;
    vertical-align: middle;
    color: white;
  }
}

@media screen {
  .mw-body {
    word-wrap: break-word;
    color: white;
  }
}
/*--------------------- Sidebar Expand JS now CSS-----------------------*/
/* Sidebar Collapsible Styling */
.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);
}