MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
(Hide the Site subtitle using visibilty:hidden instead of display:none to preserve layout and prevent glitching of header bar)
(Set max-width for images, so they fit on smaller mobile screen)
Line 6: Line 6:
#siteSub {
#siteSub {
     visibility: hidden;
     visibility: hidden;
}
/* Make sure inline wide images fit for mobile users */
p .mw-default-size a.mw-file-description img {
max-width: 100%;
height: auto;
}
}

Revision as of 20:41, 21 November 2023

/* All CSS here will be loaded for users of the Citizen skin */
:root {
     --font-family-base: 'Roboto Slab','Noto Sans CJK',system-ui,-apple-system,sans-serif;
}

#siteSub {
    visibility: hidden;
}

/* Make sure inline wide images fit for mobile users */
p .mw-default-size a.mw-file-description img {
	max-width: 100%;
	height: auto;
}