MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung
Markierungen: Manuelle Zurücksetzung Zurückgesetzt
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 1: Zeile 1:
/* Dark Mode für Timeless */
/* =====================================================
[data-theme="dark"] html,
  TIMLESS – GLOBAL PAGE BACKGROUND
[data-theme="dark"] body,
  ===================================================== */
[data-theme="dark"] #mw-page-base,
 
[data-theme="dark"] #mw-wrapper,
.skin-timeless {
[data-theme="dark"] #mw-content-container,
    --page-background:
[data-theme="dark"] .mw-body {
        url("/images/resources/Background.png")
    background: #0a0a0a !important;
        no-repeat center center / cover fixed;
    color: #ededed !important;
}
}


[data-theme="dark"] #mw-content-text {
/* =====================================================
     background: #171717 !important;
  PAGE OVERLAY (WICHTIG – sonst kein BG sichtbar)
  ===================================================== */
 
.skin-timeless #mw-page-base {
     background: rgba(0, 0, 0, 0.55) !important;
}
}


[data-theme="dark"] a {
/* =====================================================
    color: #a1a1aa !important;
  HEADER
}
  ===================================================== */


[data-theme="dark"] .wikitable {
@media screen and (min-width: 851px) {
     background: #171717 !important;
     #mw-header-container {
    border-color: #262626 !important;
        position: fixed;
        top: 0;
        z-index: 200;
        width: 100%;
        min-height: 3.125em;
        background: #171717;
        padding: 0.5em 0 0;
        box-sizing: border-box;
    }
}
}
/* === DARK MODE END CUSTOM TOGGLE === */
/* === DARK MODE FORCED === */


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


/* Sidebar */
#mw-site-navigation,
#mw-site-navigation,
#mw-related-navigation {
#mw-related-navigation {
     background: #171717 !important;
     background: rgba(23, 23, 23, 0.95) !important;
}
}


/* Content Container */
@media screen and (min-width: 1100px) {
    #mw-site-navigation .sidebar-inner,
    #mw-related-navigation .sidebar-inner {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}
 
/* =====================================================
  CONTENT
  ===================================================== */
 
#mw-content-text {
#mw-content-text {
     background: #171717 !important;
     background: rgba(12, 12, 12, 0.95) !important;
     padding: 2rem !important;
     padding: 2rem !important;
     border-radius: 8px !important;
     border-radius: 8px !important;
Zeile 40: Zeile 62:
}
}


/* Links */
/* =====================================================
  TYPOGRAPHY & LINKS
  ===================================================== */
 
body {
    color: #ededed;
}
 
a {
a {
     color: #a1a1aa !important;
     color: #a1a1aa;
}
}


a:hover {
a:hover {
     color: #d4d4d8 !important;
     color: #d4d4d8;
}
}


/* Headings */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
     color: #fafafa !important;
     color: #fafafa;
     border-color: #262626 !important;
     border-color: #262626;
}
}


/* Tables */
/* =====================================================
  TABLES
  ===================================================== */
 
.wikitable {
.wikitable {
     background: #171717 !important;
     background: #171717;
     border: 1px solid #262626 !important;
     border: 1px solid #262626;
}
}


.wikitable th {
.wikitable th {
     background: #262626 !important;
     background: #262626;
     color: #a1a1aa !important;
     color: #a1a1aa;
}
}


.wikitable td {
.wikitable td {
     border-color: #262626 !important;
     border-color: #262626;
}
}


/* Buttons */
/* =====================================================
  BUTTONS
  ===================================================== */
 
button,
button,
.mw-ui-button {
.mw-ui-button {
     background: #262626 !important;
     background: #262626;
     color: #ededed !important;
     color: #ededed;
     border: 1px solid #404040 !important;
     border: 1px solid #404040;
}
}


button:hover,
button:hover,
.mw-ui-button:hover {
.mw-ui-button:hover {
     background: #404040 !important;
     background: #404040;
}
}


/* Inputs */
/* =====================================================
  INPUTS
  ===================================================== */
 
input,
input,
textarea,
textarea,
select {
select {
     background: #171717 !important;
     background: #171717;
     color: #ededed !important;
     color: #ededed;
     border: 1px solid #262626 !important;
     border: 1px solid #262626;
}
}


/* Footer */
/* =====================================================
#footer-poweredbyico,
  SEARCH INPUT
#footer-copyrightico {
  ===================================================== */
    display: none !important;
}


.color-middle {
#searchInput {
     height: 0.35em;
    border: 0;
     background: #9d0000;
     height: 2.1em;
     margin-left: 15em;
    padding: 0.4em 4.5em 0.2em 2em;
     margin-right: 17em;
     background: #000000c7;
     width: 100%;
     font-family: inherit;
}
}


.color-left {
/* =====================================================
    height: 0.35em;
  FOOTER CLEANUP
    background: #9d0000;
  ===================================================== */
    width: 50%;
    float: left;
}


.color-right {
#footer-poweredbyico,
     display: inline-block;
#footer-copyrightico {
    height: 0.35em;
     display: none;
    background: #9d0000;
    width: 50%;
    float: right;
}
}


@media screen and (min-width: 1100px) and (max-width: 1339px) {
/* =====================================================
    #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
  GRIDBOX (HOMEPAGE)
        background: #171717;
  ===================================================== */
        border: solid #171717;
        border-width: 1px 1px 0.2em;
        box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
        padding: 1.5em 1.5em 0;
        margin: 1em 0;
        line-height: 1.125;
        word-wrap: break-word;
        font-size: 0.95em;
    }
}


#mw-content {
.grid-container {
     background: #171717;
     display: flex;
     border: solid #171717;
     flex-wrap: wrap;
     border-width: 1px 1px 0.2em;
     gap: 1.2em;
     box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
     justify-content: center;
    background: #0c0c0c;
     margin: 1em 0;
     padding: 1em 2em 3em;
}
}


#mw-content-text {
.gridbox {
     background: #0c0c0c !important;
    width: 220px;
     padding: 2rem !important;
     background: #1e1e1e;
     border-radius: 8px !important;
     border: 1px solid #444;
     border: 1px solid #262626 !important
     border-radius: 10px;
     padding: 1em;
    text-align: center;
    color: #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}


@media screen and (min-width: 851px) {
.gridbox:hover {
     #mw-header-container {
     transform: translateY(-4px);
        position: fixed;
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
        z-index: 200;
        top: 0;
        width: 100%;
        background: #171717;
        color: #000;
        padding: 0.5em 0 0;
        min-height: 3.125em;
        box-sizing: border-box;
    }
}
}


@media screen and (min-width: 1340px) {
.gridbox-title {
     #mw-site-navigation .sidebar-chunk {
     font-size: 1.1em;
        background: #171717;
    font-weight: bold;
        border: solid #171717;
    margin-top: 0.6em;
        border-width: 1px 1px 0.2em;
        box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
        padding: 1.5em 1.5em 0;
        margin: 1em 0;
        line-height: 1.125;
        word-wrap: break-word;
        font-size: 0.95em;
    }
}
}


@media screen and (min-width: 1340px) {
.gridbox-desc {
    #mw-related-navigation .sidebar-chunk {
     font-size: 0.9em;
        background: #171717;
     color: #bbb;
        border: solid #171717;
     margin-top: 0.4em;
        border-width: 1px 1px 0.2em;
        box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
        padding: 1.5em 1.5em 0;
        margin: 1em 0;
        line-height: 1.125;
        word-wrap: break-word;
        font-size: 0.95em;
    }
}
/*Account Dropdown*/
@media screen and (min-width: 851px) {
     #personal .dropdown {
        top: 3.15em;
        display: none !important;
        background: #0a0a0a;
        border: solid #0a0a0a;
        border-width: 1px 1px 0.2em;
        box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
        padding: 1.5em 1.5em 0;
        margin: 1em 0;
        line-height: 1.125;
        word-wrap: break-word;
        font-size: 0.95em;
        background: #0a0a0a;
        box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
        position: absolute;
        padding: 20px 2em 0;
        margin: 0;
        min-width: 9.153em;
        top: 2.95em;
        right: -1em;
        overflow: visible;
        z-index: 50;
    }
}
/*Sidebar und Content abstand auf max erhöht*/
@media screen and (min-width: 851px) {
    .ts-inner {
        max-width: none;
        box-sizing: border-box;
        padding: 0 1em;
        margin: auto;
    }
}
/*Editor Puzzle Icon Box Dunkel*/
.ve-ui-contextItem {
    cursor: default;
     background-color: #0a0a0a;
}
/*Sidebar Transparent Effekt*/
@media screen and (min-width: 1100px) {
     #mw-site-navigation .sidebar-inner, #mw-related-navigation .sidebar-inner {
        background: var(--sidebar-base);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}
----------------
#searchInput {
    border: 0;
    margin: 0;
    height: 2.1em;
    padding: 0.4em 4.5em 0.2em 2em;
    box-shadow: none;
    background: #000000c7;
    width: 100%;
    min-height: 0;
    font-family: inherit;
}
}

Version vom 11. Januar 2026, 02:53 Uhr

/* =====================================================
   TIMLESS – GLOBAL PAGE BACKGROUND
   ===================================================== */

.skin-timeless {
    --page-background:
        url("/images/resources/Background.png")
        no-repeat center center / cover fixed;
}

/* =====================================================
   PAGE OVERLAY (WICHTIG – sonst kein BG sichtbar)
   ===================================================== */

.skin-timeless #mw-page-base {
    background: rgba(0, 0, 0, 0.55) !important;
}

/* =====================================================
   HEADER
   ===================================================== */

@media screen and (min-width: 851px) {
    #mw-header-container {
        position: fixed;
        top: 0;
        z-index: 200;
        width: 100%;
        min-height: 3.125em;
        background: #171717;
        padding: 0.5em 0 0;
        box-sizing: border-box;
    }
}

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

#mw-site-navigation,
#mw-related-navigation {
    background: rgba(23, 23, 23, 0.95) !important;
}

@media screen and (min-width: 1100px) {
    #mw-site-navigation .sidebar-inner,
    #mw-related-navigation .sidebar-inner {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* =====================================================
   CONTENT
   ===================================================== */

#mw-content-text {
    background: rgba(12, 12, 12, 0.95) !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    border: 1px solid #262626 !important;
}

/* =====================================================
   TYPOGRAPHY & LINKS
   ===================================================== */

body {
    color: #ededed;
}

a {
    color: #a1a1aa;
}

a:hover {
    color: #d4d4d8;
}

h1, h2, h3, h4, h5, h6 {
    color: #fafafa;
    border-color: #262626;
}

/* =====================================================
   TABLES
   ===================================================== */

.wikitable {
    background: #171717;
    border: 1px solid #262626;
}

.wikitable th {
    background: #262626;
    color: #a1a1aa;
}

.wikitable td {
    border-color: #262626;
}

/* =====================================================
   BUTTONS
   ===================================================== */

button,
.mw-ui-button {
    background: #262626;
    color: #ededed;
    border: 1px solid #404040;
}

button:hover,
.mw-ui-button:hover {
    background: #404040;
}

/* =====================================================
   INPUTS
   ===================================================== */

input,
textarea,
select {
    background: #171717;
    color: #ededed;
    border: 1px solid #262626;
}

/* =====================================================
   SEARCH INPUT
   ===================================================== */

#searchInput {
    border: 0;
    height: 2.1em;
    padding: 0.4em 4.5em 0.2em 2em;
    background: #000000c7;
    width: 100%;
    font-family: inherit;
}

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

#footer-poweredbyico,
#footer-copyrightico {
    display: none;
}

/* =====================================================
   GRIDBOX (HOMEPAGE)
   ===================================================== */

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2em;
    justify-content: center;
    margin: 1em 0;
}

.gridbox {
    width: 220px;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    color: #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gridbox:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

.gridbox-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 0.6em;
}

.gridbox-desc {
    font-size: 0.9em;
    color: #bbb;
    margin-top: 0.4em;
}