MediaWiki:Common.css: Difference between revisions
From CKRAS Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================================= | /* ========================================================= | ||
CKRAS WIKI — | CKRAS WIKI — FULL UI KIT (SIDEBAR + MAIN + SUBPAGES) | ||
========================================================= */ | ========================================================= */ | ||
/* 1) | /* 1) GLOBAL SETTINGS & HOVER LOGIC | ||
========================================================= */ | ========================================================= */ | ||
/* Mouseover: Schwarz zu Blau mit Underline - wie gewünscht */ | |||
.mw-body-content a { | |||
text-decoration: none !important; | |||
transition: all 0.2s ease; | |||
color: #0F172A; | |||
} | } | ||
.mw-body-content a:hover { | |||
color: #0B65E9 !important; | |||
border-bottom: 1px solid #0B65E9; | |||
} | } | ||
#mw-panel .portal | /* Sidebar Headlines & Icons */ | ||
#mw-panel .portal h3 { | |||
font-size: 0.85em; text-transform: uppercase; color: #0B65E9 !important; | |||
font-weight: 800; margin-top: 18px; letter-spacing: 0.5px; border: none; | |||
font- | |||
} | } | ||
#mw-panel .portal .body ul li a:hover { | #mw-panel .portal .body ul li a { display: flex !important; align-items: center; color: #475569 !important; border: none !important; } | ||
#mw-panel .portal .body ul li a:hover { color: #0B65E9 !important; border: none !important; } | |||
} | |||
# | #n-mainpage a::before, #n-Home a::before { content: "🏠"; margin-right: 12px; } | ||
#n-MatchZy a::before { content: "🎮"; margin-right: 12px; } | |||
#n-Counterstrike-2 a::before { content: "🔫"; margin-right: 12px; } | |||
} | |||
/* 2) MAIN PAGE — DETAILED SAAS LAYOUT | |||
/* 2) MAIN PAGE — | ========================================================= */ | ||
======================================================= */ | |||
.page-Main_Page #toc, .page-Main_Page #firstHeading { display: none !important; } | .page-Main_Page #toc, .page-Main_Page #firstHeading { display: none !important; } | ||
.page-Main_Page .mw-body-content { | .page-Main_Page .mw-body-content { max-width: 1700px; margin: 0 auto; padding: 0 40px; } | ||
} | |||
.page-Main_Page .ck- | /* Icon Boxen: 72px, Gleich groß, Spacing rundherum */ | ||
.page-Main_Page .ck-icoimg { | |||
width: 72px; height: 72px; border-radius: 18px; | |||
background: #F8FAFC; border: 1px solid #E2E8F0; | |||
display: flex; align-items: center; justify-content: center; | |||
flex-shrink: 0; padding: 10px; box-sizing: border-box; | |||
} | } | ||
.page-Main_Page .ck- | .page-Main_Page .ck-icoimg img { width: 100% !important; height: 100% !important; object-fit: contain !important; } | ||
} | |||
/* | /* Card Content: Icon und Titel NEBENEINANDER */ | ||
.page-Main_Page .ck-card-inner { | .page-Main_Page .ck-card-inner { | ||
background:#FFFFFF; | background:#FFFFFF; border:1px solid #E2E8F0; border-radius: 22px; | ||
padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 40px; | |||
padding:26px 32px; | |||
} | } | ||
.page-Main_Page .ck- | .page-Main_Page .ck-card-left { display: flex; align-items: center; gap: 24px; flex: 1; } | ||
} | |||
.page-Main_Page .ck-card h2 { margin: 0 !important; font-size: 20px; font-weight: 800; color: #0F172A; border: none !important; } | |||
.page-Main_Page .ck-card h2 { | |||
} | |||
.page-Main_Page .ck- | /* Meta Chips & Play Banner */ | ||
.page-Main_Page .ck-meta a { display: inline-flex; padding: 8px 14px; border-radius: 16px; background: #F1F5F9; color: #0B65E9 !important; font-weight: 700; } | |||
} | |||
.page-Main_Page .ck-play { | .page-Main_Page .ck-play { | ||
margin:40px 0 | margin: 40px 0; padding: 36px 32px; border-radius: 22px; | ||
background:#0F172A; color:#FFFFFF; text-align:center | background: #0F172A; color: #FFFFFF; text-align: center; | ||
} | } | ||
/* 3) SUBPAGES — PRO DESIGN (MATCHZY FOCUS) | |||
========================================================= */ | |||
/* 3) SUBPAGES — | |||
======================================================= */ | |||
.ck-page { max-width: 1200px; margin: 0 auto; } | .ck-page { max-width: 1200px; margin: 0 auto; } | ||
/* | /* Hero: Linksbündig, Volle Breite, Keine Boxen um Text */ | ||
.ck-page .ck-hero--dark { | .ck-page .ck-hero--dark { | ||
margin: | margin: 20px 0 30px; padding: 35px !important; border-radius: 24px !important; | ||
background: linear-gradient(135deg,#0f172a,#1e293b) !important; | background: linear-gradient(135deg,#0f172a,#1e293b) !important; | ||
border: 1px solid rgba(255,255,255,.08) !important; | border: 1px solid rgba(255,255,255,.08) !important; | ||
} | } | ||
.ck-page | .ck-page .ck-hero-inner { display: flex !important; gap: 30px !important; align-items: center !important; text-align: left !important; } | ||
} | |||
.ck-page .ck-hero-logo { | .ck-page .ck-hero-logo { | ||
width: | width: 120px; height: 120px; border-radius: 22px; flex: 0 0 auto; | ||
background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.1) !important; | |||
background: rgba(255,255,255,. | display: flex; align-items: center; justify-content: center; padding: 15px; | ||
} | } | ||
.ck-page .ck-hero- | .ck-page .ck-hero-title { font-size: 32px; font-weight: 900; color: #38BDF8 !important; margin: 0 0 8px 0 !important; } | ||
} | |||
/* | /* Hero Textbereiche ohne Hintergründe */ | ||
.ck-page .ck-hero- | .ck-page .ck-hero-sub, .ck-page .ck-hero-meta, .ck-page .ck-hero-actions { | ||
background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; | |||
.ck-page .ck-hero- | box-shadow: none !important; display: block !important; text-align: left !important; | ||
} | } | ||
.ck-page .ck-hero-sub { color: #94A3B8 !important; font-size: 16px !important; margin-bottom: 12px !important; } | |||
.ck-page .ck-hero-- | .ck-page .ck-hero-meta { color: #38BDF8 !important; font-family: monospace; font-size: 13.5px !important; margin-bottom: 16px !important; } | ||
.ck-page | |||
} | |||
.ck-page .ck- | /* JUMP-TO BOX & TOC (Stark definiert wie im Original) */ | ||
.ck-page .ck-jump { | |||
margin: 24px 0; padding: 16px 20px; border-radius: 12px; | |||
background: #F1F5F9; border-left: 6px solid #0B65E9; | |||
font-size: 15px; color: #475569; | |||
} | } | ||
.ck-page .ck- | .ck-page .ck-tocbox { | ||
margin: 24px 0; padding: 20px; border-radius: 16px; | |||
background: #FFFFFF; border: 1px solid #E2E8F0; | |||
box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |||
} | } | ||
.ck-page .ck-toc-title { font-weight: 900; font-size: 18px; margin-bottom: 12px; color: #0F172A; } | |||
.ck-page .ck- | |||
} | |||
.ck- | /* Callouts */ | ||
.ck-page .ck-callout { margin: 16px 0; padding: 14px; border-radius: 12px; border-left: 5px solid #0EA5E9; background: #F8FAFC; border: 1px solid #E2E8F0; } | |||
.ck-page .ck-callout--amber { background:#FFF7ED; border-left-color:#F59E0B; border-color:#FED7AA; } | |||
} | |||
/* | /* 4) TABLES & BUTTONS | ||
========================================================= */ | |||
.ck-page table.wikitable th { | .ck-page table.wikitable { width: 100%; border-radius: 12px; border: 1px solid #E2E8F0; overflow: hidden; border-collapse: separate; border-spacing: 0; } | ||
.ck-page table.wikitable th { background: #F8FAFC; color: #0F172A; font-weight: 800; padding: 14px; text-align: left; } | |||
.ck-page table.wikitable td { padding: 12px 14px; border-top: 1px solid #F1F5F9; } | |||
} | |||
.ck- | .ck-btn { padding: 12px 20px; border-radius: 10px; font-weight: 800; border: none !important; display: inline-flex; align-items: center; } | ||
.ck- | .ck-btn-primary { background: #0B65E9; color: #FFFFFF !important; } | ||
.ck-btn-ghost { background: rgba(255,255,255,0.05); color: #E2E8F0 !important; border: 1px solid rgba(255,255,255,0.1) !important; } | |||
. | |||
/* Responsive */ | |||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.page-Main_Page . | .page-Main_Page .ck-card-inner, .ck-page .ck-hero-inner { flex-direction: column; align-items: flex-start; } | ||
.page-Main_Page .ck-card-right, .page-Main_Page .ck-card-right a { width: 100% !important; } | .page-Main_Page .ck-card-right, .page-Main_Page .ck-card-right a { width: 100% !important; } | ||
} | } | ||
Revision as of 20:44, 3 March 2026
/* =========================================================
CKRAS WIKI — FULL UI KIT (SIDEBAR + MAIN + SUBPAGES)
========================================================= */
/* 1) GLOBAL SETTINGS & HOVER LOGIC
========================================================= */
/* Mouseover: Schwarz zu Blau mit Underline - wie gewünscht */
.mw-body-content a {
text-decoration: none !important;
transition: all 0.2s ease;
color: #0F172A;
}
.mw-body-content a:hover {
color: #0B65E9 !important;
border-bottom: 1px solid #0B65E9;
}
/* Sidebar Headlines & Icons */
#mw-panel .portal h3 {
font-size: 0.85em; text-transform: uppercase; color: #0B65E9 !important;
font-weight: 800; margin-top: 18px; letter-spacing: 0.5px; border: none;
}
#mw-panel .portal .body ul li a { display: flex !important; align-items: center; color: #475569 !important; border: none !important; }
#mw-panel .portal .body ul li a:hover { color: #0B65E9 !important; border: none !important; }
#n-mainpage a::before, #n-Home a::before { content: "🏠"; margin-right: 12px; }
#n-MatchZy a::before { content: "🎮"; margin-right: 12px; }
#n-Counterstrike-2 a::before { content: "🔫"; margin-right: 12px; }
/* 2) MAIN PAGE — DETAILED SAAS LAYOUT
========================================================= */
.page-Main_Page #toc, .page-Main_Page #firstHeading { display: none !important; }
.page-Main_Page .mw-body-content { max-width: 1700px; margin: 0 auto; padding: 0 40px; }
/* Icon Boxen: 72px, Gleich groß, Spacing rundherum */
.page-Main_Page .ck-icoimg {
width: 72px; height: 72px; border-radius: 18px;
background: #F8FAFC; border: 1px solid #E2E8F0;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0; padding: 10px; box-sizing: border-box;
}
.page-Main_Page .ck-icoimg img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
/* Card Content: Icon und Titel NEBENEINANDER */
.page-Main_Page .ck-card-inner {
background:#FFFFFF; border:1px solid #E2E8F0; border-radius: 22px;
padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.page-Main_Page .ck-card-left { display: flex; align-items: center; gap: 24px; flex: 1; }
.page-Main_Page .ck-card h2 { margin: 0 !important; font-size: 20px; font-weight: 800; color: #0F172A; border: none !important; }
/* Meta Chips & Play Banner */
.page-Main_Page .ck-meta a { display: inline-flex; padding: 8px 14px; border-radius: 16px; background: #F1F5F9; color: #0B65E9 !important; font-weight: 700; }
.page-Main_Page .ck-play {
margin: 40px 0; padding: 36px 32px; border-radius: 22px;
background: #0F172A; color: #FFFFFF; text-align: center;
}
/* 3) SUBPAGES — PRO DESIGN (MATCHZY FOCUS)
========================================================= */
.ck-page { max-width: 1200px; margin: 0 auto; }
/* Hero: Linksbündig, Volle Breite, Keine Boxen um Text */
.ck-page .ck-hero--dark {
margin: 20px 0 30px; padding: 35px !important; border-radius: 24px !important;
background: linear-gradient(135deg,#0f172a,#1e293b) !important;
border: 1px solid rgba(255,255,255,.08) !important;
}
.ck-page .ck-hero-inner { display: flex !important; gap: 30px !important; align-items: center !important; text-align: left !important; }
.ck-page .ck-hero-logo {
width: 120px; height: 120px; border-radius: 22px; flex: 0 0 auto;
background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.1) !important;
display: flex; align-items: center; justify-content: center; padding: 15px;
}
.ck-page .ck-hero-title { font-size: 32px; font-weight: 900; color: #38BDF8 !important; margin: 0 0 8px 0 !important; }
/* Hero Textbereiche ohne Hintergründe */
.ck-page .ck-hero-sub, .ck-page .ck-hero-meta, .ck-page .ck-hero-actions {
background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important;
box-shadow: none !important; display: block !important; text-align: left !important;
}
.ck-page .ck-hero-sub { color: #94A3B8 !important; font-size: 16px !important; margin-bottom: 12px !important; }
.ck-page .ck-hero-meta { color: #38BDF8 !important; font-family: monospace; font-size: 13.5px !important; margin-bottom: 16px !important; }
/* JUMP-TO BOX & TOC (Stark definiert wie im Original) */
.ck-page .ck-jump {
margin: 24px 0; padding: 16px 20px; border-radius: 12px;
background: #F1F5F9; border-left: 6px solid #0B65E9;
font-size: 15px; color: #475569;
}
.ck-page .ck-tocbox {
margin: 24px 0; padding: 20px; border-radius: 16px;
background: #FFFFFF; border: 1px solid #E2E8F0;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ck-page .ck-toc-title { font-weight: 900; font-size: 18px; margin-bottom: 12px; color: #0F172A; }
/* Callouts */
.ck-page .ck-callout { margin: 16px 0; padding: 14px; border-radius: 12px; border-left: 5px solid #0EA5E9; background: #F8FAFC; border: 1px solid #E2E8F0; }
.ck-page .ck-callout--amber { background:#FFF7ED; border-left-color:#F59E0B; border-color:#FED7AA; }
/* 4) TABLES & BUTTONS
========================================================= */
.ck-page table.wikitable { width: 100%; border-radius: 12px; border: 1px solid #E2E8F0; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.ck-page table.wikitable th { background: #F8FAFC; color: #0F172A; font-weight: 800; padding: 14px; text-align: left; }
.ck-page table.wikitable td { padding: 12px 14px; border-top: 1px solid #F1F5F9; }
.ck-btn { padding: 12px 20px; border-radius: 10px; font-weight: 800; border: none !important; display: inline-flex; align-items: center; }
.ck-btn-primary { background: #0B65E9; color: #FFFFFF !important; }
.ck-btn-ghost { background: rgba(255,255,255,0.05); color: #E2E8F0 !important; border: 1px solid rgba(255,255,255,0.1) !important; }
/* Responsive */
@media (max-width: 900px) {
.page-Main_Page .ck-card-inner, .ck-page .ck-hero-inner { flex-direction: column; align-items: flex-start; }
.page-Main_Page .ck-card-right, .page-Main_Page .ck-card-right a { width: 100% !important; }
}