MediaWiki:Common.css

From CKRAS Wiki

Revision as of 11:52, 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: "🇩🇪"; }

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