MediaWiki:Gadget-site.css

From SPCodex, The Smashing Pumpkins wiki

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.
/*
 * This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */
@font-face {
	font-family: 'Francois One';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Francois One Regular'), local('FrancoisOne-Regular'), url(https://fonts.gstatic.com/s/francoisone/v14/_Xmr-H4zszafZw3A-KPSZut9wQiR.woff2) format('woff2');
}

h1, h2, h3:not(#p-cactions-label), h4, h5, h6, #firstHeading {
	font-family: "Francois One",'OpenSansRegular',Tahoma,sans-serif !important;
}

#siteNotice {
	display: none;
}

/* Hide Main Page title */
.page-Main_Page #firstHeading {
	display: none;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl,
.cargoTable td ul,
.cargoTable td ol,
.cargoTable td dl{
	/* @noflip */
	text-align: left;
}
/* ...unless they also use the hlist class */
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl,
.cargoTable.hlist td ul,
.cargoTable.hlist td ol,
.cargoTable.hlist td dl {
	text-align: inherit;
}

.cargoTable {
	background-color: #f8f9fa;
	color: #222;
	margin: 1em 0;
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
}
.cargoTable > tr > th,
.cargoTable > * > tr > th {
	background-color: #eaecf0;
	text-align: center;
}
.cargoTable > tr > th,
.cargoTable > tr > td,
.cargoTable > * > tr > th,
.cargoTable > * > tr > td {
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
}
table.cargoTable.noMerge tr {
	background: inherit !important;
}
/** Prevent word wrapping of dates **/
.cargoTable .field_First_date,
.cargoTable .field_Last_date {
	white-space: nowrap;
}

/* Since pointer-events isn't allowed in TemplateStyles */
.no-red-links a.new {
	pointer-events: none;
}
.no-red-links a.new {
	color: inherit !important;
	cursor: default;
}
.no-red-links a.new:hover {
	text-decoration: none;
}