MediaWiki:Common.css

From CKRAS Wiki

Revision as of 17:09, 26 February 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 SIDEBAR CUSTOM STYLING (EN) --- */

/* Sidebar Header Style */
#mw-panel .portal h3 {
    font-size: 0.85em;
    text-transform: uppercase;
    color: #0B65E9 !important;
    font-weight: 800;
    margin-top: 18px;
    letter-spacing: 0.5px;
}

/* Link Alignment & Style */
#mw-panel .portal .body ul li {
    list-style: none !important;
    padding: 2px 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;
    text-decoration: none;
}

#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 { content: "🏠"; }
#n-recentchanges 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: "🇩🇪"; } /* Flag for German Link */