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 | /* ======================================================= | ||
CKRAS WIKI – CLEAN SAAS MAIN PAGE | |||
======================================================= */ | |||
.page-Main_Page #toc { display:none; } | .page-Main_Page #toc { display:none; } | ||
/* | /* Layout */ | ||
.page-Main_Page .mw-body-content{ | .page-Main_Page .mw-body-content{ | ||
max-width: | max-width: 1700px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0 40px; | padding: 0 40px; | ||
} | } | ||
/* HERO */ | /* ======================================================= | ||
HERO | |||
======================================================= */ | |||
.page-Main_Page .ck-hero h1{ | .page-Main_Page .ck-hero h1{ | ||
font-size: | font-size: 28px; | ||
font-weight: | font-weight: 800; /* dünner */ | ||
margin: 0 0 8px; | margin: 0 0 8px; | ||
color: #0F172A; | color: #0F172A; | ||
} | } | ||
.page-Main_Page .ck-hero p{ | .page-Main_Page .ck-hero p{ | ||
margin: 0; | margin: 0; | ||
| Line 97: | Line 103: | ||
} | } | ||
/* SECTION TITLE */ | /* ======================================================= | ||
SECTION TITLE | |||
======================================================= */ | |||
.page-Main_Page .ck-section-title{ | .page-Main_Page .ck-section-title{ | ||
font-size: 13px; | font-size: 13px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: .6px; | letter-spacing: .6px; | ||
font-weight: | font-weight: 800; | ||
color: #0B65E9; | color: #0B65E9; | ||
margin: 28px 0 14px; | margin: 28px 0 14px; | ||
} | } | ||
/* CARD */ | /* ======================================================= | ||
.page-Main_Page .ck-card{ margin-bottom: | CARD | ||
======================================================= */ | |||
.page-Main_Page .ck-card{ | |||
margin-bottom: 20px; | |||
} | |||
.page-Main_Page .ck-card-inner{ | .page-Main_Page .ck-card-inner{ | ||
background: # | background: #FFFFFF; | ||
border: 1px solid #E2E8F0; | border: 1px solid #E2E8F0; | ||
border-radius: | border-radius: 20px; | ||
padding: | padding: 24px 28px; | ||
display: flex; | |||
display: | align-items: center; /* sorgt für perfekte vertikale Mitte */ | ||
justify-content: space-between; | |||
gap: 40px; | |||
gap: | transition: all .18s ease; | ||
transition: | |||
} | } | ||
.page-Main_Page .ck-card-inner:hover{ | .page-Main_Page .ck-card-inner:hover{ | ||
border-color: rgba(11,101,233,.25); | border-color: rgba(11,101,233,.25); | ||
} | } | ||
/* | /* ======================================================= | ||
LEFT SIDE | |||
======================================================= */ | |||
.page-Main_Page .ck-card-left{ | |||
flex: 1; | |||
} | |||
.page-Main_Page .ck-card-top{ | .page-Main_Page .ck-card-top{ | ||
display:flex; | display: flex; | ||
gap: | align-items: center; /* ICON + TEXT exakt mittig */ | ||
gap: 18px; | |||
} | |||
.page-Main_Page .ck-text{ | |||
flex: 1; | |||
} | } | ||
/* | /* ======================================================= | ||
ICONS | |||
======================================================= */ | |||
.page-Main_Page .ck-icoimg{ | .page-Main_Page .ck-icoimg{ | ||
width: | width: 52px; | ||
height: | height: 52px; | ||
border-radius: | border-radius: 18px; | ||
background: # | background: #F8FAFC; | ||
border: 1px solid #E2E8F0; | border: 1px solid #E2E8F0; | ||
display:flex; | display: flex; | ||
align-items:center; | align-items: center; | ||
justify-content:center | justify-content: center; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
} | } | ||
/* | /* Bild exakt mittig & gleich groß */ | ||
.page-Main_Page .ck-icoimg img{ | .page-Main_Page .ck-icoimg img{ | ||
width: | width: 30px !important; | ||
height: | height: 30px !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
display:block !important; | display: block !important; | ||
} | } | ||
/* | /* Kein Wiki-Underline im Icon */ | ||
.page-Main_Page .ck-icoimg a{ | .page-Main_Page .ck-icoimg a{ | ||
display:flex; | display:flex; | ||
align-items:center; | |||
justify-content:center; | |||
width:100%; | width:100%; | ||
height:100%; | height:100%; | ||
text-decoration:none !important; | text-decoration:none !important; | ||
} | } | ||
/* | /* ======================================================= | ||
TEXT | |||
======================================================= */ | |||
.page-Main_Page .ck-card h2{ | .page-Main_Page .ck-card h2{ | ||
margin: 0 0 6px; | margin: 0 0 6px; | ||
font-size: | font-size: 17px; /* kleiner */ | ||
font-weight: | font-weight: 700; /* deutlich ruhiger */ | ||
letter-spacing: -0.2px; | |||
color:#0F172A; | color:#0F172A; | ||
} | } | ||
.page-Main_Page .ck-card h2 a{ | .page-Main_Page .ck-card h2 a{ | ||
text-decoration: none !important; | text-decoration:none !important; | ||
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; | ||
} | } | ||
.page-Main_Page .ck-card p{ | .page-Main_Page .ck-card p{ | ||
margin: 0; | margin: 0; | ||
| Line 190: | Line 220: | ||
} | } | ||
/* | /* GSLT Button */ | ||
.page-Main_Page .ck-meta{ | .page-Main_Page .ck-meta{ | ||
margin-top: | margin-top: 12px; | ||
} | } | ||
.page-Main_Page .ck-meta a{ | .page-Main_Page .ck-meta a{ | ||
display:inline-flex; | display:inline-flex; | ||
align-items:center; | align-items:center; | ||
padding: | padding: 7px 12px; | ||
border-radius: | border-radius: 14px; | ||
background: #F1F5F9; | background: #F1F5F9; | ||
border: 1px solid #E2E8F0; | border: 1px solid #E2E8F0; | ||
font-size: | font-size: 12.5px; | ||
font-weight: | font-weight: 700; | ||
color:#0B65E9 !important; | color:#0B65E9 !important; | ||
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; | ||
} | } | ||
/* | /* ======================================================= | ||
RIGHT BUTTON (kein graues Fenster mehr!) | |||
======================================================= */ | |||
.page-Main_Page .ck-card-right{ | |||
flex-shrink: 0; | |||
} | |||
.page-Main_Page .ck-card-right a{ | .page-Main_Page .ck-card-right a{ | ||
display:inline-flex; | display:inline-flex; | ||
align-items:center; | align-items:center; | ||
justify-content:center; | justify-content:center; | ||
padding: 14px | padding: 14px 26px; | ||
min-width: | min-width: 220px; | ||
border-radius: | border-radius: 14px; | ||
background:#0B65E9; | background:#0B65E9; | ||
color:# | color:#FFFFFF !important; | ||
font-weight: | font-weight: 700; | ||
font-size: 14px; | font-size: 14px; | ||
text-decoration:none !important; | text-decoration:none !important; | ||
transition: all .18s ease; | |||
transition: | |||
} | } | ||
.page-Main_Page .ck-card-right a:hover{ | .page-Main_Page .ck-card-right a:hover{ | ||
background:#0958C8; | background:#0958C8; | ||
transform: translateY(- | transform: translateY(-1px); | ||
} | } | ||
/* PLAY | /* ======================================================= | ||
PLAY STRIP | |||
======================================================= */ | |||
.page-Main_Page .ck-play{ | .page-Main_Page .ck-play{ | ||
margin-top: | margin-top: 32px; | ||
background: #0F172A; | background: #0F172A; | ||
border-radius: | border-radius: 22px; | ||
padding: | padding: 24px 28px; | ||
color: # | color: #FFFFFF; | ||
display:flex; | display:flex; | ||
align-items:center; | |||
justify-content:space-between; | justify-content:space-between; | ||
gap: 20px; | |||
gap: | |||
} | } | ||
.page-Main_Page .ck-play h3{ | .page-Main_Page .ck-play h3{ | ||
margin: 0 0 6px; | margin: 0 0 6px; | ||
font-weight: | font-size: 16px; | ||
font-weight: 700; | |||
} | } | ||
.page-Main_Page .ck-play p{ | .page-Main_Page .ck-play p{ | ||
margin: 0; | margin: 0; | ||
font-size: 13px; | font-size: 13px; | ||
opacity: . | opacity: .85; | ||
} | } | ||
.page-Main_Page .ck-play a{ | .page-Main_Page .ck-play a{ | ||
display:inline-flex; | display:inline-flex; | ||
| Line 260: | Line 303: | ||
justify-content:center; | justify-content:center; | ||
padding: 14px 24px; | padding: 14px 24px; | ||
border-radius: | border-radius: 14px; | ||
background:#0B65E9; | background:#0B65E9; | ||
color:#fff !important; | color:#fff !important; | ||
font-weight: | font-weight: 700; | ||
text-decoration:none !important; | text-decoration:none !important; | ||
} | } | ||
.page-Main_Page .ck-play a:hover{ | .page-Main_Page .ck-play a:hover{ | ||
background:#0958C8; | background:#0958C8; | ||
} | } | ||
Revision as of 12:16, 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 – CLEAN SAAS MAIN PAGE
======================================================= */
.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; /* dünner */
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;
}
/* =======================================================
SECTION TITLE
======================================================= */
.page-Main_Page .ck-section-title{
font-size: 13px;
text-transform: uppercase;
letter-spacing: .6px;
font-weight: 800;
color: #0B65E9;
margin: 28px 0 14px;
}
/* =======================================================
CARD
======================================================= */
.page-Main_Page .ck-card{
margin-bottom: 20px;
}
.page-Main_Page .ck-card-inner{
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 20px;
padding: 24px 28px;
display: flex;
align-items: center; /* sorgt für perfekte vertikale Mitte */
justify-content: space-between;
gap: 40px;
transition: all .18s ease;
}
.page-Main_Page .ck-card-inner:hover{
border-color: rgba(11,101,233,.25);
}
/* =======================================================
LEFT SIDE
======================================================= */
.page-Main_Page .ck-card-left{
flex: 1;
}
.page-Main_Page .ck-card-top{
display: flex;
align-items: center; /* ICON + TEXT exakt mittig */
gap: 18px;
}
.page-Main_Page .ck-text{
flex: 1;
}
/* =======================================================
ICONS
======================================================= */
.page-Main_Page .ck-icoimg{
width: 52px;
height: 52px;
border-radius: 18px;
background: #F8FAFC;
border: 1px solid #E2E8F0;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
/* Bild exakt mittig & gleich groß */
.page-Main_Page .ck-icoimg img{
width: 30px !important;
height: 30px !important;
object-fit: contain !important;
display: block !important;
}
/* Kein Wiki-Underline im Icon */
.page-Main_Page .ck-icoimg a{
display:flex;
align-items:center;
justify-content:center;
width:100%;
height:100%;
text-decoration:none !important;
}
/* =======================================================
TEXT
======================================================= */
.page-Main_Page .ck-card h2{
margin: 0 0 6px;
font-size: 17px; /* kleiner */
font-weight: 700; /* deutlich ruhiger */
letter-spacing: -0.2px;
color:#0F172A;
}
.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;
}
/* GSLT Button */
.page-Main_Page .ck-meta{
margin-top: 12px;
}
.page-Main_Page .ck-meta a{
display:inline-flex;
align-items:center;
padding: 7px 12px;
border-radius: 14px;
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;
}
/* =======================================================
RIGHT BUTTON (kein graues Fenster mehr!)
======================================================= */
.page-Main_Page .ck-card-right{
flex-shrink: 0;
}
.page-Main_Page .ck-card-right a{
display:inline-flex;
align-items:center;
justify-content:center;
padding: 14px 26px;
min-width: 220px;
border-radius: 14px;
background:#0B65E9;
color:#FFFFFF !important;
font-weight: 700;
font-size: 14px;
text-decoration:none !important;
transition: all .18s ease;
}
.page-Main_Page .ck-card-right a:hover{
background:#0958C8;
transform: translateY(-1px);
}
/* =======================================================
PLAY STRIP
======================================================= */
.page-Main_Page .ck-play{
margin-top: 32px;
background: #0F172A;
border-radius: 22px;
padding: 24px 28px;
color: #FFFFFF;
display:flex;
align-items:center;
justify-content:space-between;
gap: 20px;
}
.page-Main_Page .ck-play h3{
margin: 0 0 6px;
font-size: 16px;
font-weight: 700;
}
.page-Main_Page .ck-play p{
margin: 0;
font-size: 13px;
opacity: .85;
}
.page-Main_Page .ck-play a{
display:inline-flex;
align-items:center;
justify-content:center;
padding: 14px 24px;
border-radius: 14px;
background:#0B65E9;
color:#fff !important;
font-weight: 700;
text-decoration:none !important;
}
.page-Main_Page .ck-play a:hover{
background:#0958C8;
}