MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 20:09, 6 August 2022 by Zakharov (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Citizen skin */

/* Hide the "Upload File" option on the Sidebar Toolbox
**************************************************************/
#t-upload {display:none;}

/* Hide the "Page Width" option in the Preferences Window
**************************************************************/
#citizen-pref-pagewidth {display:none;}

/* Hide certain <p> tags that show up due to TemplateStyles
**************************************************************/
div.mw-parser-output > figure + pre, div.mw-parser-output > div.infobox + p {
	display: none;
}

/* Body Shadow
**************************************************************/
body:before {
	content: "";
	position: fixed;
	top: -10px;
	left: 0;
	width: 100%;
	height: 10px;
	z-index: 100;
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
}

/* Images
**************************************************************/
img.mapImage {
	display: block;
	margin-left: auto;
	margin-right: auto;
	object-fit: cover;
}

img.artImage {
	display: block;
	margin-left: auto;
	margin-right: auto;
	object-fit: cover;
	height: 50%;
	width: 50%;
}

/* Figure Captions
**************************************************************/
figcaption.imageCaption {
	display: flex;
	flex-flow: column wrap;
	padding: 15px 20px 15px 45px;
	margin: 0 0 20px;
	position: relative;

	/* font-family: Merriweather, serif; */
	line-height: 1.2;
	text-align: center;
}
We collect cookies to analyze our website traffic and performance; we never collect any personal data.