MediaWiki:Common.css

From Galaxypedia
Revision as of 02:49, 15 August 2022 by Smallketchup82 (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.
/*Local wiki imports*/
@import url("/index.php?title=MediaWiki:Styling.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:Homepage.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:Staff.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:Templatestyles.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:UserColors.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:VarColors.css&action=raw&ctype=text/css");
@import url("/index.php?title=MediaWiki:Msgboxstyles.css&action=raw&ctype=text/css");

/* Custom Font Loading */
@font-face {
	font-family: "Rocket Rinder";
	src: url("/fonts/Rocket Rinder.otf") format('opentype')
}

@font-face {
	font-family: "OriginTech";
	src: url("/fonts/OriginTech personal use.ttf") format('truetype')
}

@font-face {
	font-family: "Ethno Centric";
	src: url("/fonts/ethnocentric rg.ttf") format('truetype')
}

@font-face {
	font-family: "Star Jedi";
	src: url("/fonts/Starjedi.ttf") format('truetype')
}

@font-face {
	font-family: "Android";
	src: url("/fonts/Android/Android.ttf") format('truetype');
	font-style: normal;
}

@font-face {
	font-family: "Android";
	src: url("/fonts/Android/Android Italic.ttf") format('truetype');
	font-style: italic;
}

@font-face {
	font-family: "Android Hollow";
	src: url("/fonts/Android/Android Hollow.ttf") format('truetype');
}

/* Talk page button management */

/* Don't show on Main Page & Certain namespaces*/
body.page-Main_Page #ca-talk, body.ns-8 #ca-talk {
	display: none !important;
}

.mw-number-text h3, .mw-number-text p {
	color: white !important;
}

.mw-createacct-benefits-container h2 {
	color: white;
}

.mw-dismissable-notice-body {
	margin: 0 !important;
}

/* Vertically center portableinfobox content */
.pi-data-value {
	margin: auto;	
}

/* fix echo coloring */
.mw-echo-ui-notificationItemWidget-unread {
	background-color: rgb(50, 54, 55);
}

/* Fix weird link colors on pages where darkreader cant be loaded */
h1, h2, h3, h4, h5, h6 {
	color: white;	
}
.vector-menu-portal .vector-menu-content li a {
	color: rgb(102, 177, 250) !important;
}
.vector-menu-portal .vector-menu-content li a:visited {
	color: rgb(126, 114, 255) !important;
}
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
	color: rgb(211, 207, 202) !important;
}
a:visited {
	color: rgb(126, 114, 255) !important;
}
a {
	color: rgb(102, 177, 250) !important;
}