Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* =========================================================
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;
}
}
/* =========================================================
CHARACTER CARDS & FEATURED CHARACTER
Füge das zu deiner MediaWiki:Common.css hinzu!
========================================================= */
/* ---------- Character Cards (für Roster) ---------- */
.klub-char-card {
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;
overflow: hidden;
transition: all 0.25s ease;
cursor: pointer;
}
.klub-char-card:hover {
transform: translateY(-4px);
border-color: #2f2f2f;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8),
0 0 0 1px #000,
0 8px 24px rgba(0, 0, 0, 0.7);
}
.klub-char-image {
width: 100%;
height: 140px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: #080808;
}
.klub-char-image img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.9;
transition: opacity 0.25s ease, transform 0.3s ease;
}
.klub-char-card:hover .klub-char-image img {
opacity: 1;
transform: scale(1.05);
}
.klub-char-name {
padding: 10px 12px 4px;
font-family: ui-monospace, monospace;
font-size: 13px;
font-weight: 600;
color: #e8e8e8;
text-align: center;
}
.klub-char-name a {
color: #e8e8e8 !important;
text-decoration: none !important;
}
.klub-char-name a:hover {
color: #9fd2ff !important;
}
.klub-char-role {
padding: 0 12px 12px;
font-size: 11px;
color: #a6a6a6;
text-align: center;
font-family: ui-monospace, monospace;
}
/* ---------- Featured Character Section ---------- */
.klub-featured {
background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
border: 1px solid #2a2a2a !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03),
0 0 0 1px #000,
0 8px 32px rgba(0, 0, 0, 0.6) !important;
}
.klub-feature-grid {
display: grid;
grid-template-columns: 220px 1fr;
gap: 24px;
align-items: start;
margin-top: 16px;
}
.klub-feature-image {
border-radius: 6px;
overflow: hidden;
border: 1px solid #2a2a2a;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.klub-feature-image img {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease;
}
.klub-feature-image:hover img {
transform: scale(1.05);
}
.klub-feature-content h3 {
font-family: ui-monospace, monospace;
color: #fff;
border: none !important;
padding: 0 !important;
}
.klub-feature-content h3 a {
color: #fff !important;
text-decoration: none !important;
}
.klub-feature-content h3 a:hover {
color: #9fd2ff !important;
}
/* ---------- Mobile Responsiveness ---------- */
@media (max-width: 768px) {
.klub-feature-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.klub-feature-image {
margin: 0 auto;
max-width: 220px;
}
.klub-char-image {
height: 120px;
}
.klub-catalog {
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}
}
