Zum Inhalt springen

MediaWiki:Common.css

aus Schachcomputer.info Wiki, der freien Schachcomputer-Wissensdatenbank

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Responsive Schriftgröße für den Hauptinhalt */
div#content {
    /* Standard-Größe für große Bildschirme (ca. 16px) */
    font-size: 1em; 
    
    /* Intelligente Anpassung für kleinere Bildschirme */
    line-height: 1.6; /* Etwas mehr Zeilenabstand für bessere Lesbarkeit */
}

/* Spezifische Optimierung für mobile Geräte (Smartphones) */
@media screen and (max-width: 720px) {
    div#content {
        /* Erhöht die Grundschrift auf dem Handy leicht (ca. 17-18px) */
        font-size: 1.1em; 
        
        /* Verbessert den Lesefluss, verhindert zu lange Zeilen */
        -webkit-text-size-adjust: 100%;
    }
    
    /* Optimiert auch die Überschriften für mobile Geräte */
    h1#firstHeading {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
}



/* Verhindert, dass besuchte Links dunkler oder lila werden */
a:visited {
    color: #3366cc !important; /* Das Standard-Wiki-Blau */
}

/* Falls du möchtest, dass auch die Links in unseren neuen Boxen 
   (die das Wikipedia-Blau nutzen) konsistent bleiben: */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #3366cc !important;
}



/* Erhöhte Priorität für die Schach-Infobox */
body .chess-infobox {
    float: right !important;
    clear: right !important;
    width: 320px !important;
    margin: 0.5em 0 1em 1.5em !important;
    display: block !important;
    border: 1px solid rgba(128,128,128,0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Smartphone-Ansicht */
@media screen and (max-width: 720px) {
    body .chess-infobox {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1em 0 !important;
    }
}




.wikitable {
        background-color: var(--background-color-neutral-subtle,#f8f9fa);
        color: var(--color-base,#202122);
        margin: 1em 0;
        border: 0.5px solid var(--border-color-base,#a2a9b1);
        border-collapse: collapse
    }

    .wikitable > tr > th,.wikitable > tr > td,.wikitable > * > tr > th,.wikitable > * > tr > td {
        border: 0.5px solid var(--border-color-base,#a2a9b1);
        padding: 0.2em 0.4em
    }


.gsc-control-cse {
  border-color: transparent !important;
  background: transparent !important;
}

.gsc-search-box {
  background: transparent !important;
}

.gsc-webResult.gsc-result,
.gsc-results .gsc-imageResult,
.gsc-webResult.gsc-result:hover,
.gsc-imageResult:hover {
    border-color: transparent !important;
    background-color: transparent !important;
}
Cookies helfen uns bei der Bereitstellung des Schachcomputer.info Wiki. Durch die Nutzung des Schachcomputer.info Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.