MediaWiki:Common.css: Difference between revisions

From Librarian Chick
Jump to navigation Jump to search
Add logo CSS
 
Move logo to top left
Line 1: Line 1:
/* Logo: top right, responsive */
/* Logo: top left, responsive */
#p-logo {
#p-logo {
     position: fixed;
     position: fixed;
     right: 10px;
     left: 10px;
     top: 5px;
     top: 5px;
    left: auto;
     z-index: 1000;
     z-index: 1000;
     width: auto;
     width: auto;

Revision as of 22:35, 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;
}
@media screen and (max-width: 720px) {
    .mw-wiki-logo {
        width: 110px !important;
        height: 43px !important;
    }
}