MediaWiki:Common.css: Difference between revisions

From CKRAS Wiki

No edit summary
No edit summary
Line 1: Line 1:
/* Sidebar Layout Fix */
/* --- CKRAS SIDEBAR REDESIGN --- */
 
/* 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 {
#mw-panel .portal .body ul li a {
     display: flex !important;
     display: flex !important;
     align-items: center;
     align-items: center;
    padding: 4px 0;
     color: #475569 !important;
     color: #475569 !important;
    font-size: 14px;
     text-decoration: none;
     text-decoration: none;
     font-size: 14px;
     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 {
#mw-panel .portal .body ul li a::before {
     margin-right: 10px;
     margin-right: 12px;
     font-size: 16px;
     font-size: 16px;
     width: 20px;
     width: 20px;
Line 17: Line 41:
}
}


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


/* GUIDES - IDs must match the sidebar names */
/* GUIDE ICONS */
#n-Counterstrike-2 a::before { content: "🔫"; }
#n-Counterstrike-2 a::before { content: "🔫"; }
#n-MatchZy a::before { content: "🎮"; }
#n-MatchZy a::before { content: "🎮"; }
Line 28: Line 52:
#n-Gameserver-Token a::before { content: "🔑"; }
#n-Gameserver-Token a::before { content: "🔑"; }


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


/* EXTERNAL & LANGUAGE */
/* EXTERNAL & LANGUAGE ICONS */
#mw-panel a[href*="ckras.com/en/"]::before { content: "🌐"; }
#mw-panel a[href*="ckras.com/en/"]::before { content: "🌐"; }
#mw-panel a[href*="play.ckras.com"]::before { content: "☁️"; }
#mw-panel a[href*="play.ckras.com"]::before { content: "☁️"; }
#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: "🇩🇪"; }

Revision as of 17:13, 26 February 2026

/* --- CKRAS SIDEBAR REDESIGN --- */

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