MediaWiki:Common.css: Difference between revisions
From CKRAS Wiki
No edit summary |
No edit summary |
||
| Line 71: | Line 71: | ||
#mw-panel a[href*="wiki.ckras.com"]::before { content: "🇩🇪"; } | #mw-panel a[href*="wiki.ckras.com"]::before { content: "🇩🇪"; } | ||
/* ===== CKRAS Wiki | /* ===== CKRAS Wiki Dashboard Style ===== */ | ||
/* Full | /* Full width */ | ||
.page-Main_Page .mw-body-content{ | .page-Main_Page .mw-body-content { | ||
max-width: | max-width: 1800px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0 28px; | |||
padding | |||
} | } | ||
/* Remove TOC | /* Remove TOC */ | ||
.page-Main_Page #toc{ display:none; } | .page-Main_Page #toc { display:none; } | ||
/* | /* Titles */ | ||
.ckui-title{ | .ckui-title h1 { | ||
margin: | font-size: 28px; | ||
font-weight: 800; | |||
color: #0F172A; | |||
margin-bottom: 4px; | |||
} | } | ||
.ckui-sub { | |||
.ckui-sub{ | |||
font-size: 14px; | font-size: 14px; | ||
color: # | color: #64748B; | ||
} | } | ||
/* Section | /* Section label */ | ||
.ckui- | .ckui-section { | ||
margin-top: 30px; | |||
} | } | ||
.ckui- | .ckui-section h2 { | ||
font-size: 13px; | font-size: 13px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-weight: | letter-spacing: .5px; | ||
font-weight: 800; | |||
color: #0B65E9; | color: #0B65E9; | ||
margin-bottom: 14px; | |||
} | } | ||
/* | /* Grid */ | ||
.ckui- | .ckui-grid { | ||
display: | 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- | .ckui-card { | ||
background: #FFFFFF; | |||
border: 1px solid #E2E8F0; | |||
border-radius: 16px; | |||
padding: 20px; | |||
} | } | ||
/* Card | /* Card Header */ | ||
.ckui- | .ckui-cardhead { | ||
display: flex; | |||
gap: 14px; | |||
align-items: center; | |||
margin-bottom: 14px; | |||
} | } | ||
.ckui-ico { | |||
.ckui- | width: 42px; | ||
height: 42px; | |||
border-radius: 12px; | |||
background: #0B65E9; | |||
color: #fff; | |||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
justify-content:center; | justify-content:center; | ||
font-size:18px; | |||
font-size: 18px; | |||
} | } | ||
.ckui-cardhead h3{ | |||
margin: 0 | .ckui-cardhead h3 { | ||
font-size: 18px; | margin:0; | ||
font-weight: | font-size:18px; | ||
color:# | font-weight:800; | ||
color:#0F172A; | |||
} | } | ||
.ckui-cardhead p{ | |||
margin: 0; | .ckui-cardhead p { | ||
font-size: 13px; | margin:2px 0 0; | ||
color:# | font-size:13px; | ||
color:#64748B; | |||
} | } | ||
/* | /* Buttons */ | ||
.ckui-btn { | |||
.ckui-btn{ | |||
display:inline-block; | display:inline-block; | ||
padding: 11px | padding:11px 16px; | ||
background:#0B65E9; | |||
background: #0B65E9; | |||
color:#fff !important; | color:#fff !important; | ||
font-weight: | border-radius:14px; | ||
font-weight:800; | |||
font-size:13px; | |||
text-decoration:none !important; | text-decoration:none !important; | ||
} | } | ||
.ckui-btn:hover{ background:# | .ckui-btn:hover { | ||
background:#0958C8; | |||
} | |||
.ckui-link{ | /* Secondary link */ | ||
display: | .ckui-link { | ||
margin-top: 10px; | display:block; | ||
font-size: 13px; | margin-top:10px; | ||
font-weight: | font-size:13px; | ||
font-weight:700; | |||
color:#0B65E9 !important; | color:#0B65E9 !important; | ||
text-decoration:none !important; | text-decoration:none !important; | ||
} | } | ||
.ckui-link:hover{ text-decoration:underline !important; } | .ckui-link:hover { | ||
text-decoration:underline !important; | |||
} | |||
/* | /* PLAY strip */ | ||
.ckui-strip{ | .ckui-strip { | ||
margin-top: | margin-top: 30px; | ||
background: #0F172A; | |||
border-radius: 18px; | border-radius: 18px; | ||
padding: | padding: 20px; | ||
color:#fff; | |||
color:# | |||
display:flex; | display:flex; | ||
justify-content:space-between; | |||
align-items:center; | align-items:center; | ||
} | } | ||
.ckui-strip h3{ | .ckui-strip h3 { | ||
margin: 0 0 4px; | margin:0 0 4px; | ||
font-size: 16px; | font-size:16px; | ||
font-weight: | font-weight:800; | ||
} | } | ||
.ckui-strip p{ | .ckui-strip p { | ||
margin: 0; | margin:0; | ||
font-size: 13px; | font-size:13px; | ||
opacity:.7; | |||
} | } | ||
Revision as of 11:49, 2 March 2026
/* =========================================================
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;
}