Jump to content

MediaWiki:Common.css

From Wimbum Vault
Revision as of 10:21, 23 April 2025 by Bosang (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.

/* 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: 200px !important;  /* Adjust height */
    width: 200px !important;  /* Adjust width */
}