MediaWiki:Common.css: Difference between revisions
From CKRAS Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Sidebar Layout Fix */ | |||
/* Sidebar | |||
#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; | ||
} | } | ||
#mw-panel .portal .body ul li a::before { | #mw-panel .portal .body ul li a::before { | ||
margin-right: | margin-right: 10px; | ||
font-size: 16px; | font-size: 16px; | ||
width: 20px; | width: 20px; | ||
| Line 40: | Line 17: | ||
} | } | ||
/* | /* NAVIGATION */ | ||
#n- | #n-Home a::before { content: "🏠"; } | ||
#n- | #n-Recent-changes a::before { content: "⏱️"; } | ||
/* | /* 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: "🔑"; } | ||
/* | /* 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 */ | ||
#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: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: "🇩🇪"; }