MediaWiki:Common.css: Difference between revisions

From CKRAS Wiki

Created page with "CSS placed here will be applied to all skins: --- CKRAS SIDEBAR CUSTOM STYLING ---: Überschriften (Blue 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; } Abstände und Links: #mw-panel .portal .body ul li { list-style: none !important; padding: 2px 0; } #mw-panel .portal .body ul li a { display: fle..."
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* --- CKRAS SIDEBAR CUSTOM STYLING --- */
/* Sidebar Icon Alignment */
 
/* Überschriften (Blue 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;
}
 
/* Abstände und Links */
#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;
    font-size: 14px;
    transition: all 0.2s ease;
     text-decoration: none;
     text-decoration: none;
}
}


#mw-panel .portal .body ul li a:hover {
    color: #0B65E9 !important;
    padding-left: 2px;
}
/* Icon-Definitionen */
#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 41: Line 17:
}
}


/* Icons für interne Links */
/* DEINE WUNSCH-ICONS */
#n-mainpage a::before { content: "🏠"; }
#n-mainpage a::before { content: "🏠"; }
#n-recentchanges a::before { content: "⏱️"; }
#n-recentchanges a::before { content: "⏱️"; }
#n-CS2 a::before { content: "🔫"; }
 
/* GUIDES */
#n-Counterstrike-2 a::before { content: "🔫"; } /* Pistole für CS2 */
#n-MatchZy a::before { content: "🎮"; }
#n-MatchZy a::before { content: "🎮"; }
#n-PreFire a::before { content: "🔥"; }
#n-PreFire a::before { content: "🔥"; }
#n-CKRAS-BOT a::before { content: "🤖"; }
#n-CKRAS-BOT a::before { content: "🤖"; }
#n-GSLT a::before { content: "🔑"; }
#n-Gameserver-Token a::before { content: "🔑"; } /* Schlüssel für Token */
#n-Workshop a::before { content: "🛠️"; }
 
#n-Gameserver a::before { content: "🖥️"; }
/* PRODUCTS */
#n-Gameserver a::before { content: "🎮"; } /* Play/Gaming Icon */
#n-Teamspeak a::before { content: "🎤"; }
#n-Teamspeak a::before { content: "🎤"; }
#n-CSTV a::before { content: "📺"; }
#n-TV-Server a::before { content: "📺"; } /* TV/Display Icon */


/* Icons für externe Links (General & Sprache) */
/* EXTERNE & SPRACHE */
#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: "🌐"; } /* Weltkugel für Sprache */

Revision as of 17:07, 26 February 2026

/* CSS placed here will be applied to all skins */
/* Sidebar Icon Alignment */
#mw-panel .portal .body ul li a {
    display: flex !important;
    align-items: center;
    padding: 4px 0;
    color: #475569 !important;
    text-decoration: none;
}

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

/* DEINE WUNSCH-ICONS */
#n-mainpage a::before { content: "🏠"; }
#n-recentchanges a::before { content: "⏱️"; }

/* GUIDES */
#n-Counterstrike-2 a::before { content: "🔫"; } /* Pistole für CS2 */
#n-MatchZy a::before { content: "🎮"; }
#n-PreFire a::before { content: "🔥"; }
#n-CKRAS-BOT a::before { content: "🤖"; }
#n-Gameserver-Token a::before { content: "🔑"; } /* Schlüssel für Token */

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

/* EXTERNE & SPRACHE */
#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: "🌐"; } /* Weltkugel für Sprache */