MediaWiki:Common.css: Difference between revisions

From Philippine Languages Wiki
(Created page with "→‎CSS placed here will be applied to all skins: →‎================================ Bigger Wiki Logo (Desktop + Mobile) ================================: →‎General logo styling: #p-logo a, #p-logo { background-size: contain !important; →‎scale logo correctly: background-repeat: no-repeat !important; background-position: center center !important; width: 220px !important; →‎adjust width: height: 80px !important; /* adjust heig...")
 
(No difference)

Latest revision as of 20:37, 5 September 2025

/* CSS placed here will be applied to all skins */

/* ================================
   Bigger Wiki Logo (Desktop + Mobile)
   ================================ */

/* General logo styling */
#p-logo a,
#p-logo {
    background-size: contain !important;  /* scale logo correctly */
    background-repeat: no-repeat !important;
    background-position: center center !important;
    width: 220px !important;   /* adjust width */
    height: 80px !important;   /* adjust height */
}

/* Mobile screens */
@media (max-width: 600px) {
    #p-logo a,
    #p-logo {
        width: 200px !important;   /* still large on phones */
        height: 70px !important;
    }
}