MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 189: | Line 189: | ||
} | } | ||
} | |||
/* ========================= | |||
Corporate Sidebar | |||
========================= */ | |||
.vector-main-menu { | |||
background: #ffffff; | |||
border-right: 1px solid #e5e7eb; | |||
} | |||
.vector-main-menu .vector-menu-heading { | |||
color: #0A4AA3; | |||
font-weight: 700; | |||
font-size: 13px; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
} | |||
.vector-main-menu .vector-menu-content a { | |||
border-radius: 8px; | |||
margin: 3px 10px; | |||
padding: 8px 12px; | |||
transition: .2s; | |||
} | |||
.vector-main-menu .vector-menu-content a:hover { | |||
background: #0A4AA3; | |||
color: #fff !important; | |||
text-decoration: none; | |||
} | } | ||
Revision as of 19:02, 4 August 2026
/* ==============================
Eaglespeed Corporate Theme
Version 1.0
============================== */
:root{
--primary:#0A4AA3;
--primary-dark:#08377d;
--light:#f7f9fc;
--white:#ffffff;
--border:#e5e7eb;
--text:#374151;
--radius:14px;
}
html{
scroll-behavior:smooth;
}
body{
background:var(--light);
font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;
color:var(--text);
line-height:1.7;
}
/* Main page */
.mw-page-container{
max-width:1500px;
margin:auto;
}
.mw-body{
background:white;
border-radius:14px;
padding:35px;
box-shadow:0 5px 25px rgba(0,0,0,.05);
}
/* Headings */
.firstHeading{
font-size:42px;
font-weight:700;
border:none;
margin-bottom:15px;
}
h2{
font-size:30px;
border:none;
color:var(--primary);
margin-top:45px;
padding-bottom:8px;
border-bottom:2px solid #eef2f7;
}
h3{
color:var(--primary);
}
/* Links */
a{
color:var(--primary);
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
/* Hero */
.hero{
background:linear-gradient(135deg,#0A4AA3,#1565D8);
color:white;
padding:70px 40px;
border-radius:16px;
text-align:center;
margin-bottom:40px;
}
.hero img{
width:150px;
margin-bottom:20px;
}
.hero h1{
color:white;
font-size:48px;
margin:0;
}
.hero p{
font-size:18px;
max-width:900px;
margin:18px auto;
}
/* Buttons */
.btn{
display:inline-block;
padding:12px 24px;
background:white;
color:#0A4AA3!important;
border-radius:8px;
font-weight:600;
margin:6px;
transition:.2s;
}
.btn:hover{
background:#f2f2f2;
}
/* Cards */
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:20px;
margin:35px 0;
}
.card{
background:white;
border:1px solid var(--border);
border-radius:14px;
padding:24px;
transition:.2s;
}
.card:hover{
border-color:#0A4AA3;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}
/* Tables */
.wikitable{
border-radius:12px;
overflow:hidden;
}
.wikitable th{
background:#0A4AA3;
color:white;
}
/* Footer */
.footer{
margin-top:50px;
padding:25px;
text-align:center;
color:#6b7280;
font-size:14px;
}
/* Hide Contents */
.vector-toc,
.vector-sticky-toc,
#toc{
display:none!important;
}
/* Mobile */
@media(max-width:768px){
.mw-body{
padding:20px;
}
.hero{
padding:45px 20px;
}
.hero h1{
font-size:32px;
}
.hero p{
font-size:16px;
}
}
/* =========================
Corporate Sidebar
========================= */
.vector-main-menu {
background: #ffffff;
border-right: 1px solid #e5e7eb;
}
.vector-main-menu .vector-menu-heading {
color: #0A4AA3;
font-weight: 700;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 1px;
}
.vector-main-menu .vector-menu-content a {
border-radius: 8px;
margin: 3px 10px;
padding: 8px 12px;
transition: .2s;
}
.vector-main-menu .vector-menu-content a:hover {
background: #0A4AA3;
color: #fff !important;
text-decoration: none;
}