MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus TCJB-Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: →‎Hintergrundbild im Minecraft-Stil: body { background: url('https://example.com/minecraft-grass.png') repeat; color: #fff; →‎Weißer Text für Kontrast: font-family: "Minecraft", "Arial", sans-serif; →‎Minecraft-Schriftart: } →‎Seitenkopf anpassen: #p-logo a { background: url('https://example.com/tcjb-logo.png') no-repeat center center; background-size: c…“)
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Hintergrundbild im Minecraft-Stil */
/* Allgemeiner Hintergrund mit Minecraft-Textur */
body {
body {
     background: url('https://example.com/minecraft-grass.png') repeat;
     background: url('https://example.com/minecraft-grass-texture.png') repeat;
     color: #fff; /* Weißer Text für Kontrast */
    background-size: cover;
     font-family: "Minecraft", "Arial", sans-serif; /* Minecraft-Schriftart */
     color: #d1d1d1; /* Angenehmes Grau für Lesbarkeit */
     font-family: "Minecraft", Arial, sans-serif;
    line-height: 1.6;
}
}


/* Seitenkopf anpassen */
/* Anpassung des Headers */
#mw-head {
    background-color: #2a2a2a; /* Dunkles Grau für den Header */
    border-bottom: 3px solid #00aa00; /* Grüner Minecraft-ähnlicher Rand */
    color: #ffffff;
    padding: 10px;
}
 
/* Logo-Styling */
#p-logo a {
#p-logo a {
     background: url('https://example.com/tcjb-logo.png') no-repeat center center;
     background: url('https://example.com/tcjb-logo.png') no-repeat center center;
     background-size: contain;
     background-size: contain;
     width: 200px;
     width: 160px;
     height: 200px;
     height: 160px;
     display: block;
     display: block;
     text-indent: -9999px; /* Text verstecken */
     text-indent: -9999px; /* Versteckt den Text des Logos */
}
}


/* Links im Minecraft-Stil */
/* Links im Minecraft-Stil */
a {
a {
     color: #00ff00; /* Minecraft-Grün */
     color: #55ff55; /* Helles Minecraft-Grün */
     text-decoration: none;
     text-decoration: none;
    transition: color 0.3s ease;
}
}
a:hover {
a:hover {
     color: #55ff55; /* Helleres Grün bei Hover */
     color: #99ff99; /* Helleres Grün bei Hover */
     text-decoration: underline;
     text-decoration: underline;
}
}


/* Tabellen und Boxen */
/* Tabellen und Infoboxen */
table, .infobox {
table, .infobox {
     background-color: rgba(0, 0, 0, 0.8); /* Transparenter schwarzer Hintergrund */
     background-color: rgba(34, 34, 34, 0.95); /* Fast schwarzer, transparenter Hintergrund */
     border: 2px solid #00aa00; /* Grüner Rand */
     border: 2px solid #00aa00; /* Minecraft-Grüner Rand */
     border-radius: 8px;
     border-radius: 5px;
     color: #fff;
     color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
}


th, td {
th, td {
     border: 1px solid #555; /* Dunkle Trennlinien */
     border: 1px solid #444; /* Dunklere Trennlinien */
     padding: 8px;
     padding: 10px;
    text-align: left;
}
}


/* Anpassung der Navigation */
/* Navigationsleiste */
#mw-head, #mw-panel {
#mw-panel {
     background: rgba(34, 34, 34, 0.9); /* Dunkler Hintergrund */
     background: #1f1f1f; /* Sehr dunkles Grau */
     border-right: 2px solid #00aa00; /* Grüner Rand rechts */
     border-right: 3px solid #00aa00; /* Minecraft-Grüner Rand rechts */
}
}


#p-personal ul li {
#p-navigation ul {
     background: #444; /* Dunkler Hintergrund */
    list-style: none;
     border-bottom: 1px solid #555;
    padding: 0;
    margin: 0;
}
#p-navigation li {
    margin: 5px 0;
}
#p-navigation li a {
    padding: 8px 12px;
    display: block;
     background: rgba(0, 0, 0, 0.8);
     border-radius: 5px;
}
}
#p-personal ul li:hover {
#p-navigation li a:hover {
     background: #555;
     background: #00aa00; /* Helleres Grün bei Hover */
    color: #000;
}
}


/* Minecraft-Buttons */
/* Minecraft-ähnliche Buttons */
button, input[type="submit"] {
button, input[type="submit"] {
     background: #007700; /* Dunkles Grün */
     background: linear-gradient(to bottom, #00aa00, #007700);
     border: 2px solid #00aa00; /* Hellerer Rand */
     border: 2px solid #003300;
     color: #fff;
     color: #ffffff;
     font-family: "Minecraft", "Arial", sans-serif;
     font-family: "Minecraft", Arial, sans-serif;
     padding: 8px 16px;
     padding: 8px 16px;
     cursor: pointer;
     cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
}
button:hover, input[type="submit"]:hover {
button:hover, input[type="submit"]:hover {
     background: #00aa00; /* Helleres Grün */
     background: #00ff00; /* Knalliges Grün */
     color: #000;
     transform: scale(1.05); /* Leichter Vergrößerungseffekt */
}
}


/* Fußzeile anpassen */
/* Footer-Anpassung */
#footer {
#footer {
     background: rgba(0, 0, 0, 0.8);
     background: #2a2a2a;
     color: #fff;
     color: #ffffff;
     border-top: 2px solid #00aa00;
     border-top: 3px solid #00aa00;
     padding: 10px;
     padding: 15px;
    text-align: center;
}
}

Version vom 3. Januar 2025, 13:35 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Allgemeiner Hintergrund mit Minecraft-Textur */
body {
    background: url('https://example.com/minecraft-grass-texture.png') repeat;
    background-size: cover;
    color: #d1d1d1; /* Angenehmes Grau für Lesbarkeit */
    font-family: "Minecraft", Arial, sans-serif;
    line-height: 1.6;
}

/* Anpassung des Headers */
#mw-head {
    background-color: #2a2a2a; /* Dunkles Grau für den Header */
    border-bottom: 3px solid #00aa00; /* Grüner Minecraft-ähnlicher Rand */
    color: #ffffff;
    padding: 10px;
}

/* Logo-Styling */
#p-logo a {
    background: url('https://example.com/tcjb-logo.png') no-repeat center center;
    background-size: contain;
    width: 160px;
    height: 160px;
    display: block;
    text-indent: -9999px; /* Versteckt den Text des Logos */
}

/* Links im Minecraft-Stil */
a {
    color: #55ff55; /* Helles Minecraft-Grün */
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #99ff99; /* Helleres Grün bei Hover */
    text-decoration: underline;
}

/* Tabellen und Infoboxen */
table, .infobox {
    background-color: rgba(34, 34, 34, 0.95); /* Fast schwarzer, transparenter Hintergrund */
    border: 2px solid #00aa00; /* Minecraft-Grüner Rand */
    border-radius: 5px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

th, td {
    border: 1px solid #444; /* Dunklere Trennlinien */
    padding: 10px;
    text-align: left;
}

/* Navigationsleiste */
#mw-panel {
    background: #1f1f1f; /* Sehr dunkles Grau */
    border-right: 3px solid #00aa00; /* Minecraft-Grüner Rand rechts */
}

#p-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#p-navigation li {
    margin: 5px 0;
}
#p-navigation li a {
    padding: 8px 12px;
    display: block;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}
#p-navigation li a:hover {
    background: #00aa00; /* Helleres Grün bei Hover */
    color: #000;
}

/* Minecraft-ähnliche Buttons */
button, input[type="submit"] {
    background: linear-gradient(to bottom, #00aa00, #007700);
    border: 2px solid #003300;
    color: #ffffff;
    font-family: "Minecraft", Arial, sans-serif;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
button:hover, input[type="submit"]:hover {
    background: #00ff00; /* Knalliges Grün */
    transform: scale(1.05); /* Leichter Vergrößerungseffekt */
}

/* Footer-Anpassung */
#footer {
    background: #2a2a2a;
    color: #ffffff;
    border-top: 3px solid #00aa00;
    padding: 15px;
    text-align: center;
}