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 MAIN PAGE — Dashboard/Play inspired ===== */ | ||
.page- | |||
max-width: | .page-Main_Page #toc { display:none; } | ||
/* Wide layout */ | |||
.page-Main_Page .mw-body-content{ | |||
max-width: 1800px; | |||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0 | padding: 0 36px; | ||
} | } | ||
.page- | /* Container spacing */ | ||
.page-Main_Page .ck-main{ margin-top: 10px; } | |||
/* Hero */ | /* Hero */ | ||
.ck-hero h1 { | .page-Main_Page .ck-hero h1{ | ||
font-size: 30px; | font-size: 30px; | ||
font-weight: | font-weight: 900; | ||
margin- | 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.55; | |||
} | |||
/* Section label */ | |||
.page-Main_Page .ck-section-title{ | |||
font-size: 13px; | |||
text-transform: uppercase; | |||
letter-spacing: .6px; | |||
font-weight: 900; | |||
color: #0B65E9; | |||
margin: 26px 0 12px; | |||
} | |||
/* Stack (one big card per row, like settings panels) */ | |||
.page-Main_Page .ck-stack{ | |||
display:flex; | |||
flex-direction: column; | |||
gap: 16px; | |||
} | } | ||
.ck- | |||
/* Card wrapper */ | |||
.page-Main_Page .ck-card{ | |||
border-radius: 22px; | |||
} | } | ||
/* | /* Make the link wrap the whole card cleanly */ | ||
.ck- | .page-Main_Page .ck-card > a{ | ||
display:block; | |||
text-decoration:none !important; | |||
color: inherit !important; | |||
} | } | ||
/* | /* Card inner */ | ||
.ck- | .page-Main_Page .ck-card-inner{ | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid # | border: 1px solid #e2e8f0; | ||
border-radius: | border-radius: 22px; | ||
padding: | padding: 22px; | ||
box-shadow: 0 10px 24px rgba(15,23,42,.06); | |||
box-shadow: 0 | display:flex; | ||
transition: | align-items:center; | ||
justify-content: space-between; | |||
gap: 18px; | |||
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; | |||
} | } | ||
.ck- | .page-Main_Page .ck-card > a:hover .ck-card-inner{ | ||
transform: translateY(- | transform: translateY(-2px); | ||
box-shadow: 0 14px 30px rgba(15,23,42,.08); | |||
border-color: rgba(11,101,233,.25); | |||
} | } | ||
/* | /* Left content */ | ||
.ck- | .page-Main_Page .ck-card-left{ flex: 1 1 auto; } | ||
.page-Main_Page .ck-card-right{ flex: 0 0 auto; } | |||
/* Top row */ | |||
.page-Main_Page .ck-card-top{ | |||
display:flex; | |||
gap: 14px; | |||
align-items:flex-start; | |||
} | } | ||
.ck- | /* Icon (Play-like rounded) */ | ||
margin: 0 | .page-Main_Page .ck-ico{ | ||
width: 46px; | |||
height: 46px; | |||
border-radius: 16px; | |||
background: #0B65E9; | |||
color: #fff; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
font-size: 18px; | |||
flex: 0 0 auto; | |||
} | |||
/* Typography */ | |||
.page-Main_Page .ck-card-inner h2{ | |||
margin: 0 0 6px; | |||
font-size: 20px; | |||
font-weight: 900; | |||
color:#0f172a; | |||
} | |||
.page-Main_Page .ck-card-inner p{ | |||
margin: 0; | |||
font-size: 14px; | font-size: 14px; | ||
color: # | color:#64748b; | ||
line-height: 1. | line-height: 1.55; | ||
max-width: 900px; | |||
} | } | ||
/* | /* Secondary link (GSLT) */ | ||
.ck- | .page-Main_Page .ck-meta{ | ||
display: inline- | margin-top: 10px; | ||
padding: | } | ||
.page-Main_Page .ck-meta a{ | |||
font-size: 13px; | |||
font-weight: 900; | |||
color:#0B65E9 !important; | |||
text-decoration:none !important; | |||
} | |||
.page-Main_Page .ck-meta a:hover{ | |||
text-decoration: underline !important; | |||
} | |||
/* Button (bigger, panel-styled) */ | |||
.page-Main_Page .ck-btn{ | |||
display:inline-flex; | |||
align-items:center; | |||
justify-content:center; | |||
padding: 14px 22px; | |||
min-width: 190px; | |||
border-radius: 18px; | |||
background: #0B65E9; | background: #0B65E9; | ||
color: # | color:#fff; | ||
font-weight: 900; | |||
font- | font-size: 14px; | ||
box-shadow: 0 10px 18px rgba(11,101,233,.18); | |||
transition: transform .18s ease, background .18s ease; | |||
} | } | ||
.ck- | .page-Main_Page .ck-card > a:hover .ck-btn{ | ||
background: #0958C8; | background:#0958C8; | ||
transform: translateY(-1px); | |||
} | } | ||
/* PLAY strip */ | /* PLAY strip */ | ||
.ck-play { | .page-Main_Page .ck-play{ | ||
margin-top: | margin-top: 26px; | ||
background: #0F172A; | background: #0F172A; | ||
border-radius: 22px; | border-radius: 22px; | ||
padding: | padding: 22px; | ||
color: #ffffff; | color: #ffffff; | ||
display:flex; | display:flex; | ||
justify-content:space-between; | justify-content:space-between; | ||
align-items:center; | align-items:center; | ||
gap: 12px; | |||
box-shadow: 0 16px 36px rgba(0,0,0,.14); | |||
} | } | ||
.page-Main_Page .ck-play h3{ | |||
.ck-play h3 { | |||
margin: 0 0 5px; | margin: 0 0 5px; | ||
font-size: 16px; | |||
font-weight: 900; | |||
} | |||
.page-Main_Page .ck-play p{ | |||
margin: 0; | |||
font-size: 13px; | |||
opacity: .75; | |||
line-height: 1.5; | |||
} | } | ||
.ck-play | /* Make external PLAY link look like a button */ | ||
.page-Main_Page .ck-play a{ | |||
display:inline-flex; | |||
align-items:center; | |||
justify-content:center; | |||
padding: 14px 22px; | |||
border-radius: 18px; | |||
background: #0B65E9; | |||
color:#fff !important; | |||
font-weight: 900; | |||
text-decoration:none !important; | |||
} | |||
.page-Main_Page .ck-play a:hover{ | |||
background:#0958C8; | |||
} | } | ||
Revision as of 11:57, 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 MAIN PAGE — Dashboard/Play inspired ===== */
.page-Main_Page #toc { display:none; }
/* Wide layout */
.page-Main_Page .mw-body-content{
max-width: 1800px;
margin: 0 auto;
padding: 0 36px;
}
/* Container spacing */
.page-Main_Page .ck-main{ margin-top: 10px; }
/* Hero */
.page-Main_Page .ck-hero h1{
font-size: 30px;
font-weight: 900;
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.55;
}
/* Section label */
.page-Main_Page .ck-section-title{
font-size: 13px;
text-transform: uppercase;
letter-spacing: .6px;
font-weight: 900;
color: #0B65E9;
margin: 26px 0 12px;
}
/* Stack (one big card per row, like settings panels) */
.page-Main_Page .ck-stack{
display:flex;
flex-direction: column;
gap: 16px;
}
/* Card wrapper */
.page-Main_Page .ck-card{
border-radius: 22px;
}
/* Make the link wrap the whole card cleanly */
.page-Main_Page .ck-card > a{
display:block;
text-decoration:none !important;
color: inherit !important;
}
/* Card inner */
.page-Main_Page .ck-card-inner{
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 22px;
padding: 22px;
box-shadow: 0 10px 24px rgba(15,23,42,.06);
display:flex;
align-items:center;
justify-content: space-between;
gap: 18px;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.page-Main_Page .ck-card > a:hover .ck-card-inner{
transform: translateY(-2px);
box-shadow: 0 14px 30px rgba(15,23,42,.08);
border-color: rgba(11,101,233,.25);
}
/* Left content */
.page-Main_Page .ck-card-left{ flex: 1 1 auto; }
.page-Main_Page .ck-card-right{ flex: 0 0 auto; }
/* Top row */
.page-Main_Page .ck-card-top{
display:flex;
gap: 14px;
align-items:flex-start;
}
/* Icon (Play-like rounded) */
.page-Main_Page .ck-ico{
width: 46px;
height: 46px;
border-radius: 16px;
background: #0B65E9;
color: #fff;
display:flex;
align-items:center;
justify-content:center;
font-size: 18px;
flex: 0 0 auto;
}
/* Typography */
.page-Main_Page .ck-card-inner h2{
margin: 0 0 6px;
font-size: 20px;
font-weight: 900;
color:#0f172a;
}
.page-Main_Page .ck-card-inner p{
margin: 0;
font-size: 14px;
color:#64748b;
line-height: 1.55;
max-width: 900px;
}
/* Secondary link (GSLT) */
.page-Main_Page .ck-meta{
margin-top: 10px;
}
.page-Main_Page .ck-meta a{
font-size: 13px;
font-weight: 900;
color:#0B65E9 !important;
text-decoration:none !important;
}
.page-Main_Page .ck-meta a:hover{
text-decoration: underline !important;
}
/* Button (bigger, panel-styled) */
.page-Main_Page .ck-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding: 14px 22px;
min-width: 190px;
border-radius: 18px;
background: #0B65E9;
color:#fff;
font-weight: 900;
font-size: 14px;
box-shadow: 0 10px 18px rgba(11,101,233,.18);
transition: transform .18s ease, background .18s ease;
}
.page-Main_Page .ck-card > a:hover .ck-btn{
background:#0958C8;
transform: translateY(-1px);
}
/* PLAY strip */
.page-Main_Page .ck-play{
margin-top: 26px;
background: #0F172A;
border-radius: 22px;
padding: 22px;
color: #ffffff;
display:flex;
justify-content:space-between;
align-items:center;
gap: 12px;
box-shadow: 0 16px 36px rgba(0,0,0,.14);
}
.page-Main_Page .ck-play h3{
margin: 0 0 5px;
font-size: 16px;
font-weight: 900;
}
.page-Main_Page .ck-play p{
margin: 0;
font-size: 13px;
opacity: .75;
line-height: 1.5;
}
/* Make external PLAY link look like a button */
.page-Main_Page .ck-play a{
display:inline-flex;
align-items:center;
justify-content:center;
padding: 14px 22px;
border-radius: 18px;
background: #0B65E9;
color:#fff !important;
font-weight: 900;
text-decoration:none !important;
}
.page-Main_Page .ck-play a:hover{
background:#0958C8;
}