MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 32: | Zeile 32: | ||
background: #c12533; | background: #c12533; | ||
} | } | ||
/* ## AUSBLENDEN ## */ | |||
.vector-page-toolbar { | .vector-page-toolbar { | ||
display: none !important; | |||
} | |||
.mw-jump-link { | |||
display: none !important; | display: none !important; | ||
} | } | ||
| Zeile 40: | Zeile 43: | ||
display: none !important; | display: none !important; | ||
} | } | ||
#pt-createaccount, | #pt-createaccount, | ||
#pt-login, | #pt-login, | ||
| Zeile 48: | Zeile 49: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* komplettes Hauptmenü links verstecken (Vector 2022) */ | /* komplettes Hauptmenü links verstecken (Vector 2022) */ | ||
#mw-panel { | #mw-panel { | ||
| Zeile 56: | Zeile 56: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Werkzeuge rechts ausblenden */ | /* Werkzeuge rechts ausblenden */ | ||
#p-tb, | #p-tb, | ||
| Zeile 63: | Zeile 62: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Erscheinungsbild-Menü in der Kopfzeile komplett ausblenden (Vector 2022) */ | /* Erscheinungsbild-Menü in der Kopfzeile komplett ausblenden (Vector 2022) */ | ||
#vector-appearance-dropdown, | #vector-appearance-dropdown, | ||
| Zeile 72: | Zeile 70: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Beobachtungsliste-Eintrag im Benutzer-Menü ausblenden */ | /* Beobachtungsliste-Eintrag im Benutzer-Menü ausblenden */ | ||
li#pt-watchlist-2, | li#pt-watchlist-2, | ||
| Zeile 83: | Zeile 79: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Suche nach rechts rücken */ | /* Suche nach rechts rücken */ | ||
#p-search { | #p-search { | ||
| Zeile 89: | Zeile 84: | ||
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 { | ||
Version vom 12. Februar 2026, 11:07 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; /* Hintergrundfarbe */
color: #fff; /* Textfarbe */
border: none; /* Rahmen entfernen */
padding: 6px 14px; /* etwas Innenabstand */
border-radius: 4px; /* leicht abgerundet */
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 { /* optional: Aktionen-Dropdown */
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; /* nach rechts schieben */
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: 15px;
border: 2px solid #333;
background: #101218;
box-shadow: 0 4px 14px 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 */
overflow: hidden;
}
/* Bild im Hero-Bereich */
.pixo-card-hero img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border: 0;
}
/* Karten OHNE Hero-Bild */
.pixo-card--nohero .pixo-card-hero {
height: auto; /* keine feste Höhe */
padding: 0;
margin: 0;
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: transparent !important;
box-shadow: none !important;
}
/* TITEL zentriert oben, wie H2 */
.pixo-card-title-text {
position: absolute;
top: 10%; /* Abstand von oben */
left: 50%;
transform: translateX(-50%); /* horizontal zentrieren */
font-size: 1.5rem; /* ähnlich h2 */
font-weight: 700;
color: #fff;
text-shadow: 0 0 4px rgba(0,0,0,0.9);
white-space: nowrap; /* optional: in einer Zeile lassen */
text-align: center;
}
/* RUNDES ICON RECHTS (OPTIONAL) */
.pixo-card-icon img {
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: 0 0 8px rgba(0,0,0,0.8);
object-fit: cover;
}
/* nur auf der Startseite, falls gewünscht
body.page-Start .pixo-card-hero,
body.page-Start .pixo-card-hero a,
body.page-Start .pixo-card-hero img {
display: block;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
*/