MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
Version 1.0 | Version 1.0 | ||
============================== */ | ============================== */ | ||
.company-infobox{ | |||
float:right; | |||
width:340px; | |||
margin:0 0 20px 25px; | |||
border:1px solid #d8dee4; | |||
border-radius:12px; | |||
border-collapse:separate; | |||
border-spacing:0; | |||
overflow:hidden; | |||
background:#ffffff; | |||
box-shadow:0 4px 18px rgba(0,0,0,.08); | |||
font-size:14px; | |||
} | |||
.company-title{ | |||
background:#0f172a; | |||
color:#fff; | |||
padding:18px; | |||
font-size:24px; | |||
font-weight:700; | |||
text-align:center; | |||
} | |||
.company-logo{ | |||
padding:20px; | |||
background:#f8fafc; | |||
text-align:center; | |||
} | |||
.company-infobox th{ | |||
width:38%; | |||
background:#f1f5f9; | |||
color:#1e293b; | |||
text-align:left; | |||
padding:10px 14px; | |||
font-weight:600; | |||
border-top:1px solid #e2e8f0; | |||
} | |||
.company-infobox td{ | |||
padding:10px 14px; | |||
border-top:1px solid #e2e8f0; | |||
color:#334155; | |||
background:#fff; | |||
} | |||
.company-infobox a{ | |||
font-weight:600; | |||
text-decoration:none; | |||
} | |||
.company-infobox tr:hover td, | |||
.company-infobox tr:hover th{ | |||
background:#f8fafc; | |||
} | |||
/* Hide Last Modified */ | |||
#lm-time { | |||
display: none !important; | |||
} | |||
/* Hide page tools panel */ | |||
.citizen-page-tools { | |||
display: none !important; | |||
} | |||
/* Remove reserved space */ | |||
.citizen-page-container { | |||
grid-template-columns: 1fr !important; | |||
} | |||
/* Hide the Contents sidebar */ | |||
#mw-panel-toc, | |||
.citizen-toc, | |||
.page-actions__toc { | |||
display: none !important; | |||
} | |||
/* Hide the Last modified card */ | |||
#footer-info-lastmod, | |||
.page-info, | |||
.citizen-page-info { | |||
display: none !important; | |||
} | |||
:root{ | :root{ | ||
Latest revision as of 04:14, 6 August 2026
/* ==============================
Eaglespeed Corporate Theme
Version 1.0
============================== */
.company-infobox{
float:right;
width:340px;
margin:0 0 20px 25px;
border:1px solid #d8dee4;
border-radius:12px;
border-collapse:separate;
border-spacing:0;
overflow:hidden;
background:#ffffff;
box-shadow:0 4px 18px rgba(0,0,0,.08);
font-size:14px;
}
.company-title{
background:#0f172a;
color:#fff;
padding:18px;
font-size:24px;
font-weight:700;
text-align:center;
}
.company-logo{
padding:20px;
background:#f8fafc;
text-align:center;
}
.company-infobox th{
width:38%;
background:#f1f5f9;
color:#1e293b;
text-align:left;
padding:10px 14px;
font-weight:600;
border-top:1px solid #e2e8f0;
}
.company-infobox td{
padding:10px 14px;
border-top:1px solid #e2e8f0;
color:#334155;
background:#fff;
}
.company-infobox a{
font-weight:600;
text-decoration:none;
}
.company-infobox tr:hover td,
.company-infobox tr:hover th{
background:#f8fafc;
}
/* Hide Last Modified */
#lm-time {
display: none !important;
}
/* Hide page tools panel */
.citizen-page-tools {
display: none !important;
}
/* Remove reserved space */
.citizen-page-container {
grid-template-columns: 1fr !important;
}
/* Hide the Contents sidebar */
#mw-panel-toc,
.citizen-toc,
.page-actions__toc {
display: none !important;
}
/* Hide the Last modified card */
#footer-info-lastmod,
.page-info,
.citizen-page-info {
display: none !important;
}
: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;
}
/* Executive Profile */
.executive-infobox{
width:360px;
float:right;
margin:0 0 25px 30px;
background:#fff;
border-radius:16px;
overflow:hidden;
border:1px solid #dbe2ea;
box-shadow:0 10px 30px rgba(0,0,0,.08);
border-collapse:separate;
border-spacing:0;
}
.exec-header{
background:linear-gradient(135deg,#0A4AA3,#1565D8);
color:white;
padding:18px;
font-size:24px;
text-align:center;
}
.exec-image{
padding:20px;
text-align:center;
background:#f8fafc;
}
.exec-image img{
width:240px;
height:auto;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,.15);
}
.executive-infobox th{
width:38%;
background:#f8fafc;
padding:12px;
font-weight:600;
text-align:left;
border-bottom:1px solid #edf2f7;
}
.executive-infobox td{
padding:12px;
border-bottom:1px solid #edf2f7;
}
@media(max-width:900px){
.executive-infobox{
float:none;
width:100%;
margin:20px 0;
}
}
/* ========= Executive Hero ========= */
.executive-hero{
display:flex;
gap:50px;
align-items:center;
padding:50px;
margin:30px 0;
background:white;
border-radius:20px;
box-shadow:0 10px 40px rgba(0,0,0,.08);
}
.executive-photo{
flex:0 0 320px;
}
.executive-photo img{
width:100%;
border-radius:18px;
display:block;
box-shadow:0 15px 35px rgba(0,0,0,.15);
}
.executive-details{
flex:1;
}
.executive-badge{
display:inline-block;
padding:8px 18px;
background:#0A4AA3;
color:#fff;
font-size:13px;
font-weight:700;
border-radius:50px;
margin-bottom:20px;
letter-spacing:1px;
}
.executive-details h1{
font-size:56px;
margin:0;
font-weight:800;
color:#111827;
}
.executive-company{
font-size:24px;
color:#0A4AA3;
font-weight:600;
margin:15px 0 25px;
}
.executive-details p{
font-size:19px;
line-height:1.9;
color:#4B5563;
}
.executive-buttons{
margin-top:35px;
}
.executive-buttons a{
margin-right:15px;
}
@media(max-width:900px){
.executive-hero{
display:block;
padding:25px;
}
.executive-photo{
margin-bottom:30px;
}
.executive-details h1{
font-size:34px;
}
}
/* ======================================
Executive Hero
======================================*/
.exec-hero{
display:grid;
grid-template-columns:340px 1fr;
gap:60px;
background:white;
padding:50px;
border-radius:22px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
margin:35px 0;
align-items:center;
}
.exec-left img{
width:100%;
display:block;
border-radius:18px;
box-shadow:0 15px 35px rgba(0,0,0,.15);
}
.exec-position{
display:inline-block;
background:#0A4AA3;
color:white;
padding:8px 18px;
border-radius:40px;
font-size:13px;
font-weight:700;
letter-spacing:1px;
margin-bottom:20px;
}
.exec-name{
font-size:58px;
font-weight:800;
line-height:1.05;
color:#111827;
margin-bottom:12px;
}
.exec-company{
font-size:24px;
color:#0A4AA3;
font-weight:600;
margin-bottom:25px;
}
.exec-description{
font-size:19px;
line-height:1.9;
color:#4b5563;
max-width:800px;
}
.exec-actions{
margin-top:40px;
display:flex;
gap:15px;
flex-wrap:wrap;
}
.exec-actions a{
padding:14px 28px;
background:#0A4AA3;
color:white!important;
border-radius:10px;
font-weight:600;
text-decoration:none;
}
.exec-actions a:hover{
background:#08377d;
}
@media(max-width:900px){
.exec-hero{
grid-template-columns:1fr;
padding:25px;
gap:30px;
}
.exec-name{
font-size:36px;
}
.exec-company{
font-size:20px;
}
.exec-description{
font-size:17px;
}
.exec-left{
text-align:center;
}
.exec-left img{
max-width:320px;
margin:auto;
}
}