MediaWiki:Common.css: Difference between revisions
From CKRAS Wiki
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
CKRAS WIKI — SIDEBAR + STARTPAGE (Gaming SaaS) | CKRAS WIKI — SIDEBAR + STARTPAGE (Gaming SaaS) | ||
Scope: Sidebar global, Startpage scoped. | Scope: Sidebar global, Startpage scoped. | ||
Skin: Medik (responsive) | |||
========================================================= */ | ========================================================= */ | ||
| Line 11: | Line 12: | ||
/* Sidebar Headlines */ | /* Sidebar Headlines */ | ||
#mw-panel .portal h3 { | #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 */ | /* Link Styling & Icon Alignment */ | ||
#mw-panel .portal .body ul li { | #mw-panel .portal .body ul li { | ||
list-style: none !important; | |||
padding: 3px 0; | |||
} | } | ||
#mw-panel .portal .body ul li a { | #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 { | #mw-panel .portal .body ul li a:hover { | ||
color: #0B65E9 !important; | |||
padding-left: 2px; | |||
} | } | ||
/* Icon Setup */ | /* Icon Setup */ | ||
#mw-panel .portal .body ul li a::before { | #mw-panel .portal .body ul li a::before { | ||
margin-right: 12px; | |||
font-size: 16px; | |||
width: 20px; | |||
text-align: center; | |||
display: inline-block; | |||
} | } | ||
| Line 70: | Line 71: | ||
#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: "🇩🇪"; } | ||
/* ======================================================= | /* ======================================================= | ||
CKRAS WIKI – CLEAN SAAS MAIN PAGE ( | 2) CKRAS WIKI – CLEAN SAAS MAIN PAGE (SCOPED) | ||
======================================================= */ | ======================================================= */ | ||
| Line 99: | Line 101: | ||
max-width:820px; | max-width:820px; | ||
line-height:1.6; | line-height:1.6; | ||
} | |||
/* hero links subtle */ | |||
.page-Main_Page .ck-hero a{ | |||
color:#0F172A !important; | |||
font-weight:600; | |||
text-decoration:none !important; | |||
border-bottom:1px solid rgba(15,23,42,.15); | |||
} | |||
.page-Main_Page .ck-hero a:hover{ | |||
color:#0B65E9 !important; | |||
border-bottom:1px solid #0B65E9; | |||
} | } | ||
| Line 133: | Line 147: | ||
/* LEFT */ | /* LEFT */ | ||
.page-Main_Page .ck-card-left{ flex:1; } | .page-Main_Page .ck-card-left{ flex:1; } | ||
| Line 144: | Line 157: | ||
.page-Main_Page .ck-text{ flex:1; } | .page-Main_Page .ck-text{ flex:1; } | ||
/* ===== REMOVE MEDIAWIKI IMAGE WRAPPERS ===== */ | /* ===== REMOVE MEDIAWIKI IMAGE WRAPPERS (thumb, borders, captions) ===== */ | ||
.page-Main_Page .ck-icoimg .thumb, | .page-Main_Page .ck-icoimg .thumb, | ||
.page-Main_Page .ck-icoimg .thumbinner, | .page-Main_Page .ck-icoimg .thumbinner, | ||
| Line 160: | Line 172: | ||
/* ===== ICON CONTAINER ===== */ | /* ===== ICON CONTAINER ===== */ | ||
.page-Main_Page .ck-icoimg{ | .page-Main_Page .ck-icoimg{ | ||
width:64px; | width:64px; | ||
| Line 172: | Line 183: | ||
overflow:hidden; | overflow:hidden; | ||
flex-shrink:0; | flex-shrink:0; | ||
} | } | ||
| Line 190: | Line 194: | ||
} | } | ||
.page-Main_Page .ck-icoimg img{ | |||
width:50px !important; | |||
height:50px !important; | |||
object-fit:contain !important; | |||
display:block !important; | |||
} | |||
/* ===== TEXT (IMPORTANT: kill Medik h2 underline/borders) ===== */ | |||
.page-Main_Page .ck-card h2{ | .page-Main_Page .ck-card h2{ | ||
margin:0 0 6px; | margin:0 0 6px !important; | ||
padding:0 !important; | |||
font-size:17px; | font-size:17px; | ||
font-weight:700; | font-weight:700; | ||
letter-spacing:-0.2px; | letter-spacing:-0.2px; | ||
color:#0F172A; | color:#0F172A; | ||
border:0 !important; /* Medik */ | |||
border-bottom:0 !important; /* Medik */ | |||
background:none !important; | |||
} | |||
.page-Main_Page .ck-card h2:after, | |||
.page-Main_Page .ck-card h2:before{ | |||
content:none !important; /* Skin pseudo separators */ | |||
} | } | ||
| Line 204: | Line 223: | ||
color:#0F172A !important; | color:#0F172A !important; | ||
} | } | ||
.page-Main_Page .ck-card h2 a:hover{ | .page-Main_Page .ck-card h2 a:hover{ | ||
color:#0B65E9 !important; | color:#0B65E9 !important; | ||
| Line 216: | Line 234: | ||
} | } | ||
/* ================= META CHIPS | /* ================= META CHIPS ================= */ | ||
.page-Main_Page .ck-meta{ | .page-Main_Page .ck-meta{ | ||
margin-top:14px; | margin-top:14px; | ||
| Line 237: | Line 254: | ||
text-decoration:none !important; | text-decoration:none !important; | ||
} | } | ||
.page-Main_Page .ck-meta a:hover{ | .page-Main_Page .ck-meta a:hover{ | ||
background:#EAF2FF; | background:#EAF2FF; | ||
} | } | ||
/* ================= CTA BUTTONS ================= */ | /* ================= CTA BUTTONS (uniform) ================= */ | ||
.page-Main_Page .ck-card-right{ | .page-Main_Page .ck-card-right{ | ||
width:220px; | width:220px; | ||
| Line 265: | Line 280: | ||
transition:.18s ease; | transition:.18s ease; | ||
} | } | ||
.page-Main_Page .ck-card-right a:hover{ | .page-Main_Page .ck-card-right a:hover{ | ||
background:#094DB6; | background:#094DB6; | ||
| Line 271: | Line 285: | ||
} | } | ||
/* ================= PLAY | /* ================= PLAY ================= */ | ||
.page-Main_Page .ck-play{ | .page-Main_Page .ck-play{ | ||
margin:40px 0 24px; | margin:40px 0 24px; | ||
| Line 308: | Line 321: | ||
display:inline-block; | display:inline-block; | ||
} | } | ||
.page-Main_Page .ck-play-btn a{ | .page-Main_Page .ck-play-btn a{ | ||
width:220px; | width:220px; | ||
| Line 324: | Line 335: | ||
transition:.18s ease; | transition:.18s ease; | ||
} | } | ||
.page-Main_Page .ck-play-btn a:hover{ | .page-Main_Page .ck-play-btn a:hover{ | ||
background:#094DB6 !important; | background:#094DB6 !important; | ||
| Line 331: | Line 341: | ||
/* ================= FOOTER CERT ================= */ | /* ================= FOOTER CERT ================= */ | ||
.page-Main_Page .ck-footer-logo{ | .page-Main_Page .ck-footer-logo{ | ||
margin: 60px 0 10px; | margin: 60px 0 10px; | ||
| Line 337: | Line 346: | ||
opacity:.9; | opacity:.9; | ||
} | } | ||
.page-Main_Page .ck-footer-logo img{ | .page-Main_Page .ck-footer-logo img{ | ||
border-radius:14px; | border-radius:14px; | ||
} | } | ||
.page-Main_Page .ck-established{ | .page-Main_Page .ck-established{ | ||
text-align:center; | text-align:center; | ||
| Line 349: | Line 355: | ||
margin-top:20px; | margin-top:20px; | ||
} | } | ||
/* ====================================================== | /* ====================================================== | ||
MEDIK | 3) MEDIK – MOBILE (REAL FIX: stack + breathe + center CTA) | ||
====================================================== */ | ====================================================== */ | ||
@media (max-width: 900px){ | @media (max-width: 900px){ | ||
.page-Main_Page .mw-body-content{ | .page-Main_Page .mw-body-content{ | ||
padding: 0 14px !important; | padding: 0 14px !important; | ||
} | } | ||
/* | /* More breathing room */ | ||
.page-Main_Page .ck-card-inner{ | .page-Main_Page .ck-card-inner{ | ||
flex-direction: column !important; | flex-direction: column !important; | ||
align-items: stretch !important; | align-items: stretch !important; | ||
gap: | justify-content: flex-start !important; | ||
gap: 16px !important; | |||
padding: 18px 16px !important; | padding: 18px 16px !important; | ||
border-radius: 18px !important; | |||
} | } | ||
/* | /* Stack icon above text to avoid "pressed" look */ | ||
.page-Main_Page .ck-card-top{ | .page-Main_Page .ck-card-top{ | ||
align-items: | flex-direction: column !important; | ||
align-items: flex-start !important; | |||
gap: 12px !important; | |||
} | } | ||
/* | /* Slightly smaller icon box but centered visually */ | ||
.page-Main_Page .ck- | .page-Main_Page .ck-icoimg{ | ||
width: | width: 64px !important; | ||
height: 64px !important; | |||
border-radius: 18px !important; | |||
} | |||
.page-Main_Page .ck-icoimg img{ | |||
width: 50px !important; | |||
height: 50px !important; | |||
} | } | ||
.page-Main_Page .ck-card- | /* Heading + text read better on mobile */ | ||
.page-Main_Page .ck-card h2{ | |||
font-size: 18px !important; | |||
font-weight: 750 !important; | |||
} | |||
.page-Main_Page .ck-card p{ | |||
font-size: 13.5px !important; | |||
} | } | ||
/* | /* Chips spacing */ | ||
.page-Main_Page .ck- | .page-Main_Page .ck-meta{ | ||
margin-top: 12px !important; | |||
gap: 10px !important; | |||
} | } | ||
.page-Main_Page .ck- | /* CTA centered (this is the big visual fix) */ | ||
width: | .page-Main_Page .ck-card-right{ | ||
width: 100% !important; | |||
justify-content: center !important; | |||
} | } | ||
.page-Main_Page .ck- | .page-Main_Page .ck-card-right a{ | ||
width: | width: 100% !important; | ||
max-width: 340px !important; | |||
margin: 0 auto !important; | |||
} | } | ||
/* Hero sizing */ | |||
.page-Main_Page .ck-hero h1{ | .page-Main_Page .ck-hero h1{ | ||
font-size:22px !important; | font-size: 22px !important; | ||
} | } | ||
} | } | ||
Revision as of 10:42, 3 March 2026
/* =========================================================
CKRAS WIKI — SIDEBAR + STARTPAGE (Gaming SaaS)
Scope: Sidebar global, Startpage scoped.
Skin: Medik (responsive)
========================================================= */
/* =========================================================
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: "🇩🇪"; }
/* =======================================================
2) CKRAS WIKI – CLEAN SAAS MAIN PAGE (SCOPED)
======================================================= */
.page-Main_Page #toc { display:none; }
/* Layout */
.page-Main_Page .mw-body-content{
max-width: 1700px;
margin: 0 auto;
padding: 0 40px;
}
/* ================= HERO ================= */
.page-Main_Page .ck-hero h1{
font-size: 28px;
font-weight: 800;
margin: 0 0 8px;
color:#0F172A;
}
.page-Main_Page .ck-hero p{
margin:0;
font-size:14px;
color:#64748B;
max-width:820px;
line-height:1.6;
}
/* hero links subtle */
.page-Main_Page .ck-hero a{
color:#0F172A !important;
font-weight:600;
text-decoration:none !important;
border-bottom:1px solid rgba(15,23,42,.15);
}
.page-Main_Page .ck-hero a:hover{
color:#0B65E9 !important;
border-bottom:1px solid #0B65E9;
}
/* ================= SECTION ================= */
.page-Main_Page .ck-section-title{
font-size:13px;
text-transform:uppercase;
letter-spacing:.6px;
font-weight:800;
color:#0B65E9;
margin:34px 0 18px;
}
/* ================= CARD ================= */
.page-Main_Page .ck-card{ margin-bottom:22px; }
.page-Main_Page .ck-card-inner{
background:#FFFFFF;
border:1px solid #E2E8F0;
border-radius:22px;
padding:26px 32px;
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
transition:.18s ease;
}
.page-Main_Page .ck-card-inner:hover{
border-color:rgba(11,101,233,.25);
}
/* LEFT */
.page-Main_Page .ck-card-left{ flex:1; }
.page-Main_Page .ck-card-top{
display:flex;
align-items:center;
gap:22px;
}
.page-Main_Page .ck-text{ flex:1; }
/* ===== REMOVE MEDIAWIKI IMAGE WRAPPERS (thumb, borders, captions) ===== */
.page-Main_Page .ck-icoimg .thumb,
.page-Main_Page .ck-icoimg .thumbinner,
.page-Main_Page .ck-icoimg .image,
.page-Main_Page .ck-icoimg .mw-file-element,
.page-Main_Page .ck-icoimg figure,
.page-Main_Page .ck-icoimg figcaption{
background:transparent !important;
border:none !important;
padding:0 !important;
margin:0 !important;
box-shadow:none !important;
}
/* ===== ICON CONTAINER ===== */
.page-Main_Page .ck-icoimg{
width:64px;
height:64px;
border-radius:20px;
background:#F8FAFC;
border:1px solid #E2E8F0;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
flex-shrink:0;
}
.page-Main_Page .ck-icoimg a{
display:flex;
align-items:center;
justify-content:center;
width:100%;
height:100%;
text-decoration:none !important;
}
.page-Main_Page .ck-icoimg img{
width:50px !important;
height:50px !important;
object-fit:contain !important;
display:block !important;
}
/* ===== TEXT (IMPORTANT: kill Medik h2 underline/borders) ===== */
.page-Main_Page .ck-card h2{
margin:0 0 6px !important;
padding:0 !important;
font-size:17px;
font-weight:700;
letter-spacing:-0.2px;
color:#0F172A;
border:0 !important; /* Medik */
border-bottom:0 !important; /* Medik */
background:none !important;
}
.page-Main_Page .ck-card h2:after,
.page-Main_Page .ck-card h2:before{
content:none !important; /* Skin pseudo separators */
}
.page-Main_Page .ck-card h2 a{
text-decoration:none !important;
color:#0F172A !important;
}
.page-Main_Page .ck-card h2 a:hover{
color:#0B65E9 !important;
}
.page-Main_Page .ck-card p{
margin:0;
font-size:13.5px;
color:#64748B;
line-height:1.55;
}
/* ================= META CHIPS ================= */
.page-Main_Page .ck-meta{
margin-top:14px;
display:flex;
gap:10px;
flex-wrap:wrap;
}
.page-Main_Page .ck-meta a{
display:inline-flex;
align-items:center;
padding:8px 14px;
border-radius:16px;
background:#F1F5F9;
border:1px solid #E2E8F0;
font-size:12.5px;
font-weight:700;
color:#0B65E9 !important;
text-decoration:none !important;
}
.page-Main_Page .ck-meta a:hover{
background:#EAF2FF;
}
/* ================= CTA BUTTONS (uniform) ================= */
.page-Main_Page .ck-card-right{
width:220px;
flex-shrink:0;
display:flex;
justify-content:flex-end;
}
.page-Main_Page .ck-card-right a{
width:220px;
height:48px;
display:flex;
align-items:center;
justify-content:center;
border-radius:16px;
background:#0B65E9;
color:#FFFFFF !important;
font-size:14px;
font-weight:700;
text-decoration:none !important;
transition:.18s ease;
}
.page-Main_Page .ck-card-right a:hover{
background:#094DB6;
transform:translateY(-1px);
}
/* ================= PLAY ================= */
.page-Main_Page .ck-play{
margin:40px 0 24px;
padding:36px 32px;
border-radius:22px;
background:#0F172A;
color:#FFFFFF;
text-align:center;
border:1px solid rgba(255,255,255,.06);
}
/* kill any default backgrounds inside play */
.page-Main_Page .ck-play *{
background: transparent !important;
box-shadow: none !important;
}
.page-Main_Page .ck-play h3{
margin:0 0 10px;
font-size:17px;
font-weight:800;
color:#FFFFFF;
}
.page-Main_Page .ck-play p{
margin:0 auto 22px;
font-size:13.5px;
opacity:.85;
line-height:1.6;
max-width:720px;
color:#E2E8F0;
}
.page-Main_Page .ck-play-btn{
display:inline-block;
}
.page-Main_Page .ck-play-btn a{
width:220px;
height:48px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:16px;
background:#0B65E9 !important;
color:#FFFFFF !important;
font-size:14px;
font-weight:700;
text-decoration:none !important;
transition:.18s ease;
}
.page-Main_Page .ck-play-btn a:hover{
background:#094DB6 !important;
transform:translateY(-1px);
}
/* ================= FOOTER CERT ================= */
.page-Main_Page .ck-footer-logo{
margin: 60px 0 10px;
text-align:center;
opacity:.9;
}
.page-Main_Page .ck-footer-logo img{
border-radius:14px;
}
.page-Main_Page .ck-established{
text-align:center;
font-size:12px;
color:#64748B;
margin-top:20px;
}
/* ======================================================
3) MEDIK – MOBILE (REAL FIX: stack + breathe + center CTA)
====================================================== */
@media (max-width: 900px){
.page-Main_Page .mw-body-content{
padding: 0 14px !important;
}
/* More breathing room */
.page-Main_Page .ck-card-inner{
flex-direction: column !important;
align-items: stretch !important;
justify-content: flex-start !important;
gap: 16px !important;
padding: 18px 16px !important;
border-radius: 18px !important;
}
/* Stack icon above text to avoid "pressed" look */
.page-Main_Page .ck-card-top{
flex-direction: column !important;
align-items: flex-start !important;
gap: 12px !important;
}
/* Slightly smaller icon box but centered visually */
.page-Main_Page .ck-icoimg{
width: 64px !important;
height: 64px !important;
border-radius: 18px !important;
}
.page-Main_Page .ck-icoimg img{
width: 50px !important;
height: 50px !important;
}
/* Heading + text read better on mobile */
.page-Main_Page .ck-card h2{
font-size: 18px !important;
font-weight: 750 !important;
}
.page-Main_Page .ck-card p{
font-size: 13.5px !important;
}
/* Chips spacing */
.page-Main_Page .ck-meta{
margin-top: 12px !important;
gap: 10px !important;
}
/* CTA centered (this is the big visual fix) */
.page-Main_Page .ck-card-right{
width: 100% !important;
justify-content: center !important;
}
.page-Main_Page .ck-card-right a{
width: 100% !important;
max-width: 340px !important;
margin: 0 auto !important;
}
/* Hero sizing */
.page-Main_Page .ck-hero h1{
font-size: 22px !important;
}
}