MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung Markierung: Rückgängigmachung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 105: | Zeile 105: | ||
} | } | ||
/* TITEL | /* TITEL zentriert oben, wie H2 */ | ||
.pixo-card-title-text { | .pixo-card-title-text { | ||
position: absolute; | position: absolute; | ||
left: | top: 8px; /* Abstand von oben */ | ||
left: 50%; | |||
font-size: | transform: translateX(-50%); /* horizontal zentrieren */ | ||
font-size: 1.5rem; /* ähnlich h2 */ | |||
font-weight: 700; | font-weight: 700; | ||
color: #fff; | color: #fff; | ||
text-shadow: 0 0 4px rgba(0,0,0,0.9); | text-shadow: 0 0 4px rgba(0,0,0,0.9); | ||
white-space: nowrap; /* optional: in einer Zeile lassen */ | |||
text-align: center; | |||
} | } | ||
Version vom 12. Februar 2026, 03:32 Uhr
/* ========================================
PIXO.GG - Startseite
======================================== */
/* (Optional) Teile der Standard-UI auf der Startseite verstecken */
body.page-Start #mw-panel,
body.page-Start #p-tb,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start #mw-navigation {
display: none !important;
}
body.page-Start #content {
margin: 0;
padding: 0;
}
body.page-Start #mw-content-text {
padding: 0;
}
/* ========================================
PIXO.GG - Startseite
======================================== */
/* (Optional) Teile der Standard-UI auf der Startseite verstecken */
body.page-Start #mw-panel,
body.page-Start #p-tb,
body.page-Start #footer,
body.page-Start .mw-editsection,
body.page-Start #mw-navigation {
display: none !important;
}
body.page-Start #content {
margin: 0;
padding: 0;
}
body.page-Start #mw-content-text {
padding: 0;
}
/* Grid-Container für Start-Kacheln */
.pixo-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
width: 100%;
}
/* ========================================
Pixo-Kacheln (Spiel-Grid)
======================================== */
/* 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: 8px; /* 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;
}
*/