MediaWiki:Common.css: Difference between revisions

From CKRAS Wiki

No edit summary
No edit summary
Line 1: Line 1:
/* --- CKRAS SIDEBAR CUSTOM STYLING (EN) --- */
/* Sidebar Layout Fix */
 
/* 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 {
#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;
    text-decoration: none;
     font-size: 14px;
     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 {
#mw-panel .portal .body ul li a::before {
     margin-right: 12px;
     margin-right: 10px;
     font-size: 16px;
     font-size: 16px;
     width: 20px;
     width: 20px;
Line 40: Line 17:
}
}


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


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


/* Product Icons */
/* PRODUCTS */
#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 Icons */
/* EXTERNAL & LANGUAGE */
#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: "🇩🇪"; } /* Flag for German Link */
#mw-panel a[href*="wiki.ckras.com"]::before { content: "🇩🇪"; }

Revision as of 17:11, 26 February 2026

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