MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 48: | Zeile 48: | ||
.mw-parser-output table td { | .mw-parser-output table td { | ||
display: flex !important; | display: flex !important; | ||
flex: 1 1 | flex: 1 1 45%; /* Beide Buttons teilen sich 50% */ | ||
justify-content: center; | justify-content: center; | ||
min-width: 50%; /* Hält sie nebeneinander */ | min-width: 50%; /* Hält sie nebeneinander */ | ||
text-align: center; | text-align: center; | ||
} | } | ||
} | |||
.content kbd, .content samp, .content code, .content pre { | |||
border-radius: 7px; | |||
} | } | ||
Version vom 16. März 2025, 02:50 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: wrap !important; /* Falls Platz zu klein wird */
justify-content: center !important;
align-items: center !important;
width: 100% !important;
overflow: hidden;
}
.mw-parser-output table tr,
.mw-parser-output table tbody {
display: contents !important;
}
.mw-parser-output table td {
display: flex !important;
flex: 1 1 45%; /* Beide Buttons teilen sich 50% */
justify-content: center;
min-width: 50%; /* Hält sie nebeneinander */
text-align: center;
}
}
.content kbd, .content samp, .content code, .content pre {
border-radius: 7px;
}