MediaWiki:Monobook.css: Unterschied zwischen den Versionen

Aus Wolffiles
Zur Navigation springenZur Suche springen
Keine Bearbeitungszusammenfassung
Die Seite wurde geleert.
Markierung: Geleert
Zeile 1: Zeile 1:
/* Grundlegendes Layout zurücksetzen */
body, html {
    margin: 0;
    padding: 0;
}


/* Kopfbereich (Header) */
#p-logo {
    height: 100px;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}
/* Linke Navigationsleiste */
#column-one {
    position: fixed;
    top: 100px; /* Höhe des Kopfbereichs */
    left: 0;
    width: 200px;
    height: calc(100% - 100px); /* Navigation bleibt unter dem Header */
    background-color: #f8f8f8;
    border-right: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto; /* Scrollbar, falls die Navigation zu lang ist */
}
/* Hauptinhaltsbereich */
#content {
    margin-left: 210px; /* Platz für die Navigation lassen */
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 100px); /* Füllt den Rest des Bildschirms aus */
}
/* Links in der Navigation */
#column-one a {
    color: #0077cc;
    text-decoration: none;
}
#column-one a:hover {
    color: #005fa3;
    text-decoration: underline;
}

Version vom 5. Januar 2025, 11:11 Uhr