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)
(Make the selected text of spoilercells black, against a grey background)
 
(One intermediate revision by the same user not shown)
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;
}
/* Make the selected text of spoilercells black, against a grey background */
td.table-spoiler div::selection {
color: black;
background: #c0c0c0;
}
}

Latest revision as of 18:49, 30 April 2024

/* 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;
}

/* Make the selected text of spoilercells black, against a grey background */
td.table-spoiler div::selection {
	color: black;
	background: #c0c0c0;
}