MediaWiki:Common.css: Difference between revisions
From CKRAS Wiki
No edit summary |
No edit summary |
||
| Line 72: | Line 72: | ||
/* ===== CKRAS | /* ===== CKRAS Dashboard-like Startpage ===== */ | ||
.page-Main_Page .ckd-wrap{ | |||
max-width: 1100px; | |||
margin: 0 auto; | |||
} | |||
/* Title row like "main-title-row" */ | |||
.page-Main_Page .ckd-title-row{ | |||
margin: 10px 0 18px; | |||
} | |||
.page-Main_Page .ckd-title-row h1{ | |||
font-size: 32px; | |||
font-weight: 800; | |||
margin: 0 0 6px; | |||
} | |||
.page-Main_Page .ckd-title-row p{ | |||
margin: 0; | |||
color: #64748b; | |||
font-size: 14px; | |||
} | |||
. | /* Section */ | ||
.page-Main_Page .ckd-section{ | |||
margin: 18px 0 22px; | |||
} | } | ||
. | /* Section header like dashboard menu-title + section headline */ | ||
margin: 0 0 10px | .page-Main_Page .ckd-section-head{ | ||
font-size: | display:flex; | ||
font-weight: 800 | align-items:center; | ||
color: # | justify-content:space-between; | ||
margin: 0 0 10px; | |||
} | |||
.page-Main_Page .ckd-section-head h2{ | |||
font-size: 14px; | |||
letter-spacing: .6px; | |||
text-transform: uppercase; | |||
font-weight: 800; | |||
color: #0B65E9; | |||
margin: 0; | |||
} | } | ||
. | /* Pills (online/offline vibe from dashboard) */ | ||
.page-Main_Page .ckd-pill{ | |||
font-size: | display:inline-flex; | ||
color: rgba( | align-items:center; | ||
gap:6px; | |||
padding: 6px 10px; | |||
border-radius: 999px; | |||
font-size: 12px; | |||
font-weight: 800; | |||
background: #f1f5f9; | |||
color: #334155; | |||
} | |||
.page-Main_Page .ckd-pill-online{ | |||
background: rgba(34,197,94,.12); | |||
color: #15803d; | |||
} | } | ||
. | /* Grid */ | ||
display: grid | .page-Main_Page .ckd-grid{ | ||
grid-template-columns: repeat( | display:grid; | ||
gap: | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: 16px; | |||
} | |||
@media (max-width: 980px){ | |||
.page-Main_Page .ckd-grid{ grid-template-columns: 1fr; } | |||
} | |||
.page-Main_Page .ckd-grid-2{ | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
@media (max-width: 980px){ | |||
.page-Main_Page .ckd-grid-2{ grid-template-columns: 1fr; } | |||
} | } | ||
. | /* Card ~ server-block */ | ||
background: | .page-Main_Page .ckd-card{ | ||
background: #ffffff; | |||
border-radius: 16px; | |||
border-radius: 16px | border: 1px solid #e2e8f0; | ||
box-shadow: 0 10px 24px rgba(15,23,42,.08); | |||
padding: 16px; | |||
box-shadow: 0 10px | |||
} | } | ||
. | .page-Main_Page .ckd-card-head{ | ||
display:flex; | |||
gap: 12px; | |||
align-items:flex-start; | |||
margin-bottom: 12px; | |||
} | } | ||
. | .page-Main_Page .ckd-ico{ | ||
width: 42px; | |||
height: 42px; | |||
border-radius: 12px; | |||
color: # | display:flex; | ||
align-items:center; | |||
justify-content:center; | |||
background: #0b1220; | |||
color: #fff; | |||
font-size: 18px; | |||
} | } | ||
. | .page-Main_Page .ckd-card h3{ | ||
font-size: | margin: 0 0 4px; | ||
color: | font-size: 18px; | ||
font-weight: 900; | |||
line-height: 1.35 | color:#0f172a; | ||
} | |||
.page-Main_Page .ckd-card p{ | |||
margin: 0; | |||
font-size: 13px; | |||
color:#64748b; | |||
line-height: 1.35; | |||
} | } | ||
. | /* Actions like button row */ | ||
display: inline-block | .page-Main_Page .ckd-actions a{ | ||
padding: 10px | display:inline-block; | ||
border-radius: 12px | margin-right: 8px; | ||
background: #0B65E9 | margin-top: 6px; | ||
padding: 10px 12px; | |||
border-radius: 12px; | |||
background: #0B65E9; | |||
color: #fff !important; | color: #fff !important; | ||
font-weight: | font-weight: 900; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
font-size: 13px; | |||
} | |||
.page-Main_Page .ckd-actions a:hover{ | |||
background: #0958c8; | |||
} | } | ||
. | /* CTA block like "Need more?" */ | ||
background: # | .page-Main_Page .ckd-cta{ | ||
margin-top: 18px; | |||
border-radius: 18px; | |||
padding: 18px; | |||
background: linear-gradient(135deg, #0b1220, #0f1f4a); | |||
color: #e2e8f0; | |||
display:flex; | |||
align-items:center; | |||
justify-content:space-between; | |||
gap: 14px; | |||
box-shadow: 0 16px 36px rgba(0,0,0,.18); | |||
} | |||
.page-Main_Page .ckd-cta h3{ | |||
margin: 0 0 4px; | |||
font-size: 16px; | |||
font-weight: 900; | |||
} | |||
.page-Main_Page .ckd-cta p{ | |||
margin: 0; | |||
font-size: 13px; | |||
color: rgba(226,232,240,.78); | |||
} | } | ||
.page-Main_Page .ckd-cta-right a{ | |||
. | display:inline-block; | ||
background: | padding: 10px 14px; | ||
border-radius: 12px; | |||
background:#0B65E9; | |||
color:#fff !important; | |||
font-weight: 900; | |||
text-decoration:none !important; | |||
white-space: nowrap; | |||
} | } | ||
.page-Main_Page .ckd-cta-right a:hover{ | |||
. | background:#0958c8; | ||
background: | |||
} | } | ||
Revision as of 11:42, 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 Dashboard-like Startpage ===== */
.page-Main_Page .ckd-wrap{
max-width: 1100px;
margin: 0 auto;
}
/* Title row like "main-title-row" */
.page-Main_Page .ckd-title-row{
margin: 10px 0 18px;
}
.page-Main_Page .ckd-title-row h1{
font-size: 32px;
font-weight: 800;
margin: 0 0 6px;
}
.page-Main_Page .ckd-title-row p{
margin: 0;
color: #64748b;
font-size: 14px;
}
/* Section */
.page-Main_Page .ckd-section{
margin: 18px 0 22px;
}
/* Section header like dashboard menu-title + section headline */
.page-Main_Page .ckd-section-head{
display:flex;
align-items:center;
justify-content:space-between;
margin: 0 0 10px;
}
.page-Main_Page .ckd-section-head h2{
font-size: 14px;
letter-spacing: .6px;
text-transform: uppercase;
font-weight: 800;
color: #0B65E9;
margin: 0;
}
/* Pills (online/offline vibe from dashboard) */
.page-Main_Page .ckd-pill{
display:inline-flex;
align-items:center;
gap:6px;
padding: 6px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 800;
background: #f1f5f9;
color: #334155;
}
.page-Main_Page .ckd-pill-online{
background: rgba(34,197,94,.12);
color: #15803d;
}
/* Grid */
.page-Main_Page .ckd-grid{
display:grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
@media (max-width: 980px){
.page-Main_Page .ckd-grid{ grid-template-columns: 1fr; }
}
.page-Main_Page .ckd-grid-2{
grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 980px){
.page-Main_Page .ckd-grid-2{ grid-template-columns: 1fr; }
}
/* Card ~ server-block */
.page-Main_Page .ckd-card{
background: #ffffff;
border-radius: 16px;
border: 1px solid #e2e8f0;
box-shadow: 0 10px 24px rgba(15,23,42,.08);
padding: 16px;
}
.page-Main_Page .ckd-card-head{
display:flex;
gap: 12px;
align-items:flex-start;
margin-bottom: 12px;
}
.page-Main_Page .ckd-ico{
width: 42px;
height: 42px;
border-radius: 12px;
display:flex;
align-items:center;
justify-content:center;
background: #0b1220;
color: #fff;
font-size: 18px;
}
.page-Main_Page .ckd-card h3{
margin: 0 0 4px;
font-size: 18px;
font-weight: 900;
color:#0f172a;
}
.page-Main_Page .ckd-card p{
margin: 0;
font-size: 13px;
color:#64748b;
line-height: 1.35;
}
/* Actions like button row */
.page-Main_Page .ckd-actions a{
display:inline-block;
margin-right: 8px;
margin-top: 6px;
padding: 10px 12px;
border-radius: 12px;
background: #0B65E9;
color: #fff !important;
font-weight: 900;
text-decoration: none !important;
font-size: 13px;
}
.page-Main_Page .ckd-actions a:hover{
background: #0958c8;
}
/* CTA block like "Need more?" */
.page-Main_Page .ckd-cta{
margin-top: 18px;
border-radius: 18px;
padding: 18px;
background: linear-gradient(135deg, #0b1220, #0f1f4a);
color: #e2e8f0;
display:flex;
align-items:center;
justify-content:space-between;
gap: 14px;
box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.page-Main_Page .ckd-cta h3{
margin: 0 0 4px;
font-size: 16px;
font-weight: 900;
}
.page-Main_Page .ckd-cta p{
margin: 0;
font-size: 13px;
color: rgba(226,232,240,.78);
}
.page-Main_Page .ckd-cta-right a{
display:inline-block;
padding: 10px 14px;
border-radius: 12px;
background:#0B65E9;
color:#fff !important;
font-weight: 900;
text-decoration:none !important;
white-space: nowrap;
}
.page-Main_Page .ckd-cta-right a:hover{
background:#0958c8;
}