MediaWiki:Common.css: Difference between revisions

From Librarian Chick
Jump to navigation Jump to search
Move logo to top left
Fix logo overlapping sidebar
Line 14: Line 14:
     background-position: center !important;
     background-position: center !important;
     display: block;
     display: block;
}
/* Push sidebar navigation below the logo */
#mw-panel .portal:first-of-type {
    margin-top: 85px;
}
}
@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
Line 19: Line 23:
         width: 110px !important;
         width: 110px !important;
         height: 43px !important;
         height: 43px !important;
    }
    #mw-panel .portal:first-of-type {
        margin-top: 55px;
     }
     }
}
}

Revision as of 22:39, 23 March 2026

/* Logo: top left, responsive */
#p-logo {
    position: fixed;
    left: 10px;
    top: 5px;
    z-index: 1000;
    width: auto;
}
.mw-wiki-logo {
    width: 180px !important;
    height: 70px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block;
}
/* Push sidebar navigation below the logo */
#mw-panel .portal:first-of-type {
    margin-top: 85px;
}
@media screen and (max-width: 720px) {
    .mw-wiki-logo {
        width: 110px !important;
        height: 43px !important;
    }
    #mw-panel .portal:first-of-type {
        margin-top: 55px;
    }
}