Sasori (Diskussion | Beiträge) Die Seite wurde geleert. |
Sasori (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* ========================================================= | |||
KLUBNIKA Custom Components für MediaWiki | |||
Für MediaWiki:Common.css | |||
========================================================= */ | |||
/* ---------- Topbar Navigation ---------- */ | |||
.mw-klub-topbar { | |||
display: flex; | |||
gap: 8px; | |||
align-items: center; | |||
flex-wrap: wrap; | |||
background: linear-gradient(180deg, #151515 0%, #0e0e0e 100%); | |||
border: 1px solid #1c1c1c; | |||
border-radius: 6px; | |||
padding: 10px 12px; | |||
margin: 0 0 24px 0; | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), | |||
0 2px 8px rgba(0, 0, 0, 0.4); | |||
} | |||
.mw-klub-pill { | |||
display: inline-block; | |||
font-family: ui-monospace, 'Menlo', 'Consolas', monospace; | |||
font-size: 12px; | |||
line-height: 1; | |||
font-weight: 500; | |||
color: #a6a6a6; | |||
background: #0b0b0b; | |||
border: 1px solid #262626; | |||
border-radius: 4px; | |||
padding: 7px 12px; | |||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8); | |||
transition: all 0.15s ease; | |||
cursor: pointer; | |||
} | |||
.mw-klub-pill:hover { | |||
color: #fff; | |||
background: #121212; | |||
border-color: #333; | |||
transform: translateY(-1px); | |||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8), | |||
0 2px 6px rgba(0, 0, 0, 0.3); | |||
} | |||
/* Links in Pills sollen kein Underline haben */ | |||
a .mw-klub-pill { | |||
text-decoration: none !important; | |||
} | |||
/* ---------- Content Panels ---------- */ | |||
.klub-panel { | |||
background: linear-gradient(180deg, #121212 0%, #0d0d0d 100%); | |||
border: 1px solid #1b1b1b; | |||
border-radius: 6px; | |||
padding: 18px 20px; | |||
margin: 0 0 20px 0; | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), | |||
0 0 0 1px #000, | |||
0 4px 16px rgba(0, 0, 0, 0.5); | |||
} | |||
.klub-panel h2 { | |||
margin: 0 0 12px 0 !important; | |||
padding: 0 !important; | |||
color: #cfcfcf !important; | |||
font-family: ui-monospace, monospace !important; | |||
font-size: 14px !important; | |||
font-weight: 600 !important; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
border: none !important; | |||
} | |||
.klub-panel p { | |||
margin: 0.5em 0; | |||
} | |||
.klub-muted { | |||
color: #a6a6a6; | |||
font-size: 0.95em; | |||
} | |||
/* ---------- Zwei-Spalten Layout ---------- */ | |||
.klub-columns { | |||
display: grid; | |||
grid-template-columns: 1fr 1fr; | |||
gap: 16px; | |||
margin-bottom: 20px; | |||
} | |||
/* Auf kleinen Screens: eine Spalte */ | |||
@media (max-width: 768px) { | |||
.klub-columns { | |||
grid-template-columns: 1fr; | |||
} | |||
} | |||
/* ---------- Listen (Registry/Updates) ---------- */ | |||
.klub-list { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.klub-list li { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
gap: 12px; | |||
padding: 8px 0; | |||
border-bottom: 1px dashed #222; | |||
color: #e8e8e8; | |||
font-size: 0.95em; | |||
} | |||
.klub-list li:last-child { | |||
border-bottom: none; | |||
} | |||
.klub-list li:hover { | |||
color: #9fd2ff; | |||
} | |||
.klub-date { | |||
color: #a6a6a6; | |||
font-size: 11px; | |||
white-space: nowrap; | |||
font-family: ui-monospace, monospace; | |||
} | |||
/* ---------- Katalog-Gitter ---------- */ | |||
.klub-catalog { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); | |||
gap: 12px; | |||
margin-top: 12px; | |||
} | |||
.klub-catalog .item { | |||
position: relative; | |||
background: #0b0b0b; | |||
border: 1px solid #252525; | |||
border-radius: 6px; | |||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8), | |||
0 0 0 1px #000; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
height: 120px; | |||
overflow: hidden; | |||
transition: all 0.2s ease; | |||
cursor: pointer; | |||
} | |||
.klub-catalog .item:hover { | |||
transform: translateY(-3px); | |||
border-color: #2f2f2f; | |||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8), | |||
0 0 0 1px #000, | |||
0 6px 20px rgba(0, 0, 0, 0.6); | |||
} | |||
.klub-catalog .item img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
opacity: 0.9; | |||
transition: opacity 0.2s ease; | |||
} | |||
.klub-catalog .item:hover img { | |||
opacity: 1; | |||
} | |||
/* Falls Bilder fehlen: Platzhalter */ | |||
.klub-catalog .item:empty::before { | |||
content: '?'; | |||
font-size: 48px; | |||
color: #333; | |||
font-family: ui-monospace, monospace; | |||
} | |||
/* ---------- Kleine Helfer ---------- */ | |||
.small { | |||
font-size: 12px; | |||
color: #a6a6a6; | |||
margin-top: 8px; | |||
} | |||
.small a { | |||
color: #76b2ff; | |||
text-decoration: none; | |||
} | |||
.small a:hover { | |||
text-decoration: underline; | |||
} | |||
/* ---------- Mobile Optimierung ---------- */ | |||
@media (max-width: 640px) { | |||
.mw-klub-topbar { | |||
padding: 8px 10px; | |||
gap: 6px; | |||
} | |||
.mw-klub-pill { | |||
font-size: 11px; | |||
padding: 6px 10px; | |||
} | |||
.klub-catalog { | |||
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); | |||
gap: 10px; | |||
} | |||
.klub-catalog .item { | |||
height: 100px; | |||
} | |||
.klub-panel { | |||
padding: 14px 16px; | |||
} | |||
} | |||
Version vom 12. November 2025, 23:29 Uhr
/* =========================================================
KLUBNIKA Custom Components für MediaWiki
Für MediaWiki:Common.css
========================================================= */
/* ---------- Topbar Navigation ---------- */
.mw-klub-topbar {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
background: linear-gradient(180deg, #151515 0%, #0e0e0e 100%);
border: 1px solid #1c1c1c;
border-radius: 6px;
padding: 10px 12px;
margin: 0 0 24px 0;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03),
0 2px 8px rgba(0, 0, 0, 0.4);
}
.mw-klub-pill {
display: inline-block;
font-family: ui-monospace, 'Menlo', 'Consolas', monospace;
font-size: 12px;
line-height: 1;
font-weight: 500;
color: #a6a6a6;
background: #0b0b0b;
border: 1px solid #262626;
border-radius: 4px;
padding: 7px 12px;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8);
transition: all 0.15s ease;
cursor: pointer;
}
.mw-klub-pill:hover {
color: #fff;
background: #121212;
border-color: #333;
transform: translateY(-1px);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8),
0 2px 6px rgba(0, 0, 0, 0.3);
}
/* Links in Pills sollen kein Underline haben */
a .mw-klub-pill {
text-decoration: none !important;
}
/* ---------- Content Panels ---------- */
.klub-panel {
background: linear-gradient(180deg, #121212 0%, #0d0d0d 100%);
border: 1px solid #1b1b1b;
border-radius: 6px;
padding: 18px 20px;
margin: 0 0 20px 0;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02),
0 0 0 1px #000,
0 4px 16px rgba(0, 0, 0, 0.5);
}
.klub-panel h2 {
margin: 0 0 12px 0 !important;
padding: 0 !important;
color: #cfcfcf !important;
font-family: ui-monospace, monospace !important;
font-size: 14px !important;
font-weight: 600 !important;
text-transform: uppercase;
letter-spacing: 0.5px;
border: none !important;
}
.klub-panel p {
margin: 0.5em 0;
}
.klub-muted {
color: #a6a6a6;
font-size: 0.95em;
}
/* ---------- Zwei-Spalten Layout ---------- */
.klub-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 20px;
}
/* Auf kleinen Screens: eine Spalte */
@media (max-width: 768px) {
.klub-columns {
grid-template-columns: 1fr;
}
}
/* ---------- Listen (Registry/Updates) ---------- */
.klub-list {
list-style: none;
margin: 0;
padding: 0;
}
.klub-list li {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding: 8px 0;
border-bottom: 1px dashed #222;
color: #e8e8e8;
font-size: 0.95em;
}
.klub-list li:last-child {
border-bottom: none;
}
.klub-list li:hover {
color: #9fd2ff;
}
.klub-date {
color: #a6a6a6;
font-size: 11px;
white-space: nowrap;
font-family: ui-monospace, monospace;
}
/* ---------- Katalog-Gitter ---------- */
.klub-catalog {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 12px;
margin-top: 12px;
}
.klub-catalog .item {
position: relative;
background: #0b0b0b;
border: 1px solid #252525;
border-radius: 6px;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8),
0 0 0 1px #000;
display: flex;
align-items: center;
justify-content: center;
height: 120px;
overflow: hidden;
transition: all 0.2s ease;
cursor: pointer;
}
.klub-catalog .item:hover {
transform: translateY(-3px);
border-color: #2f2f2f;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8),
0 0 0 1px #000,
0 6px 20px rgba(0, 0, 0, 0.6);
}
.klub-catalog .item img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.9;
transition: opacity 0.2s ease;
}
.klub-catalog .item:hover img {
opacity: 1;
}
/* Falls Bilder fehlen: Platzhalter */
.klub-catalog .item:empty::before {
content: '?';
font-size: 48px;
color: #333;
font-family: ui-monospace, monospace;
}
/* ---------- Kleine Helfer ---------- */
.small {
font-size: 12px;
color: #a6a6a6;
margin-top: 8px;
}
.small a {
color: #76b2ff;
text-decoration: none;
}
.small a:hover {
text-decoration: underline;
}
/* ---------- Mobile Optimierung ---------- */
@media (max-width: 640px) {
.mw-klub-topbar {
padding: 8px 10px;
gap: 6px;
}
.mw-klub-pill {
font-size: 11px;
padding: 6px 10px;
}
.klub-catalog {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 10px;
}
.klub-catalog .item {
height: 100px;
}
.klub-panel {
padding: 14px 16px;
}
}
