MediaWiki:Common.css

From CKRAS Wiki

Revision as of 17:11, 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.
/* Sidebar Layout Fix */
#mw-panel .portal .body ul li a {
    display: flex !important;
    align-items: center;
    padding: 4px 0;
    color: #475569 !important;
    text-decoration: none;
    font-size: 14px;
}

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

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

/* GUIDES - IDs must match the sidebar names */
#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: "🔑"; }

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

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