MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================ | /* ============================== | ||
Eaglespeed Corporate Theme | Eaglespeed Corporate Theme | ||
============================ */ | Version 1.0 | ||
============================== */ | |||
:root{ | :root{ | ||
--primary:#0A4AA3; | |||
--primary-dark:#08377d; | |||
--light:#f7f9fc; | |||
--white:#ffffff; | |||
--border:#e5e7eb; | |||
--text:#374151; | |||
--radius:14px; | |||
} | |||
html{ | |||
scroll-behavior:smooth; | |||
} | } | ||
body{ | 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{ | .mw-page-container{ | ||
max-width:1500px; | |||
margin:auto; | |||
} | } | ||
.mw-body{ | .mw-body{ | ||
background:white; | |||
border-radius:14px; | |||
padding:35px; | |||
box-shadow:0 5px 25px rgba(0,0,0,.05); | |||
} | } | ||
| Line 34: | Line 42: | ||
.firstHeading{ | .firstHeading{ | ||
font-size:42px; | |||
font-weight:700; | |||
border:none; | |||
margin-bottom:15px; | |||
} | } | ||
h2{ | h2{ | ||
font-size:30px; | |||
border:none; | |||
color:var(--primary); | |||
margin-top:45px; | |||
padding-bottom:8px; | |||
border-bottom:2px solid #eef2f7; | |||
} | |||
h3{ | |||
color:var(--primary); | |||
} | } | ||
| Line 49: | Line 64: | ||
a{ | a{ | ||
color:var(--primary); | |||
text-decoration:none; | |||
} | } | ||
a:hover{ | a:hover{ | ||
text-decoration:underline; | |||
} | } | ||
| Line 60: | Line 75: | ||
.hero{ | .hero{ | ||
background:linear-gradient(135deg,#0A4AA3,#1565D8); | |||
color:white; | |||
padding:70px 40px; | |||
border-radius:16px; | |||
text-align:center; | |||
margin-bottom:40px; | |||
} | } | ||
.hero img{ | .hero img{ | ||
width:150px; | |||
margin-bottom:20px; | |||
} | } | ||
.hero h1{ | .hero h1{ | ||
color:white; | |||
font-size:48px; | |||
margin:0; | |||
} | } | ||
.hero p{ | .hero p{ | ||
font-size:18px; | |||
max-width:900px; | |||
margin:18px auto; | |||
} | } | ||
| Line 88: | Line 103: | ||
.btn{ | .btn{ | ||
display:inline-block; | |||
padding:12px 24px; | |||
background:white; | |||
color:#0A4AA3!important; | |||
border-radius:8px; | |||
font-weight:600; | |||
margin:6px; | |||
transition:.2s; | |||
} | } | ||
.btn:hover{ | .btn:hover{ | ||
background:#f2f2f2; | |||
} | } | ||
/* Cards */ | /* Cards */ | ||
.cards{ | |||
display:grid; | |||
grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); | |||
gap:20px; | |||
margin:35px 0; | |||
} | |||
.card{ | .card{ | ||
background:white; | |||
border:1px solid var(--border); | |||
border-radius:14px; | |||
padding:24px; | |||
transition:.2s; | |||
} | } | ||
.card:hover{ | .card:hover{ | ||
border-color:#0A4AA3; | |||
box-shadow:0 10px 25px rgba(0,0,0,.08); | |||
} | } | ||
| Line 118: | Line 142: | ||
.wikitable{ | .wikitable{ | ||
border-radius:12px; | |||
overflow:hidden; | |||
} | } | ||
.wikitable th{ | .wikitable th{ | ||
background:#0A4AA3; | |||
color:white; | |||
} | |||
/* Footer */ | |||
.footer{ | |||
margin-top:50px; | |||
padding:25px; | |||
text-align:center; | |||
color:#6b7280; | |||
font-size:14px; | |||
} | } | ||
| Line 132: | Line 166: | ||
.vector-sticky-toc, | .vector-sticky-toc, | ||
#toc{ | #toc{ | ||
display:none!important; | |||
} | } | ||
/* | /* Mobile */ | ||
@media(max-width:768px){ | @media(max-width:768px){ | ||
.mw-body{ | .mw-body{ | ||
padding: | padding:20px; | ||
} | } | ||
.hero{ | .hero{ | ||
padding: | padding:45px 20px; | ||
} | } | ||
.hero h1{ | .hero h1{ | ||
font-size: | font-size:32px; | ||
} | } | ||
Revision as of 18:36, 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;
}
}