Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
Created page with "All CSS here will be loaded for users of the Citizen skin: --- Custom Citizen Skin CSS by Adam ---: Increase base font size: :root { --citizen-font-size-base: 1.15rem; default ~1rem: } body.skin-citizen { font-size: 1.15rem; } Make the logo bigger in the header: .skin-citizen .site-header__logo img { max-height: 80px; default ~40px: height: auto; width: auto; } Optional: adjust header padding to fit larger logo: ..."
 
No edit summary
Line 5: Line 5:
/* Increase base font size */
/* Increase base font size */
:root {
:root {
     --citizen-font-size-base: 1.15rem; /* default ~1rem */
     --citizen-font-size-base: 1.3rem; /* default ~1rem */
}
}


body.skin-citizen {
body.skin-citizen {
     font-size: 1.15rem;
     font-size: 1.3rem;
}
}


/* Make the logo bigger in the header */
/* Make the logo bigger in the header */
.skin-citizen .site-header__logo img {
.skin-citizen .site-header__logo img {
     max-height: 80px; /* default ~40px */
     max-height: 120px; /* default ~40px */
     height: auto;
     height: auto;
     width: auto;
     width: auto;
Line 23: Line 23:
     padding-top: 0.5rem;
     padding-top: 0.5rem;
     padding-bottom: 0.5rem;
     padding-bottom: 0.5rem;
     min-height: 100px;
     min-height: 140px;
}
}

Revision as of 00:05, 14 September 2025

/* All CSS here will be loaded for users of the Citizen skin */

/* --- Custom Citizen Skin CSS by Adam --- */

/* Increase base font size */
:root {
    --citizen-font-size-base: 1.3rem; /* default ~1rem */
}

body.skin-citizen {
    font-size: 1.3rem;
}

/* Make the logo bigger in the header */
.skin-citizen .site-header__logo img {
    max-height: 120px; /* default ~40px */
    height: auto;
    width: auto;
}

/* Optional: adjust header padding to fit larger logo */
.skin-citizen .site-header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 140px;
}