MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (28 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 17: | Zeile 17: | ||
.mw-body h4 strong, .mw-body h4 b { | .mw-body h4 strong, .mw-body h4 b { | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
} | |||
.mw-heading1, h1, .mw-heading2, h2, .content .mw-parser-output > h2 { | |||
border-bottom: 0; | |||
} | |||
.content p + .mw-heading3, .content p + h3 { | |||
margin-top: 0; | |||
} | } | ||
.content p { | .content p { | ||
margin: 1.5em 0 1.5em 0; | margin: 1.5em 0 1.5em 0; | ||
} | } | ||
.vector-body p { | .vector-body p { | ||
margin: 1.5em 0; | margin: 1.5em 0 1.5em 0; | ||
} !important; | } | ||
hr { | |||
margin-top: 1.9rem; | |||
} | |||
@media (max-width: 639px) { | |||
.content table, | |||
.mw-parser-output table { | |||
display: table !important; /* Beibehaltung des Standardverhaltens */ | |||
width: 100% !important; | |||
table-layout: auto !important; /* Verhindert zu starre Spaltenbreiten */ | |||
border-collapse: separate !important; | |||
border-spacing: 5px !important; /* Falls 10px zu groß ist */ | |||
margin: 0 auto !important; | |||
} | |||
.content table tr, | |||
.mw-parser-output table tr { | |||
display: table-row !important; /* Standard beibehalten */ | |||
} | |||
.content table td, | |||
.mw-parser-output table td { | |||
display: table-cell !important; | |||
width: auto !important; /* Kein starres max-width */ | |||
text-align: center !important; | |||
padding: 5px !important; | |||
} | |||
} | |||
.content kbd, .content samp, .content code, .content pre { | |||
border-radius: 7px; | |||
} | |||
Aktuelle Version vom 21. März 2025, 04:24 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');
.mw-body h1, h1.firstHeading,
.mw-body h2,
.mw-body h3,
.mw-body h4 {
font-family: 'Noto Sans', sans-serif !important;
font-weight: 400; /* Standardgewicht */
}
/* Fette Varianten in Überschriften (z.B. in <strong> oder <b>) */
.mw-body h1 strong, .mw-body h1 b,
.mw-body h2 strong, .mw-body h2 b,
.mw-body h3 strong, .mw-body h3 b,
.mw-body h4 strong, .mw-body h4 b {
font-weight: 700 !important;
}
.mw-heading1, h1, .mw-heading2, h2, .content .mw-parser-output > h2 {
border-bottom: 0;
}
.content p + .mw-heading3, .content p + h3 {
margin-top: 0;
}
.content p {
margin: 1.5em 0 1.5em 0;
}
.vector-body p {
margin: 1.5em 0 1.5em 0;
}
hr {
margin-top: 1.9rem;
}
@media (max-width: 639px) {
.content table,
.mw-parser-output table {
display: table !important; /* Beibehaltung des Standardverhaltens */
width: 100% !important;
table-layout: auto !important; /* Verhindert zu starre Spaltenbreiten */
border-collapse: separate !important;
border-spacing: 5px !important; /* Falls 10px zu groß ist */
margin: 0 auto !important;
}
.content table tr,
.mw-parser-output table tr {
display: table-row !important; /* Standard beibehalten */
}
.content table td,
.mw-parser-output table td {
display: table-cell !important;
width: auto !important; /* Kein starres max-width */
text-align: center !important;
padding: 5px !important;
}
}
.content kbd, .content samp, .content code, .content pre {
border-radius: 7px;
}