MediaWiki:Common.css

From CKRAS Wiki

Revision as of 12:00, 2 March 2026 by Ckras (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =========================================================
   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: "🇩🇪"; }

/* ===== CKRAS WIKI MAIN PAGE ===== */

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

/* Wide layout */
.page-Main_Page .mw-body-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HERO */
.page-Main_Page .ck-hero h1 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #0F172A;
}

.page-Main_Page .ck-hero p {
  font-size: 14px;
  color: #64748B;
  max-width: 800px;
  line-height: 1.6;
}

/* SECTION TITLE */
.page-Main_Page .ck-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 900;
  color: #0B65E9;
  margin: 28px 0 14px;
}

/* CARD */
.page-Main_Page .ck-card {
  margin-bottom: 18px;
}

.page-Main_Page .ck-card-inner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all .2s ease;
}

.page-Main_Page .ck-card-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
}

/* LEFT SIDE */
.page-Main_Page .ck-card-left {
  flex: 1;
}

.page-Main_Page .ck-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.page-Main_Page .ck-ico {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #0B65E9;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* TEXT */
.page-Main_Page .ck-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
}

.page-Main_Page .ck-card h2 a {
  text-decoration: none !important;
  color: #0F172A !important;
}

.page-Main_Page .ck-card h2 a:hover {
  color: #0B65E9 !important;
}

.page-Main_Page .ck-card p {
  margin: 0;
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* META LINK */
.page-Main_Page .ck-meta {
  margin-top: 10px;
}

.page-Main_Page .ck-meta a {
  font-size: 13px;
  font-weight: 800;
  color: #0B65E9 !important;
  text-decoration: none !important;
}

.page-Main_Page .ck-meta a:hover {
  text-decoration: underline !important;
}

/* BUTTON */
.page-Main_Page .ck-card-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  min-width: 200px;
  border-radius: 20px;
  background: #0B65E9;
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 18px rgba(11,101,233,.18);
  transition: all .2s ease;
}

.page-Main_Page .ck-card-right a:hover {
  background: #0958C8;
  transform: translateY(-2px);
}

/* PLAY STRIP */
.page-Main_Page .ck-play {
  margin-top: 30px;
  background: #0F172A;
  border-radius: 24px;
  padding: 24px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

.page-Main_Page .ck-play h3 {
  margin: 0 0 6px;
  font-weight: 900;
}

.page-Main_Page .ck-play p {
  margin: 0;
  font-size: 13px;
  opacity: .8;
}

.page-Main_Page .ck-play a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 20px;
  background: #0B65E9;
  color: #FFFFFF !important;
  font-weight: 900;
  text-decoration: none !important;
  transition: all .2s ease;
}

.page-Main_Page .ck-play a:hover {
  background: #0958C8;
}