Jump to content

MediaWiki:Common.css: Difference between revisions

From Wimbum Vault
No edit summary
No edit summary
Line 1: Line 1:
/* Resize sidebar logo on desktop */
/* Resize sidebar logo on desktop */
@media screen and (min-width: 768px) {
@media screen and (min-width: 768px) {
Line 21: Line 22:
         margin: 0 auto;
         margin: 0 auto;
     }
     }
}
/* Resize logo in the top left corner for desktop view */
#p-logo a {
    background-size: contain !important;
    height: 60px !important;  /* Adjust height */
    width: 100px !important;  /* Adjust width */
}
}

Revision as of 10:19, 23 April 2025


/* Resize sidebar logo on desktop */
@media screen and (min-width: 768px) {
    #p-logo {
        background-size: contain !important;
        background-repeat: no-repeat;
        background-position: center;
        max-width: 120px;
        height: 60px;
        margin: 10px auto;
    }

    #p-logo a {
        display: block;
        height: 60px;
    }

    #p-logo a img {
        max-height: 60px;
        width: auto;
        display: block;
        margin: 0 auto;
    }
}

/* Resize logo in the top left corner for desktop view */
#p-logo a {
    background-size: contain !important;
    height: 60px !important;  /* Adjust height */
    width: 100px !important;  /* Adjust width */
}