MediaWiki:Common.css: Difference between revisions

From CKRAS Wiki

No edit summary
No edit summary
Line 4: Line 4:
   ========================================================= */
   ========================================================= */


/* 1) CKRAS SIDEBAR REDESIGN (GLOBAL)
/* 1) GLOBAL SIDEBAR & RESET
   ========================================================= */
   ========================================================= */
.mw-body-content a { text-decoration: none !important; }


#mw-panel .portal h3 {
#mw-panel .portal h3 {
Line 17: Line 19:
}
}


#mw-panel .portal .body ul li {
#mw-panel .portal .body ul li { list-style: none !important; padding: 3px 0; }
  list-style: none !important;
  padding: 3px 0;
}
 
#mw-panel .portal .body ul li a {
#mw-panel .portal .body ul li a {
   display: flex !important;
   display: flex !important;
Line 27: Line 25:
   color: #475569 !important;
   color: #475569 !important;
   font-size: 14px;
   font-size: 14px;
  text-decoration: none;
   transition: all 0.2s ease;
   transition: all 0.2s ease;
}
}


#mw-panel .portal .body ul li a:hover {
#mw-panel .portal .body ul li a:hover { color: #0B65E9 !important; padding-left: 2px; }
  color: #0B65E9 !important;
  padding-left: 2px;
}
 
#mw-panel .portal .body ul li a::before {
#mw-panel .portal .body ul li a::before {
   margin-right: 12px;
   margin-right: 12px; font-size: 16px; width: 20px; text-align: center; display: inline-block;
  font-size: 16px;
  width: 20px;
  text-align: center;
  display: inline-block;
}
}


Line 61: Line 50:




/* 2) MAIN PAGE — SAAS DESIGN (STRICTLY ISOLATED)
/* 2) MAIN PAGE — CLEAN SAAS (STRICTLY SCOPED)
   ======================================================= */
   ======================================================= */


Line 72: Line 61:
}
}


/* STARTPAGE HERO */
/* Hero Section Startseite */
.page-Main_Page .ck-hero {
.page-Main_Page .ck-hero { background: transparent !important; border: none !important; padding: 0 !important; margin-bottom: 30px; }
  background: transparent !important; /* Kein dunkler Balken auf Startseite */
.page-Main_Page .ck-hero h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; color:#0F172A; }
  border: none !important;
.page-Main_Page .ck-hero p { margin:0; font-size:14px; color:#64748B; max-width:820px; line-height:1.6; }
  padding: 0 !important;
.page-Main_Page .ck-hero a { color:#0F172A !important; font-weight:600; border-bottom:1px solid rgba(15,23,42,.15); }
  margin-bottom: 30px;
.page-Main_Page .ck-hero a:hover { color:#0B65E9 !important; border-bottom-color:#0B65E9; }
}
 
.page-Main_Page .ck-hero h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  color:#0F172A;
}
 
.page-Main_Page .ck-hero p {
  margin:0;
  font-size:14px;
  color:#64748B;
  max-width:820px;
  line-height:1.6;
}
 
.page-Main_Page .ck-hero a {
  color:#0F172A !important;
  font-weight:600;
  text-decoration:none !important;
  border-bottom:1px solid rgba(15,23,42,.15);
}
 
.page-Main_Page .ck-hero a:hover {
  color:#0B65E9 !important;
  border-bottom-color:#0B65E9;
}
 
.page-Main_Page .ck-section-title {
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-weight:800;
  color:#0B65E9;
  margin:34px 0 18px;
}


/* CARDS STARTPAGE */
/* Sections & Cards */
.page-Main_Page .ck-section-title { font-size:13px; text-transform:uppercase; letter-spacing:.6px; font-weight:800; color:#0B65E9; margin:34px 0 18px; }
.page-Main_Page .ck-card { margin-bottom:22px; }
.page-Main_Page .ck-card { margin-bottom:22px; }
.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;
  border:1px solid #E2E8F0;
   display:flex; align-items:center; justify-content:space-between; gap:40px; transition:.18s ease;
  border-radius:22px;
  padding:26px 32px;
   display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  transition:.18s ease;
}
 
.page-Main_Page .ck-card-inner:hover {
  border-color:rgba(11,101,233,.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
}
.page-Main_Page .ck-card-inner:hover { border-color:rgba(11,101,233,.25); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }


/* Icons Startseite */
.page-Main_Page .ck-icoimg {
.page-Main_Page .ck-icoimg {
   width:64px; height:64px; border-radius:20px;
   width:64px; height:64px; border-radius:20px; background:#F8FAFC; border:1px solid #E2E8F0;
  background:#F8FAFC; border:1px solid #E2E8F0;
   display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden;
   display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
}
.page-Main_Page .ck-icoimg img { width:50px !important; height:50px !important; object-fit:contain !important; }


.page-Main_Page .ck-icoimg img {
/* Typography Card */
  width:50px !important; height:50px !important; object-fit:contain !important;
.page-Main_Page .ck-card h2 { margin:0 0 6px !important; padding:0 !important; font-size:17px; font-weight:700; letter-spacing:-0.2px; color:#0F172A; border:0 !important; }
}
.page-Main_Page .ck-card p { margin:0; font-size:13.5px; color:#64748B; line-height:1.55; }
 
/* Card Content Reset */
.page-Main_Page .ck-card h2 {
  margin:0 0 6px !important; padding:0 !important;
  font-size:17px; font-weight:700; letter-spacing:-0.2px;
  color:#0F172A; border:0 !important; background:none !important;
}


/* Meta Chips & Buttons */
.page-Main_Page .ck-meta a {
.page-Main_Page .ck-meta a {
   display:inline-flex; align-items:center; padding:8px 14px;
   display:inline-flex; align-items:center; padding:8px 14px; border-radius:16px;  
  border-radius:16px; background:#F1F5F9; border:1px solid #E2E8F0;
  background:#F1F5F9; border:1px solid #E2E8F0; font-size:12.5px; font-weight:700; color:#0B65E9 !important;
  font-size:12.5px; font-weight:700; color:#0B65E9 !important;
}
}
.page-Main_Page .ck-card-right a {
.page-Main_Page .ck-card-right a {
   width:220px; height:48px; display:flex; align-items:center; justify-content:center;
   width:220px; height:48px; display:flex; align-items:center; justify-content:center;
   border-radius:16px; background:#0B65E9; color:#FFFFFF !important;
   border-radius:16px; background:#0B65E9; color:#FFFFFF !important; font-size:14px; font-weight:700; transition:.18s ease;
  font-size:14px; font-weight:700; transition:.18s ease;
}
 
/* PLAY BANNER (Startseite unten) */
.page-Main_Page .ck-play {
  margin:40px 0 24px; padding:36px 32px; border-radius:22px; background:#0F172A; color:#FFFFFF; text-align:center;
  border:1px solid rgba(255,255,255,.06);
}
.page-Main_Page .ck-play h3 { margin:0 0 10px; font-size:17px; font-weight:800; color:#FFFFFF; }
.page-Main_Page .ck-play p { margin:0 auto 22px; font-size:13.5px; opacity:.85; line-height:1.6; max-width:720px; color:#E2E8F0; }
.page-Main_Page .ck-play-btn a {
  width:220px; height:48px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:16px; background:#0B65E9 !important; color:#FFFFFF !important; font-weight:700;
}
}




/* 3) SUBPAGES — CKRAS UI KIT (SCOPED TO .ck-page)
/* 3) SUBPAGES — CKRAS UI KIT (ONLY INSIDE .ck-page)
   ======================================================= */
   ======================================================= */


.ck-page { max-width: 1200px; margin: 0 auto; }
.ck-page { max-width: 1200px; margin: 0 auto; }


/* Minimal Links (Subpages) */
/* Subpage Links */
.ck-page a:not(.ck-btn):not(.image) {
.ck-page a:not(.ck-btn):not(.image) {
   color: #0B65E9;
   color: #0B65E9; border-bottom: 1px solid rgba(11,101,233,.18); transition: .15s ease;
  border-bottom: 1px solid rgba(11,101,233,.18);
  transition: .15s ease;
}
}
.ck-page a:hover { border-bottom-color: #094DB6; }
.ck-page a:hover { border-bottom-color: #094DB6; }


/* SUBPAGE HERO (DARK FIX) */
/* SUBPAGE HERO (MatchZy Header Fix) */
.ck-page .ck-hero {
.ck-page .ck-hero--dark {
   border-radius: 22px;
   margin: 14px 0 24px; padding: 26px 28px; border-radius: 22px;
  padding: 26px 28px;
   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;
  box-shadow: none !important;
  margin-bottom: 24px;
}
}


.ck-page .ck-hero-inner { align-items: flex-start !important; display: flex; gap: 20px; }
.ck-page .ck-hero-inner { display: flex; gap: 22px; align-items: flex-start !important; text-align: left !important; }
.ck-page .ck-hero-content { text-align: left !important; }


/* FIX: Entfernt "Input-Look" Boxen auf Subpages */
.ck-page .ck-hero-logo {
.ck-page .ck-hero-sub,
  width: 110px; height: 110px; border-radius: 22px; flex-shrink: 0;
.ck-page .ck-hero-meta,
   background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important;
.ck-page .ck-hero-actions {
   display: flex; align-items: center; justify-content: center; overflow: hidden;
   background: transparent !important;
  border: 0 !important;
   padding: 0 !important;
  margin-left: 0 !important;
  box-shadow: none !important;
}
}
.ck-page .ck-hero-logo img { width: 90px !important; height: 90px !important; object-fit: contain; }


/* Typography Subpage Hero - Clean, No Boxes */
.ck-page .ck-hero-title {
.ck-page .ck-hero-title {
   color: #38BDF8 !important;
   font-size: 28px; font-weight: 900; color: #38BDF8 !important;  
  font-weight: 900 !important;
   margin: 0 0 6px 0 !important; letter-spacing: -0.3px; line-height: 1.1;
   font-size: 28px;
  letter-spacing: -0.3px;
  margin: 0 0 6px 0 !important;
}
}
.ck-page .ck-hero-sub, .ck-page .ck-hero-meta {
  background: transparent !important; border: none !important; padding: 0 !important;
  box-shadow: none !important; text-align: left !important; display: block !important;
}
.ck-page .ck-hero-sub { color: #94A3B8 !important; font-size: 14.5px; line-height: 1.5; margin-bottom: 8px !important; }
.ck-page .ck-hero-meta { color: #E2E8F0 !important; font-size: 13.5px; margin-bottom: 14px !important; }


.ck-page .ck-hero-sub { color:#94A3B8 !important; font-size: 14.5px !important; line-height: 1.55 !important; }
/* Buttons Subpage */
.ck-page .ck-hero-meta { color:#E2E8F0 !important; font-size: 13.5px !important; margin-top: 10px !important; }
.ck-page .ck-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; background: transparent !important; border: none !important; padding: 0 !important; }
.ck-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px;
  border-radius: 12px; font-weight: 800; font-size: 13px; border: 1px solid transparent; transition: .18s ease;
}
.ck-btn-primary { background: #0B65E9; color: #FFFFFF !important; border-bottom: none !important; }
.ck-btn-ghost { background: #111827; border-color: #334155; color: #E2E8F0 !important; border-bottom: none !important; }


/* Hero Buttons Fix */
/* Tables & Callouts Subpage */
.ck-page .ck-hero-actions a { border-bottom: none !important; text-decoration: none !important; }
 
/* TABLES CKRAS CI */
.ck-page table.wikitable {
.ck-page table.wikitable {
   width:100%; border-collapse:separate; border-spacing:0;
   width: 100%; border-collapse: separate; border-spacing: 0;
   border:1px solid #DBEAFE; border-radius:14px; overflow:hidden;
   border: 1px solid #DBEAFE; border-radius: 14px; overflow: hidden;
}
}
.ck-page table.wikitable th { background: #EFF6FF; color: #0F172A; font-weight: 900; padding: 12px; border-bottom: 1px solid #DBEAFE; text-align: left; }
.ck-page table.wikitable td { padding: 12px; border-bottom: 1px solid #EFF6FF; color: #0F172A; }
.ck-page table.wikitable tr:nth-child(even) td { background: #F8FAFF; }


.ck-page table.wikitable th {
.ck-page .ck-callout, .ck-page .ck-jump, .ck-page .ck-tocbox {
   background:#EFF6FF; color:#0F172A; font-weight:900;
   margin: 16px 0; padding: 14px; border-radius: 14px; border: 1px solid #E2E8F0; background: #F8FAFC;
  padding:12px; text-align:left; border-bottom:1px solid #DBEAFE;
}
}
 
.ck-page .ck-callout { border-left: 5px solid #0EA5E9; }
.ck-page table.wikitable td { padding:12px; border-bottom:1px solid #EFF6FF; }
.ck-page table.wikitable tr:nth-child(even) td { background:#F8FAFF; }




/* 4) RESPONSIVE & GLOBAL FIXES
/* 4) RESPONSIVE
   ======================================================= */
   ======================================================= */


@media (max-width: 900px) {
@media (max-width: 900px) {
   .page-Main_Page .ck-card-inner { flex-direction: column !important; padding: 22px 18px !important; }
   .page-Main_Page .ck-card-inner { flex-direction: column; align-items: stretch; padding: 22px 18px !important; }
   .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; }
 
   .ck-page .ck-hero-inner { flex-direction: column; align-items: flex-start; }
   .ck-page .ck-hero-inner { flex-direction: column; }
  .ck-page .ck-hero-logo { width: 90px; height: 90px; }
}
}
/* Verhindert "Double Underline" global, außer wo explizit definiert */
.mw-body-content a { text-decoration: none !important; }

Revision as of 17:54, 3 March 2026

/* =========================================================
   CKRAS WIKI — GLOBAL SIDEBAR + MAIN PAGE + SUBPAGE UI KIT
   Skin: Medik (responsive)
   ========================================================= */

/* 1) GLOBAL SIDEBAR & RESET
   ========================================================= */

.mw-body-content a { text-decoration: none !important; }

#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 { list-style: none !important; padding: 3px 0; }
#mw-panel .portal .body ul li a {
  display: flex !important;
  align-items: center;
  color: #475569 !important;
  font-size: 14px;
  transition: all 0.2s ease;
}

#mw-panel .portal .body ul li a:hover { color: #0B65E9 !important; padding-left: 2px; }
#mw-panel .portal .body ul li a::before {
  margin-right: 12px; font-size: 16px; width: 20px; text-align: center; display: inline-block;
}

/* SIDEBAR ICONS */
#n-mainpage a::before, #n-Home a::before { content: "🏠"; }
#n-recentchanges a::before, #n-Recent-changes a::before { content: "⏱️"; }
#n-Counterstrike-2 a::before { content: "🔫"; }
#n-MatchZy a::before { content: "🎮"; }
#n-PreFire a::before { content: "🔥"; }
#n-CKRAS-BOT a::before { content: "🤖"; }
#n-Gameserver-Token a::before { content: "🔑"; }
#n-Gameserver a::before { content: "🎮"; }
#n-Teamspeak a::before { content: "🎤"; }
#n-TV-Server a::before { content: "📺"; }
#mw-panel a[href*="ckras.com/en/"]::before { content: "🌐"; }
#mw-panel a[href*="play.ckras.com"]::before { content: "☁️"; }
#mw-panel a[href*="iface.ckras.com"]::before { content: "🧩"; }
#mw-panel a[href*="wiki.ckras.com"]::before { content: "🇩🇪"; }


/* 2) MAIN PAGE — CLEAN SAAS (STRICTLY SCOPED)
   ======================================================= */

.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;
}

/* Hero Section Startseite */
.page-Main_Page .ck-hero { background: transparent !important; border: none !important; padding: 0 !important; margin-bottom: 30px; }
.page-Main_Page .ck-hero h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; color:#0F172A; }
.page-Main_Page .ck-hero p { margin:0; font-size:14px; color:#64748B; max-width:820px; line-height:1.6; }
.page-Main_Page .ck-hero a { color:#0F172A !important; font-weight:600; border-bottom:1px solid rgba(15,23,42,.15); }
.page-Main_Page .ck-hero a:hover { color:#0B65E9 !important; border-bottom-color:#0B65E9; }

/* Sections & Cards */
.page-Main_Page .ck-section-title { font-size:13px; text-transform:uppercase; letter-spacing:.6px; font-weight:800; color:#0B65E9; margin:34px 0 18px; }
.page-Main_Page .ck-card { margin-bottom:22px; }
.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; transition:.18s ease;
}
.page-Main_Page .ck-card-inner:hover { border-color:rgba(11,101,233,.25); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }

/* Icons Startseite */
.page-Main_Page .ck-icoimg {
  width:64px; height:64px; border-radius:20px; background:#F8FAFC; border:1px solid #E2E8F0;
  display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden;
}
.page-Main_Page .ck-icoimg img { width:50px !important; height:50px !important; object-fit:contain !important; }

/* Typography Card */
.page-Main_Page .ck-card h2 { margin:0 0 6px !important; padding:0 !important; font-size:17px; font-weight:700; letter-spacing:-0.2px; color:#0F172A; border:0 !important; }
.page-Main_Page .ck-card p { margin:0; font-size:13.5px; color:#64748B; line-height:1.55; }

/* Meta Chips & Buttons */
.page-Main_Page .ck-meta a {
  display:inline-flex; align-items:center; padding:8px 14px; border-radius:16px; 
  background:#F1F5F9; border:1px solid #E2E8F0; font-size:12.5px; font-weight:700; color:#0B65E9 !important;
}
.page-Main_Page .ck-card-right a {
  width:220px; height:48px; display:flex; align-items:center; justify-content:center;
  border-radius:16px; background:#0B65E9; color:#FFFFFF !important; font-size:14px; font-weight:700; transition:.18s ease;
}

/* PLAY BANNER (Startseite unten) */
.page-Main_Page .ck-play {
  margin:40px 0 24px; padding:36px 32px; border-radius:22px; background:#0F172A; color:#FFFFFF; text-align:center;
  border:1px solid rgba(255,255,255,.06);
}
.page-Main_Page .ck-play h3 { margin:0 0 10px; font-size:17px; font-weight:800; color:#FFFFFF; }
.page-Main_Page .ck-play p { margin:0 auto 22px; font-size:13.5px; opacity:.85; line-height:1.6; max-width:720px; color:#E2E8F0; }
.page-Main_Page .ck-play-btn a {
  width:220px; height:48px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:16px; background:#0B65E9 !important; color:#FFFFFF !important; font-weight:700;
}


/* 3) SUBPAGES — CKRAS UI KIT (ONLY INSIDE .ck-page)
   ======================================================= */

.ck-page { max-width: 1200px; margin: 0 auto; }

/* Subpage Links */
.ck-page a:not(.ck-btn):not(.image) {
  color: #0B65E9; border-bottom: 1px solid rgba(11,101,233,.18); transition: .15s ease;
}
.ck-page a:hover { border-bottom-color: #094DB6; }

/* SUBPAGE HERO (MatchZy Header Fix) */
.ck-page .ck-hero--dark {
  margin: 14px 0 24px; padding: 26px 28px; border-radius: 22px;
  background: linear-gradient(135deg,#0f172a,#1e293b) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}

.ck-page .ck-hero-inner { display: flex; gap: 22px; align-items: flex-start !important; text-align: left !important; }

.ck-page .ck-hero-logo {
  width: 110px; height: 110px; border-radius: 22px; flex-shrink: 0;
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ck-page .ck-hero-logo img { width: 90px !important; height: 90px !important; object-fit: contain; }

/* Typography Subpage Hero - Clean, No Boxes */
.ck-page .ck-hero-title {
  font-size: 28px; font-weight: 900; color: #38BDF8 !important; 
  margin: 0 0 6px 0 !important; letter-spacing: -0.3px; line-height: 1.1;
}
.ck-page .ck-hero-sub, .ck-page .ck-hero-meta {
  background: transparent !important; border: none !important; padding: 0 !important;
  box-shadow: none !important; text-align: left !important; display: block !important;
}
.ck-page .ck-hero-sub { color: #94A3B8 !important; font-size: 14.5px; line-height: 1.5; margin-bottom: 8px !important; }
.ck-page .ck-hero-meta { color: #E2E8F0 !important; font-size: 13.5px; margin-bottom: 14px !important; }

/* Buttons Subpage */
.ck-page .ck-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; background: transparent !important; border: none !important; padding: 0 !important; }
.ck-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px;
  border-radius: 12px; font-weight: 800; font-size: 13px; border: 1px solid transparent; transition: .18s ease;
}
.ck-btn-primary { background: #0B65E9; color: #FFFFFF !important; border-bottom: none !important; }
.ck-btn-ghost { background: #111827; border-color: #334155; color: #E2E8F0 !important; border-bottom: none !important; }

/* Tables & Callouts Subpage */
.ck-page table.wikitable {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid #DBEAFE; border-radius: 14px; overflow: hidden;
}
.ck-page table.wikitable th { background: #EFF6FF; color: #0F172A; font-weight: 900; padding: 12px; border-bottom: 1px solid #DBEAFE; text-align: left; }
.ck-page table.wikitable td { padding: 12px; border-bottom: 1px solid #EFF6FF; color: #0F172A; }
.ck-page table.wikitable tr:nth-child(even) td { background: #F8FAFF; }

.ck-page .ck-callout, .ck-page .ck-jump, .ck-page .ck-tocbox {
  margin: 16px 0; padding: 14px; border-radius: 14px; border: 1px solid #E2E8F0; background: #F8FAFC;
}
.ck-page .ck-callout { border-left: 5px solid #0EA5E9; }


/* 4) RESPONSIVE
   ======================================================= */

@media (max-width: 900px) {
  .page-Main_Page .ck-card-inner { flex-direction: column; align-items: stretch; padding: 22px 18px !important; }
  .page-Main_Page .ck-card-right, .page-Main_Page .ck-card-right a { width: 100% !important; }
  .ck-page .ck-hero-inner { flex-direction: column; align-items: flex-start; }
}