MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
(Set max-width for images, so they fit on smaller mobile screen)
(Make the selected text of spoilercells black, against a grey background)
 
Line 12: Line 12:
max-width: 100%;
max-width: 100%;
height: auto;
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;
}