MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* | /* | ||
========================== | ========================== | ||
| Zeile 6: | Zeile 6: | ||
*/ | */ | ||
/* ## SUCHE AUF ALLEN SEITEN ## | /* ## SUCHE AUF ALLEN SEITEN ## | ||
.mw-search-form-wrapper { | .mw-search-form-wrapper { | ||
margin: 1rem 0; | margin: 1rem 0; | ||
| Zeile 16: | Zeile 16: | ||
} | } | ||
/* Suche-Button auf alles Seiten stylen * | /* Suche-Button auf alles Seiten stylen * | ||
input.mw-searchButton, | input.mw-searchButton, | ||
input[type="submit"][name="fulltext"], | input[type="submit"][name="fulltext"], | ||
input[type="submit"][value="Suchen"] { | input[type="submit"][value="Suchen"] { | ||
background: #e63946; | background: #e63946; | ||
color: #fff; | color: #fff; | ||
border: none; | border: none; | ||
padding: 6px 14px; | padding: 6px 14px; | ||
border-radius: 4px; | border-radius: 4px; | ||
cursor: pointer; | cursor: pointer; | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
/* Hover-Effekt | /* Hover-Effekt | ||
body.page-Start .mw-search-form-wrapper input[type="submit"]:hover { | body.page-Start .mw-search-form-wrapper input[type="submit"]:hover { | ||
background: #c12533; | background: #c12533; | ||
} | } | ||
/* ## AUSBLENDEN ## | /* ## AUSBLENDEN ## | ||
.vector-page-toolbar { | .vector-page-toolbar { | ||
display: none !important; | display: none !important; | ||
| Zeile 40: | Zeile 40: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Seitenwerkzeuge (rechte Spalte) komplett ausblenden | /* Seitenwerkzeuge (rechte Spalte) komplett ausblenden | ||
nav.vector-page-tools-landmark { | nav.vector-page-tools-landmark { | ||
display: none !important; | display: none !important; | ||
| Zeile 50: | Zeile 50: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* komplettes Hauptmenü links verstecken (Vector 2022) | /* komplettes Hauptmenü links verstecken (Vector 2022) | ||
#mw-panel { | #mw-panel { | ||
display: none !important; | display: none !important; | ||
| Zeile 57: | Zeile 57: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Werkzeuge rechts ausblenden | /* Werkzeuge rechts ausblenden | ||
#p-tb, | #p-tb, | ||
#p-tools, | #p-tools, | ||
#p-cactions { | #p-cactions { | ||
display: none !important; | display: none !important; | ||
} | } | ||
| Zeile 76: | Zeile 76: | ||
} #########################*/ | } #########################*/ | ||
/* Beobachtungsliste-Eintrag im Benutzer-Menü ausblenden | /* Beobachtungsliste-Eintrag im Benutzer-Menü ausblenden | ||
li#pt-watchlist-2, | li#pt-watchlist-2, | ||
#pt-watchlist-2 { | #pt-watchlist-2 { | ||
| Zeile 85: | Zeile 85: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Suche nach rechts rücken | /* Suche nach rechts rücken | ||
#p-search { | #p-search { | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: 1.5rem; | margin-right: 1.5rem; | ||
} | } | ||
/* „Umschalten zum bisherigen Aussehen“ im Hauptmenü ausblenden | /* „Umschalten zum bisherigen Aussehen“ im Hauptmenü ausblenden | ||
.vector-main-menu-action-opt-out { | .vector-main-menu-action-opt-out { | ||
display: none !important; | display: none !important; | ||
| Zeile 178: | Zeile 178: | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
/* ========================= | /* ========================= | ||
Mobile-Anpassungen (≤ 768px) | Mobile-Anpassungen (≤ 768px) | ||
========================= | ========================= | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
| Zeile 210: | Zeile 195: | ||
.vector-header-end { | .vector-header-end { | ||
display: flex !important; | display: flex !important; | ||
flex-direction: column !important; | flex-direction: column !important; | ||
align-items: stretch !important; | align-items: stretch !important; | ||
| Zeile 234: | Zeile 219: | ||
width: 100% !important; | width: 100% !important; | ||
} | } | ||
} | } | ||
Version vom 13. Februar 2026, 15:00 Uhr
/*
==========================
Ab hier
==========================
*/
/* ## SUCHE AUF ALLEN SEITEN ##
.mw-search-form-wrapper {
margin: 1rem 0;
}
.mw-search-form-wrapper .mw-search-input input[type="search"] {
padding: 4px 8px;
width: 260px;
}
/* Suche-Button auf alles Seiten stylen *
input.mw-searchButton,
input[type="submit"][name="fulltext"],
input[type="submit"][value="Suchen"] {
background: #e63946;
color: #fff;
border: none;
padding: 6px 14px;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
}
/* Hover-Effekt
body.page-Start .mw-search-form-wrapper input[type="submit"]:hover {
background: #c12533;
}
/* ## AUSBLENDEN ##
.vector-page-toolbar {
display: none !important;
}
.mw-jump-link {
display: none !important;
}
/* Seitenwerkzeuge (rechte Spalte) komplett ausblenden
nav.vector-page-tools-landmark {
display: none !important;
}
#pt-createaccount,
#pt-login,
#pt-createaccount-2,
#pt-login-2 {
display: none !important;
}
/* komplettes Hauptmenü links verstecken (Vector 2022)
#mw-panel {
display: none !important;
}
#mw-navigation{
display: none !important;
}
/* Werkzeuge rechts ausblenden
#p-tb,
#p-tools,
#p-cactions {
display: none !important;
}
/* Erscheinungsbild-Menü in der Kopfzeile komplett ausblenden (Vector 2022) */
/* ########################
#vector-appearance-dropdown,
#vector-appearance-dropdown-checkbox,
.vector-appearance-dropdown,
.vector-appearance-landmark,
#p-vector-appearance {
display: none !important;
} #########################*/
/* Beobachtungsliste-Eintrag im Benutzer-Menü ausblenden
li#pt-watchlist-2,
#pt-watchlist-2 {
display: none !important;
}
#pt-watchlist,
#pt-watchlist-2 {
display: none !important;
}
/* Suche nach rechts rücken
#p-search {
margin-left: auto;
margin-right: 1.5rem;
}
/* „Umschalten zum bisherigen Aussehen“ im Hauptmenü ausblenden
.vector-main-menu-action-opt-out {
display: none !important;
}
*/
/* ========================================
Pixo-Kacheln (Spiel-Grid)
======================================== */
/* Grid-Container für Start-Kacheln */
.pixo-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
width: 100%;
}
/* BASIS-KARTE */
.pixo-card {
display: block;
width: 100%;
margin: 0;
border-radius: 25px;
/* border: 2px solid #333; */
background: #fb6100;
box-shadow: 0 5px 16px rgba(0,0,0,0.5);
overflow: hidden;
font-family: inherit;
}
/* Normale Karte mit Hero-Bild */
.pixo-card-hero {
position: relative;
width: 100%;
height: 140px; /* Höhe für Karten MIT Bild */
/* border-radius: 25px; */
background: transparent;
overflow: hidden;
}
/* Bild im Hero-Bereich */
.pixo-card-hero img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 20px;
background: transparent;
display: block;
border: 0;
}
/* Karten OHNE Hero-Bild */
.pixo-card--nohero .pixo-card-hero {
height: auto; /* keine feste Höhe */
padding: 0;
margin: 0;
border-radius: 20px;
background: transparent;
border: 0;
}
/* Falls irgendwo Standard-Rand auf Bildern sitzt, hier nochmal hart entfernen */
.pixo-card-hero a,
.pixo-card-hero img {
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
background: #fb6100 !important;
box-shadow: none !important;
}
/* TITEL zentriert oben, wie H2 */
.pixo-card-title-text {
position: absolute;
top: 75%; /* Abstand von oben */
left: 50%;
transform: translateX(-50%); /* horizontal zentrieren */
font-size: 1.5rem; /* ähnlich h2 */
font-weight: 700;
color: #00ffff;
text-shadow: 0 0 4px rgba(0,0,0,0.9);
white-space: nowrap; /* optional: in einer Zeile lassen */
text-align: center;
}
.pixo-card-hero-inner {
display: inline-block;
}
/* =========================
Mobile-Anpassungen (≤ 768px)
=========================
@media screen and (max-width: 768px) {
.vector-header {
padding: 6px 0 !important;
flex-direction: column !important;
align-items: stretch !important;
}
.vector-header-start {
margin-bottom: 4px !important;
}
.vector-header-end {
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
gap: 4px !important;
grid-template-columns: none !important;
}
.vector-header-end #p-search {
width: 100% !important;
}
.vector-header-end .vector-user-links {
align-self: center !important;
}
.pixo-grid {
display: flex !important;
flex-direction: column !important;
gap: 12px !important;
}
.pixo-card {
width: 100% !important;
}
}