MediaWiki:Common.css: Difference between revisions

From Librarian Chick
Jump to navigation Jump to search
Align nav to logo bottom
Push sidebar down to match logo
Line 24: Line 24:
}
}
#mw-page-base {
#mw-page-base {
    padding-top: 80px;
}
/* Push left sidebar down to match */
#mw-panel {
     padding-top: 80px;
     padding-top: 80px;
}
}
Line 31: Line 35:
     #mw-head-base { height: 55px; }
     #mw-head-base { height: 55px; }
     #mw-page-base { padding-top: 55px; }
     #mw-page-base { padding-top: 55px; }
    #mw-panel { padding-top: 55px; }
}
}

Revision as of 23:42, 23 March 2026

/* Logo: top center, responsive */
#p-logo {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 5px;
    z-index: 1000;
    width: auto;
}
.mw-wiki-logo {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 200px !important;
    height: 75px !important;
    display: block;
}
/* Align everything to the bottom of the logo (5px + 75px = 80px) */
#mw-head {
    top: 80px;
}
#mw-head-base {
    height: 80px;
}
#mw-page-base {
    padding-top: 80px;
}
/* Push left sidebar down to match */
#mw-panel {
    padding-top: 80px;
}
@media screen and (max-width: 720px) {
    .mw-wiki-logo { width: 130px !important; height: 50px !important; }
    #mw-head { top: 55px; }
    #mw-head-base { height: 55px; }
    #mw-page-base { padding-top: 55px; }
    #mw-panel { padding-top: 55px; }
}