MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* Dropdown im Header */ | |||
.pixo-theme-dropdown { | |||
position: relative; | |||
display: inline-block; | |||
margin-left: 1rem; | |||
font-size: 0.9rem; | |||
} | |||
.pixo-theme-button { | |||
background: transparent; | |||
border: 1px solid #555; | |||
border-radius: 3px; | |||
padding: 2px 8px; | |||
color: inherit; | |||
cursor: pointer; | |||
} | |||
.pixo-theme-menu { | |||
position: absolute; | |||
top: 100%; | |||
right: 0; | |||
min-width: 100px; | |||
background: #1b1e26; | |||
border: 1px solid #555; | |||
border-radius: 3px; | |||
padding: 4px 0; | |||
display: none; | |||
z-index: 1000; | |||
} | |||
.pixo-theme-menu.is-open, | |||
.pixo-theme-menu.is-open ~ .pixo-theme-menu { | |||
display: block; | |||
} | |||
.pixo-theme-menu button { | |||
background: none; | |||
border: 0; | |||
color: #f5f5f5; | |||
width: 100%; | |||
text-align: left; | |||
padding: 4px 10px; | |||
cursor: pointer; | |||
} | |||
.pixo-theme-menu button:hover { | |||
background: #2b3040; | |||
} | |||
/* Themes */ | |||
/* Standard: dark */ | |||
html.theme-dark body { | |||
background-color: #101218; | |||
color: #f5f5f5; | |||
} | |||
html.theme-dark .mw-page-container, | |||
html.theme-dark .mw-page-container-inner, | |||
html.theme-dark .vector-main-container, | |||
html.theme-dark #content, | |||
html.theme-dark .mw-body, | |||
html.theme-dark .vector-body, | |||
html.theme-dark #mw-content-text { | |||
background-color: #101218; | |||
color: #f5f5f5; | |||
} | |||
/* Light-Theme */ | |||
html.theme-light body, | |||
html.theme-light .mw-page-container, | |||
html.theme-light .mw-page-container-inner, | |||
html.theme-light .vector-main-container, | |||
html.theme-light #content, | |||
html.theme-light .mw-body, | |||
html.theme-light .vector-body, | |||
html.theme-light #mw-content-text { | |||
background-color: #ffffff; | |||
color: #202122; | |||
} | |||
/* | |||
########################### | |||
### Ab hier ### | |||
########################### | |||
*/ | |||
/*#pt-createaccount, | /*#pt-createaccount, | ||
#pt-login, | #pt-login, | ||
Version vom 12. Februar 2026, 09:22 Uhr
/* Dropdown im Header */
.pixo-theme-dropdown {
position: relative;
display: inline-block;
margin-left: 1rem;
font-size: 0.9rem;
}
.pixo-theme-button {
background: transparent;
border: 1px solid #555;
border-radius: 3px;
padding: 2px 8px;
color: inherit;
cursor: pointer;
}
.pixo-theme-menu {
position: absolute;
top: 100%;
right: 0;
min-width: 100px;
background: #1b1e26;
border: 1px solid #555;
border-radius: 3px;
padding: 4px 0;
display: none;
z-index: 1000;
}
.pixo-theme-menu.is-open,
.pixo-theme-menu.is-open ~ .pixo-theme-menu {
display: block;
}
.pixo-theme-menu button {
background: none;
border: 0;
color: #f5f5f5;
width: 100%;
text-align: left;
padding: 4px 10px;
cursor: pointer;
}
.pixo-theme-menu button:hover {
background: #2b3040;
}
/* Themes */
/* Standard: dark */
html.theme-dark body {
background-color: #101218;
color: #f5f5f5;
}
html.theme-dark .mw-page-container,
html.theme-dark .mw-page-container-inner,
html.theme-dark .vector-main-container,
html.theme-dark #content,
html.theme-dark .mw-body,
html.theme-dark .vector-body,
html.theme-dark #mw-content-text {
background-color: #101218;
color: #f5f5f5;
}
/* Light-Theme */
html.theme-light body,
html.theme-light .mw-page-container,
html.theme-light .mw-page-container-inner,
html.theme-light .vector-main-container,
html.theme-light #content,
html.theme-light .mw-body,
html.theme-light .vector-body,
html.theme-light #mw-content-text {
background-color: #ffffff;
color: #202122;
}
/*
###########################
### Ab hier ###
###########################
*/
/*#pt-createaccount,
#pt-login,
#pt-createaccount-2,
#pt-login-2 {
display: none !important;
}
/* komplettes Hauptmenü links verstecken (Vector 2022) */
#mw-panel {
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;
}
*/