Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Created page with "→CSS placed here will be applied to all skins: →========================== Eaglespeed Modern Theme ==========================: body{ background:#f4f7fb; font-family:Inter,"Segoe UI",Roboto,sans-serif; } .mw-body{ max-width:1450px; margin:auto; background:#fff; border-radius:18px; box-shadow:0 8px 40px rgba(0,0,0,.06); padding:35px; } →Hero: .hero{ background:linear-gradient(135deg,#001b44,#003b8f,#005fd4); border..."
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* ==========================
/* Hide Contents panel */
  Eaglespeed Modern Theme
.vector-toc,
========================== */
.vector-sticky-toc,
 
#vector-toc,
body{
#mw-panel-toc,
    background:#f4f7fb;
#toc {
     font-family:Inter,"Segoe UI",Roboto,sans-serif;
     display: none !important;
}
}


.mw-body{
/* Always expand left sidebar */
    max-width:1450px;
.vector-pinned-container,
    margin:auto;
.vector-main-menu-container {
    background:#fff;
     display: block !important;
    border-radius:18px;
     visibility: visible !important;
     box-shadow:0 8px 40px rgba(0,0,0,.06);
     padding:35px;
}
}


/* Hero */
.vector-main-menu-landmark {
 
     transform: none !important;
.hero{
    background:linear-gradient(135deg,#001b44,#003b8f,#005fd4);
    border-radius:22px;
    color:#fff;
    text-align:center;
     padding:80px 50px;
    margin-bottom:40px;
}
}


.hero img{
/* Remove collapse button */
     width:180px;
.vector-main-menu-action {
    margin-bottom:25px;
     display: none !important;
}
}


.hero h1{
/* Sidebar width */
     color:#fff;
.vector-main-menu {
    font-size:52px;
     width: 270px !important;
    margin:0;
    font-weight:800;
}
}


.hero p{
/* Show logo larger */
     font-size:20px;
.mw-logo {
    opacity:.9;
     max-width: 180px !important;
     margin-top:18px;
     margin: 15px auto;
}
}


/* Cards */
.vector-header-container {
 
     border-bottom: 1px solid #e5e5e5;
.card-grid{
     display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin:40px 0;
}
}


.card{
/* Modern sidebar */
     background:#fff;
.vector-main-menu {
     border-radius:18px;
     background: #ffffff;
    padding:30px;
     border-right: 1px solid #ececec;
    transition:.35s;
     box-shadow: 4px 0 15px rgba(0,0,0,.05);
    box-shadow:0 10px 35px rgba(0,0,0,.06);
    border:1px solid #ececec;
}
 
.card:hover{
    transform:translateY(-8px);
     box-shadow:0 25px 60px rgba(0,0,0,.15);
}
 
.card h3{
    color:#003b8f;
    margin-bottom:15px;
}
 
/* Section */
 
.section{
    margin:70px 0;
}
 
.section h2{
    font-size:34px;
    border:none;
    color:#001b44;
    margin-bottom:25px;
}
 
/* Statistics */
 
.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
 
.stat{
    background:linear-gradient(135deg,#003b8f,#005fd4);
    color:#fff;
    text-align:center;
    border-radius:18px;
    padding:35px;
}
 
.stat h1{
    font-size:42px;
    margin:0;
    color:#fff;
}
 
.stat span{
    font-size:15px;
}
 
/* Buttons */
 
.btn{
    display:inline-block;
    background:#005fd4;
    color:#fff!important;
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}
 
.btn:hover{
    background:#001b44;
}
 
/* Footer */
 
.footer{
    text-align:center;
    color:#777;
    margin-top:60px;
    padding:30px;
}
 
/* Mobile */
 
@media(max-width:900px){
 
.stats{
grid-template-columns:repeat(2,1fr);
}
}


.hero{
/* Sidebar links */
padding:50px 25px;
.vector-main-menu .vector-menu-content a {
    border-radius: 8px;
    margin: 4px 8px;
    transition: .2s;
}
}


.hero h1{
.vector-main-menu .vector-menu-content a:hover {
font-size:34px;
    background: #005fd4;
    color: white !important;
}
}


/* Remove page Contents heading */
.mw-table-of-contents-container {
    display: none !important;
}
}

Revision as of 18:27, 4 August 2026

/* CSS placed here will be applied to all skins */
/* Hide Contents panel */
.vector-toc,
.vector-sticky-toc,
#vector-toc,
#mw-panel-toc,
#toc {
    display: none !important;
}

/* Always expand left sidebar */
.vector-pinned-container,
.vector-main-menu-container {
    display: block !important;
    visibility: visible !important;
}

.vector-main-menu-landmark {
    transform: none !important;
}

/* Remove collapse button */
.vector-main-menu-action {
    display: none !important;
}

/* Sidebar width */
.vector-main-menu {
    width: 270px !important;
}

/* Show logo larger */
.mw-logo {
    max-width: 180px !important;
    margin: 15px auto;
}

.vector-header-container {
    border-bottom: 1px solid #e5e5e5;
}

/* Modern sidebar */
.vector-main-menu {
    background: #ffffff;
    border-right: 1px solid #ececec;
    box-shadow: 4px 0 15px rgba(0,0,0,.05);
}

/* Sidebar links */
.vector-main-menu .vector-menu-content a {
    border-radius: 8px;
    margin: 4px 8px;
    transition: .2s;
}

.vector-main-menu .vector-menu-content a:hover {
    background: #005fd4;
    color: white !important;
}

/* Remove page Contents heading */
.mw-table-of-contents-container {
    display: none !important;
}