MediaWiki:Common.css: Difference between revisions

From CKRAS Wiki

No edit summary
No edit summary
Line 70: Line 70:
#mw-panel a[href*="iface.ckras.com"]::before { content: "🧩"; }
#mw-panel a[href*="iface.ckras.com"]::before { content: "🧩"; }
#mw-panel a[href*="wiki.ckras.com"]::before { content: "🇩🇪"; }
#mw-panel a[href*="wiki.ckras.com"]::before { content: "🇩🇪"; }
/* ===== CKRAS Wiki Dashboard Style ===== */


/* Full width */
/* Full width */
.page-Main_Page .mw-body-content {
.page-Hauptseite .mw-body-content {
   max-width: 1800px;
   max-width: 1600px;
   margin: 0 auto;
   margin: 0 auto;
   padding: 0 28px;
   padding: 0 40px;
}
}


/* Remove TOC */
.page-Hauptseite #toc { display:none; }
.page-Main_Page #toc { display:none; }


/* Titles */
/* Hero */
.ckui-title h1 {
.ck-hero h1 {
   font-size: 28px;
   font-size: 30px;
   font-weight: 800;
   font-weight: 800;
  color: #0F172A;
   margin-bottom: 8px;
   margin-bottom: 4px;
}
}
.ckui-sub {
.ck-hero p {
   font-size: 14px;
   font-size: 15px;
   color: #64748B;
   color: #64748B;
  max-width: 700px;
}
}


/* Section label */
/* Section spacing */
.ckui-section {
.ck-section {
   margin-top: 30px;
   margin-top: 40px;
}
.ckui-section h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 800;
  color: #0B65E9;
  margin-bottom: 14px;
}
}


/* Grid */
/* Big blocks */
.ckui-grid {
.ck-block {
  display: grid;
   background: #ffffff;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1200px){
  .ckui-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px){
  .ckui-grid { grid-template-columns: 1fr; }
}
 
/* Card */
.ckui-card {
   background: #FFFFFF;
   border: 1px solid #E2E8F0;
   border: 1px solid #E2E8F0;
   border-radius: 16px;
   border-radius: 20px;
   padding: 20px;
   padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.06);
  transition: 0.2s ease;
}
}


/* Card Header */
.ck-block:hover {
.ckui-cardhead {
   transform: translateY(-3px);
   display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
}


.ckui-ico {
/* Block content */
   width: 42px;
.ck-block-content h2 {
   height: 42px;
   margin: 0 0 10px;
   border-radius: 12px;
   font-size: 22px;
  background: #0B65E9;
   font-weight: 800;
   color: #fff;
   color: #0F172A;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
}


.ckui-cardhead h3 {
.ck-block-content p {
   margin:0;
   margin: 0 0 18px;
   font-size:18px;
   font-size: 14px;
  font-weight:800;
   color: #64748B;
   color:#0F172A;
   line-height: 1.6;
}
 
.ckui-cardhead p {
  margin:2px 0 0;
   font-size:13px;
  color:#64748B;
}
}


/* Buttons */
/* Buttons */
.ckui-btn {
.ck-block-content a {
   display:inline-block;
   display: inline-block;
   padding:11px 16px;
   padding: 12px 18px;
   background:#0B65E9;
   background: #0B65E9;
   color:#fff !important;
   color: #ffffff !important;
   border-radius:14px;
   border-radius: 16px;
   font-weight:800;
   font-weight: 800;
  font-size:13px;
   text-decoration: none !important;
   text-decoration:none !important;
  margin-right: 10px;
}
.ckui-btn:hover {
  background:#0958C8;
}
}


/* Secondary link */
.ck-block-content a:hover {
.ckui-link {
   background: #0958C8;
  display:block;
  margin-top:10px;
  font-size:13px;
  font-weight:700;
  color:#0B65E9 !important;
  text-decoration:none !important;
}
.ckui-link:hover {
   text-decoration:underline !important;
}
}


/* PLAY strip */
/* PLAY strip */
.ckui-strip {
.ck-play {
   margin-top: 30px;
   margin-top: 50px;
   background: #0F172A;
   background: #0F172A;
   border-radius: 18px;
   border-radius: 22px;
   padding: 20px;
   padding: 30px;
   color:#fff;
   color: #ffffff;
   display:flex;
   display:flex;
   justify-content:space-between;
   justify-content:space-between;
   align-items:center;
   align-items:center;
}
}
.ckui-strip h3 {
 
   margin:0 0 4px;
.ck-play h3 {
  font-size:16px;
   margin: 0 0 5px;
  font-weight:800;
}
}
.ckui-strip p {
 
   margin:0;
.ck-play p {
  font-size:13px;
   margin: 0;
   opacity:.7;
   opacity: .7;
}
}

Revision as of 11:52, 2 March 2026

/* =========================================================
   CKRAS WIKI — SIDEBAR + STARTPAGE (Gaming SaaS)
   Scope: Sidebar global, Startpage scoped.
   ========================================================= */


/* =========================================================
   1) CKRAS SIDEBAR REDESIGN (GLOBAL)
   ========================================================= */

/* Sidebar Headlines */
#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;
}

/* Link Styling & Icon Alignment */
#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;
    text-decoration: none;
    transition: all 0.2s ease;
}

#mw-panel .portal .body ul li a:hover {
    color: #0B65E9 !important;
    padding-left: 2px;
}

/* Icon Setup */
#mw-panel .portal .body ul li a::before {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

/* NAVIGATION ICONS */
#n-mainpage a::before, #n-Home a::before { content: "🏠"; }
#n-recentchanges a::before, #n-Recent-changes a::before { content: "⏱️"; }

/* GUIDE ICONS */
#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: "🔑"; }

/* PRODUCT ICONS */
#n-Gameserver a::before { content: "🎮"; }
#n-Teamspeak a::before { content: "🎤"; }
#n-TV-Server a::before { content: "📺"; }

/* EXTERNAL & LANGUAGE ICONS */
#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: "🇩🇪"; }

/* Full width */
.page-Hauptseite .mw-body-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-Hauptseite #toc { display:none; }

/* Hero */
.ck-hero h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ck-hero p {
  font-size: 15px;
  color: #64748B;
  max-width: 700px;
}

/* Section spacing */
.ck-section {
  margin-top: 40px;
}

/* Big blocks */
.ck-block {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.06);
  transition: 0.2s ease;
}

.ck-block:hover {
  transform: translateY(-3px);
}

/* Block content */
.ck-block-content h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
}

.ck-block-content p {
  margin: 0 0 18px;
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* Buttons */
.ck-block-content a {
  display: inline-block;
  padding: 12px 18px;
  background: #0B65E9;
  color: #ffffff !important;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none !important;
  margin-right: 10px;
}

.ck-block-content a:hover {
  background: #0958C8;
}

/* PLAY strip */
.ck-play {
  margin-top: 50px;
  background: #0F172A;
  border-radius: 22px;
  padding: 30px;
  color: #ffffff;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.ck-play h3 {
  margin: 0 0 5px;
}

.ck-play p {
  margin: 0;
  opacity: .7;
}