MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 147: | Zeile 147: | ||
width: 100%; | width: 100%; | ||
margin: 0; | margin: 0; | ||
border-radius: 25px; | border-radius: 25px; | ||
background: rgba(220, 220, 220, 0.6); | |||
border: 2px solid rgba(240, 240, 240, 0.6); | |||
box-shadow: 0 5px 16px rgba(0,0,0,0.5); | box-shadow: 0 5px 16px rgba(0,0,0,0.5); | ||
overflow: hidden; | overflow: hidden; | ||
| Zeile 180: | Zeile 180: | ||
margin: 0; | margin: 0; | ||
border-radius: 20px; | border-radius: 20px; | ||
background: | background: rgba(220, 220, 220, 0.6); | ||
border: 0; | border: 0; | ||
} | } | ||
| Zeile 200: | Zeile 200: | ||
width: 100%; | width: 100%; | ||
height: 30px; | height: 30px; | ||
background: | background: rgba(10, 10, 10, 0.7); | ||
padding: 6px 12px; | padding: 6px 12px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
Version vom 5. März 2026, 07:28 Uhr
/*******************************
* Hintergrund & Body (global)
*******************************/
body {
background-color: #060e12;
padding-top: 5.5rem;
background-image:
radial-gradient(
ellipse 10% 100% at calc(50% - 800px) center,
#112733 20%,
#060e12 75%,
transparent 100%
),
radial-gradient(
ellipse 10% 100% at calc(50% + 800px) center,
#112733 20%,
#060e12 75%,
transparent 100%
);
background-repeat: no-repeat;
background-size: auto 100%, auto 100%;
background-attachment: fixed;
}
/*******************************
* Content-Container (global)
*******************************/
.mw-page-container {
background-color: #060e1275 !important;
background-repeat: no-repeat !important;
background-size: 100% 100%, 100% 100%;
border-bottom-left-radius: 30px !important;
border-bottom-right-radius: 30px !important;
padding: 20px !important;
margin: 0 auto !important;
max-width: 1600px;
margin-top: -4rem;
}
.mw-page-container .mw-content-container {
background: transparent !important;
}
/*******************************
* Eigener Sticky-Header (global)
*******************************/
#pixo-custom-header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 5.5rem;
z-index: 1000;
background: transparent;
}
/* Inhalt des Headers auf Containerbreite begrenzen */
#pixo-custom-header-inner {
box-sizing: border-box;
max-width: 1600px;
margin: 0 auto;
padding: 0 3rem;
height: 100%;
display: flex;
align-items: center;
background-color: #060e12f0;
border-bottom: 1px solid #112733;
backdrop-filter: blur(8px);
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
/* Slots */
#pixo-custom-header-left,
#pixo-custom-header-center,
#pixo-custom-header-right {
flex: 1 1 0;
display: flex;
align-items: center;
gap: .75rem;
}
#pixo-custom-header-left {
justify-content: flex-start;
}
#pixo-custom-header-center {
justify-content: center;
}
#pixo-custom-header-right {
justify-content: flex-end;
}
/* Suchbox optional etwas begrenzen, falls im Custom-Header verwendet */
#pixo-custom-header-left .vector-search-box-vue {
max-width: 260px;
}
/*******************************
* Icon-Buttons im Header (global)
*******************************/
.pixo-header-icon {
min-width: 2.25rem;
height: 2.25rem;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 .6rem;
font-size: 0.9rem;
color: #e5f3ff;
background: #112733;
text-decoration: none;
border: none;
cursor: pointer;
}
.pixo-header-icon:hover {
background: #183646;
}
/* Logo-Link im Header etwas anpassen */
#pixo-custom-header-center .mw-logo {
margin: 0;
display: flex;
align-items: center;
}
/* ========================================
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;
background: rgba(220, 220, 220, 0.6);
border: 2px solid rgba(240, 240, 240, 0.6);
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: 150px;
background: transparent;
overflow: hidden;
}
/* Bild im Hero-Bereich */
.pixo-card-hero img {
width: 100%;
height: 180px;
object-fit: cover;
border-radius: 20px;
background: transparent;
display: block;
}
/* Karten OHNE Hero-Bild */
.pixo-card--nohero .pixo-card-hero {
height: auto; /* keine feste Höhe */
padding: 0;
margin: 0;
border-radius: 20px;
background: rgba(220, 220, 220, 0.6);
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;
}
/* Schwarzer Balken unter dem Hero-Bild */
.pixo-card-title-bar {
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
height: 30px;
background: rgba(10, 10, 10, 0.7);
padding: 6px 12px;
box-sizing: border-box;
}
/* Titel rechtsbündig auf der Title-Bar */
.pixo-card-title-text {
position: static;
display: block;
font-size: 1.3rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 4px rgba(0,0,0,0.9);
white-space: nowrap;
padding: 0px 0px 2px 0px;
text-align: right;
}
.pixo-card-hero-inner {
display: inline-block;
}