Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus FabLab Wiki
Standard Wiki Breite (960px max)
 
CSS für Standard Layout mit Templates
Zeile 1: Zeile 1:
/* Vector 2022 Breite begrenzen - Standard Wiki Look */
/* Standard Wiki Layout - Breite begrenzt */
.mw-page-container {
.mw-page-container {
     max-width: 960px !important;
     max-width: 960px !important;
Zeile 5: Zeile 5:
}
}


/* Hauptseite Layout - Tabellen anpassen */
.mw-parser-output > table.wikitable {
    width: 100% !important;
    max-width: 100%;
}
/* Verschachtelte Tabellen (Templates) */
.mw-parser-output table.wikitable table.wikitable {
    width: 100%;
    box-sizing: border-box;
}
/* Inhaltsbereich */
.mw-body {
.mw-body {
     max-width: 100%;
     max-width: 100%;
}
}


.mw-parser-output table.wikitable {
/* Responsive Anpassungen */
    max-width: 100%;
@media screen and (max-width: 768px) {
     box-sizing: border-box;
    .mw-parser-output > table.wikitable > tbody > tr > td {
        display: block;
        width: 100% !important;
     }
}
}

Version vom 13. Juni 2026, 16:20 Uhr

/* Standard Wiki Layout - Breite begrenzt */
.mw-page-container {
    max-width: 960px !important;
    margin: 0 auto !important;
}

/* Hauptseite Layout - Tabellen anpassen */
.mw-parser-output > table.wikitable {
    width: 100% !important;
    max-width: 100%;
}

/* Verschachtelte Tabellen (Templates) */
.mw-parser-output table.wikitable table.wikitable {
    width: 100%;
    box-sizing: border-box;
}

/* Inhaltsbereich */
.mw-body {
    max-width: 100%;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .mw-parser-output > table.wikitable > tbody > tr > td {
        display: block;
        width: 100% !important;
    }
}
MediaWiki Appliance - Powered by TurnKey Linux