MediaWiki:Common.css
From CKRAS Wiki
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.
/* =========================================================
CKRAS WIKI — SIDEBAR + STARTPAGE (Gaming SaaS)
Scope: Sidebar global, Startpage scoped.
========================================================= */
/* =========================================================
1) CKRAS SIDEBAR REDESIGN (GLOBAL)
========================================================= */
/* 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: "🇩🇪"; }
/* ===== CKRAS Wiki Dashboard Style ===== */
/* Full width */
.page-Main_Page .mw-body-content {
max-width: 1800px;
margin: 0 auto;
padding: 0 28px;
}
/* Remove TOC */
.page-Main_Page #toc { display:none; }
/* Titles */
.ckui-title h1 {
font-size: 28px;
font-weight: 800;
color: #0F172A;
margin-bottom: 4px;
}
.ckui-sub {
font-size: 14px;
color: #64748B;
}
/* Section label */
.ckui-section {
margin-top: 30px;
}
.ckui-section h2 {
font-size: 13px;
text-transform: uppercase;
letter-spacing: .5px;
font-weight: 800;
color: #0B65E9;
margin-bottom: 14px;
}
/* Grid */
.ckui-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}
@media (max-width: 1200px){
.ckui-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px){
.ckui-grid { grid-template-columns: 1fr; }
}
/* Card */
.ckui-card {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 16px;
padding: 20px;
}
/* Card Header */
.ckui-cardhead {
display: flex;
gap: 14px;
align-items: center;
margin-bottom: 14px;
}
.ckui-ico {
width: 42px;
height: 42px;
border-radius: 12px;
background: #0B65E9;
color: #fff;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
}
.ckui-cardhead h3 {
margin:0;
font-size:18px;
font-weight:800;
color:#0F172A;
}
.ckui-cardhead p {
margin:2px 0 0;
font-size:13px;
color:#64748B;
}
/* Buttons */
.ckui-btn {
display:inline-block;
padding:11px 16px;
background:#0B65E9;
color:#fff !important;
border-radius:14px;
font-weight:800;
font-size:13px;
text-decoration:none !important;
}
.ckui-btn:hover {
background:#0958C8;
}
/* Secondary link */
.ckui-link {
display:block;
margin-top:10px;
font-size:13px;
font-weight:700;
color:#0B65E9 !important;
text-decoration:none !important;
}
.ckui-link:hover {
text-decoration:underline !important;
}
/* PLAY strip */
.ckui-strip {
margin-top: 30px;
background: #0F172A;
border-radius: 18px;
padding: 20px;
color:#fff;
display:flex;
justify-content:space-between;
align-items:center;
}
.ckui-strip h3 {
margin:0 0 4px;
font-size:16px;
font-weight:800;
}
.ckui-strip p {
margin:0;
font-size:13px;
opacity:.7;
}