MediaWiki:Gadget-site.css

From SPCodex, The Smashing Pumpkins wiki
Revision as of 04:31, 20 January 2022 by MusikAnimal (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.
/*
 * 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;
}

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

/** Actually only shown for Minerva, but Mobile.css and Minerva.css are broken due to Miraheze T6362 **/
#nav-discography a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/b3/Font_Awesome_5_solid_compact-disc.svg);
}
#nav-studio-sessions a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/40/Font_Awesome_5_solid_microphone-alt.svg);
}
#nav-tour-history a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/2/23/Font_Awesome_5_solid_globe-americas.svg);
}
#nav-random-song a::before,
#nav-random-album a::before,
#nav-random-show a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a4/Font_Awesome_5_solid_random.svg);
}
#nav-categories a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/b2/Font_Awesome_5_solid_list-ul.svg);
}
#nav-database a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/84/Font_Awesome_5_solid_database.svg);
}
#nav-pumpkin-patch a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/86/Font_Awesome_5_solid_comments.svg);
}
#nav-faq a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/07/Font_Awesome_5_solid_question-circle.svg);
}