MediaWiki:Common.css: Unterschied zwischen den Versionen
MediaWiki-Schnittstellenseite
Weitere Optionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 25: | Zeile 25: | ||
text-shadow: 2px 2px 5px #000; /* Schatten für Lesbarkeit */ | text-shadow: 2px 2px 5px #000; /* Schatten für Lesbarkeit */ | ||
transition: color 0.3s ease; /* sanfte Farbänderung */ | transition: color 0.3s ease; /* sanfte Farbänderung */ | ||
} | } | ||
| Zeile 48: | Zeile 47: | ||
} | } | ||
.nav- | .nav-bar { | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | align-items: center; | ||
width: 100%; | |||
background-color: #242424; | background-color: #242424; | ||
border-radius: 20px; | border-radius: 20px; | ||
padding: 15px | padding: 15px 50px; | ||
box-sizing: border-box; | |||
} | } | ||
| Zeile 65: | Zeile 63: | ||
} | } | ||
.nav- | .nav-center { | ||
position: absolute; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
} | |||
.nav-center img { | |||
height: 45px; | |||
} | |||
.nav-bar a { | |||
color: white; | color: white; | ||
font-weight: bold; | font-weight: bold; | ||
| Zeile 71: | Zeile 79: | ||
font-size: 18px; | font-size: 18px; | ||
text-shadow: 1px 1px 2px black; | text-shadow: 1px 1px 2px black; | ||
} | } | ||
Version vom 5. Oktober 2025, 10:48 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
#ca-talk, #ca-addsection { display: none !important; }
#footer-places-about,
#footer-places-disclaimer { display: none !important; }
/* Banner-Container */
.hover-banner {
background-color: #242424;
background-size: cover;
background-position: center;
padding: 30px 40px;
border-radius: 20px; /* abgerundete Ecken */
text-align: center;
width: 1000px
display: inline-block;
}
/* Jedes Wort im Banner */
.hover-banner-word {
font-size: 10px; /* Schriftgröße */
color: white; /* Standardfarbe */
text-align: center;
text-shadow: 2px 2px 5px #000; /* Schatten für Lesbarkeit */
transition: color 0.3s ease; /* sanfte Farbänderung */
}
/* Hover-Farbe für jedes Wort */
.hover-banner-word:hover {
color: #FFD700; /* Goldene Farbe beim Hover */
cursor: pointer; /* Zeigt Mauszeiger an */
}
/* Der gesamte Banner */
.fullwidth-banner {
width: 100%; /* über gesamte Seitenbreite */
background-color: #242424;
background-size: cover; /* füllt den gesamten Bereich */
background-position: center;
justify-content: center;
border-radius: 20px; /* abgerundete Ecken */
padding: 40px 0; /* vertikaler Abstand */
display: block;
box-sizing: border-box;
}
.nav-bar {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
background-color: #242424;
border-radius: 20px;
padding: 15px 50px;
box-sizing: border-box;
}
.nav-left, .nav-right {
display: flex;
gap: 30px;
}
.nav-center {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.nav-center img {
height: 45px;
}
.nav-bar a {
color: white;
font-weight: bold;
text-decoration: none;
font-size: 18px;
text-shadow: 1px 1px 2px black;
}