MediaWiki:Common.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* | /* Schrift-Import (falls noch nicht geschehen) */ | ||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400&family=Open+Sans&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400&family=Open+Sans&display=swap'); | ||
| Zeile 42: | Zeile 41: | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
Version vom 31. Mai 2026, 15:50 Uhr
/* Schrift-Import (falls noch nicht geschehen) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400&family=Open+Sans&display=swap');
h1, h2, h3 {
font-family: 'Montserrat', sans-serif !important;
font-weight: 200 !important;
position: relative;
display: inline-block; /* Wichtig für die Längenberechnung */
margin-bottom: 25px;
padding-bottom: 8px;
border-bottom: none !important; /* MediaWiki-Standard entfernen */
color: #333;
}
/* Der Joomla Style 4 Akzent */
h1::after, h2::after, h3::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 2px; /* Die Dicke der Linie */
width: 120%; /* 20% Überhang nach rechts */
/* Der 60% Blau-Akzent Verlauf */
background: linear-gradient(to right,
#00adef 0%,
#00adef 60%,
#e5e5e5 60%,
#e5e5e5 100%
);
}
/* Damit der nachfolgende Text nicht neben der Überschrift klebt */
h1, h2, h3 {
display: table; /* Alternative zu inline-block, um Zeilenumbruch zu erzwingen */
}
/* Fließtext auf Open Sans */
p, li, dd {
font-family: 'Open Sans', sans-serif !important;
font-size: 15px;
line-height: 1.6;
}