MediaWiki:Common.css: Difference between revisions

From Ekologos Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Keep logo inside left sidebar only */
/* Logo */
#p-logo {
#p-logo {
     width: 10em !important;
     width: 10em !important;
     height: 150px !important;
     height: 120px !important;
     margin-top: 0.5em !important;
     margin: 0 auto 10px auto !important;
}
}


Line 9: Line 9:
.mw-wiki-logo {
.mw-wiki-logo {
     width: 10em !important;
     width: 10em !important;
     height: 150px !important;
     height: 120px !important;
     background-size: contain !important;
     background-size: contain !important;
    background-position: center center !important;
     background-repeat: no-repeat !important;
     background-repeat: no-repeat !important;
    background-position: center top !important;
}
}


/* Restore normal Vector page alignment */
/* Sidebar */
#mw-panel {
    width: 10em !important;
    padding-top: 0 !important;
}
 
/* Main content alignment */
#content,
#content,
.mw-body {
.mw-body {
     margin-left: 10em !important;
     margin-left: 11em !important;
}
}


/* Keep top navigation clean */
/* Top navigation tabs */
#left-navigation {
#left-navigation {
     margin-left: 10em !important;
     margin-left: 11em !important;
}
 
#mw-panel {
    width: 10em !important;
    padding-top: 160px !important;
}
}

Revision as of 12:44, 18 May 2026

/* Logo */
#p-logo {
    width: 10em !important;
    height: 120px !important;
    margin: 0 auto 10px auto !important;
}

#p-logo a,
.mw-wiki-logo {
    width: 10em !important;
    height: 120px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
}

/* Sidebar */
#mw-panel {
    width: 10em !important;
    padding-top: 0 !important;
}

/* Main content alignment */
#content,
.mw-body {
    margin-left: 11em !important;
}

/* Top navigation tabs */
#left-navigation {
    margin-left: 11em !important;
}