Sasori (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Sasori (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* ========================================================= | /* ========================================================= | ||
KLUBNIKA | KLUBNIKA Custom Components für MediaWiki | ||
Für MediaWiki:Common.css | |||
========================================================= */ | ========================================================= */ | ||
/* ---------- | /* ---------- Topbar Navigation ---------- */ | ||
.mw-klub-topbar { | |||
display: flex; | |||
gap: 8px; | |||
- | align-items: center; | ||
- | justify-content: 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; | |||
color: | 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); | |||
} | |||
/* | /* Spezielle hellere Panels (wie Welcome & Featured) */ | ||
. | .klub-panel-highlight { | ||
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; | |||
} | |||
/* - | /* Panel-Titel Style (die spans) */ | ||
.klub-panel span[style*="font-family: ui-monospace"], | |||
. | .klub-panel span[style*="text-transform: uppercase"] { | ||
display: block; | |||
. | |||
background: transparent !important; | background: transparent !important; | ||
padding: 0 !important; | |||
margin: 0 0 8px 0 !important; | |||
} | } | ||
/* | /* Falls MediaWiki automatisch Titel-Styling hinzufügt */ | ||
. | .klub-panel > span:first-child, | ||
. | .klub-panel-highlight > span:first-child { | ||
background: transparent !important; | |||
background: | border: none !important; | ||
padding: 0 !important; | |||
border | |||
padding: | |||
} | } | ||
.klub-panel h2 { | |||
margin: 0 0 12px 0 !important; | |||
font- | 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; | |||
background: transparent !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; | ||
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 | border-bottom: none; | ||
} | } | ||
.klub- | .klub-list li:hover { | ||
color: #9fd2ff; | |||
} | } | ||
.klub- | |||
.klub-date { | |||
font: | color: #a6a6a6; | ||
font-size: 11px; | |||
white-space: nowrap; | |||
font-family: ui-monospace, monospace; | |||
} | } | ||
.klub- | /* ---------- Katalog-Gitter ---------- */ | ||
.klub-catalog { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); | |||
gap: 12px; | |||
margin-top: 12px; | |||
} | |||
.klub- | .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 { | |||
.klub-catalog{ | transform: translateY(-3px); | ||
border-color: #2f2f2f; | |||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8), | |||
box-shadow: inset 0 1px 0 | 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; | |||
} | } | ||
/* --- | /* ---------- Character Cards ---------- */ | ||
. | .klub-char-card { | ||
background: #0b0b0b; | |||
border: 1px solid #252525; | |||
border-radius: 6px; | |||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8), | |||
background: | 0 0 0 1px #000; | ||
border: 1px solid # | overflow: hidden; | ||
border-radius: 6px | transition: all 0.25s ease; | ||
box-shadow: 0 0 | 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: # | color: #e8e8e8; | ||
text-align: center; | |||
} | } | ||
.klub-char-name a { | |||
. | color: #e8e8e8 !important; | ||
text-decoration: none !important; | |||
color: # | |||
} | } | ||
.klub-char-name a:hover { | |||
. | |||
color: #9fd2ff !important; | color: #9fd2ff !important; | ||
} | } | ||
. | |||
.klub-char-role { | |||
color: # | padding: 0 12px 12px; | ||
font-size: 11px; | |||
color: #a6a6a6; | |||
text-align: center; | |||
font-family: ui-monospace, monospace; | |||
} | } | ||
/* ---------- Featured Character Section ---------- */ | |||
.klub-featured-minimal { | |||
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; | |||
} | } | ||
/* | /* Bild-Container für Featured Character - kein Scrollbar */ | ||
.klub-featured-minimal .thumbinner, | |||
. | .klub-featured-minimal .thumbimage { | ||
. | background: transparent !important; | ||
. | border: none !important; | ||
padding: 0 !important; | |||
margin: 0 !important; | |||
background: | |||
border: | |||
} | } | ||
.klub-featured-minimal img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
. | max-width: 160px; | ||
} | } | ||
/* | /* Falls MediaWiki einen Wrapper drum macht */ | ||
. | .klub-featured-minimal .thumb, | ||
. | .klub-featured-minimal .tleft, | ||
background: | .klub-featured-minimal .tright { | ||
border: none !important; | |||
background: transparent !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
/* | /* ---------- Kleine Helfer ---------- */ | ||
.small { | |||
font-size: 12px; | |||
color: #a6a6a6; | |||
margin-top: 8px; | |||
} | } | ||
.small a { | |||
color: #76b2ff; | |||
text-decoration: none; | |||
. | |||
color:# | |||
} | } | ||
. | |||
. | .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; | |||
} | |||
.klub-char-image { | |||
height: 120px; | |||
} | |||
} | } | ||
Aktuelle Version vom 13. November 2025, 00:57 Uhr
/* =========================================================
KLUBNIKA Custom Components für MediaWiki
Für MediaWiki:Common.css
========================================================= */
/* ---------- Topbar Navigation ---------- */
.mw-klub-topbar {
display: flex;
gap: 8px;
align-items: center;
justify-content: 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);
}
/* Spezielle hellere Panels (wie Welcome & Featured) */
.klub-panel-highlight {
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;
}
/* Panel-Titel Style (die spans) */
.klub-panel span[style*="font-family: ui-monospace"],
.klub-panel span[style*="text-transform: uppercase"] {
display: block;
background: transparent !important;
padding: 0 !important;
margin: 0 0 8px 0 !important;
}
/* Falls MediaWiki automatisch Titel-Styling hinzufügt */
.klub-panel > span:first-child,
.klub-panel-highlight > span:first-child {
background: transparent !important;
border: none !important;
padding: 0 !important;
}
.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;
background: transparent !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;
}
/* ---------- Character Cards ---------- */
.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-minimal {
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;
}
/* Bild-Container für Featured Character - kein Scrollbar */
.klub-featured-minimal .thumbinner,
.klub-featured-minimal .thumbimage {
background: transparent !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.klub-featured-minimal img {
display: block;
width: 100%;
height: auto;
max-width: 160px;
}
/* Falls MediaWiki einen Wrapper drum macht */
.klub-featured-minimal .thumb,
.klub-featured-minimal .tleft,
.klub-featured-minimal .tright {
border: none !important;
background: transparent !important;
margin: 0 !important;
padding: 0 !important;
}
/* ---------- 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;
}
.klub-char-image {
height: 120px;
}
}
