MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 34: | Zeile 34: | ||
.mw-parser-output table { | .mw-parser-output table { | ||
display: flex !important; | display: flex !important; | ||
flex- | flex-wrap: nowrap !important; /* Verhindert das Umbruchverhalten */ | ||
justify-content: | justify-content: space-between !important; | ||
align-items: center !important; | align-items: center !important; | ||
width: 100% !important; | width: 100% !important; | ||
| Zeile 45: | Zeile 45: | ||
flex: 1; | flex: 1; | ||
justify-content: center; | justify-content: center; | ||
min-width: 50%; /* Sorgt dafür, dass beide Buttons nebeneinander bleiben */ | |||
} | } | ||
} | } | ||
Version vom 16. März 2025, 02:41 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;
}
.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) {
.mw-parser-output table {
display: flex !important;
flex-wrap: nowrap !important; /* Verhindert das Umbruchverhalten */
justify-content: space-between !important;
align-items: center !important;
width: 100% !important;
overflow: hidden;
}
.mw-parser-output table td {
display: flex !important;
flex: 1;
justify-content: center;
min-width: 50%; /* Sorgt dafür, dass beide Buttons nebeneinander bleiben */
}
}