MediaWiki:Common.css

From TF2 Classified Wiki
Revision as of 16:46, 24 April 2022 by Technochips (talk | contribs) (shadow looking thing)
Jump to navigation Jump to search

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
@font-face
{
	font-family: "TF2C";
	src:	url("https://wiki.tf2classic.com/fonts/TF2C.woff2") format("woff2"),
			url("https://wiki.tf2classic.com/fonts/TF2C.woff") format("woff"),
			url("https://wiki.tf2classic.com/fonts/TF2C.ttf") format("truetype");
}
@font-face
{
	font-family: "TF2C Build";
	src:	url("https://wiki.tf2classic.com/fonts/TF2CBuild.woff2") format("woff2"),
			url("https://wiki.tf2classic.com/fonts/TF2CBuild.woff") format("woff"),
			url("https://wiki.tf2classic.com/fonts/TF2CBuild.ttf") format("truetype");
}
@font-face
{
	font-family: "TF2C Professor";
	src:	url("https://wiki.tf2classic.com/fonts/TF2CProfessor.woff2") format("woff2"),
			url("https://wiki.tf2classic.com/fonts/TF2CProfessor.woff") format("woff"),
			url("https://wiki.tf2classic.com/fonts/TF2CProfessor.ttf") format("truetype");
}
@font-face
{
	font-family: "TF2C Secondary";
	src:	url("https://wiki.tf2classic.com/fonts/TF2CSecondary.woff2") format("woff2"),
			url("https://wiki.tf2classic.com/fonts/TF2CSecondary.woff") format("woff"),
			url("https://wiki.tf2classic.com/fonts/TF2CSecondary.ttf") format("truetype");
}

.infobox {
	border: 1px solid #79542B;
	float: right;
	width: 21em;
	margin: 0 0 1em 1em;
	background-color: #FFFCF7;
}
.infobox-title {
	font-size: 2em;
	text-align: center
}
.infobox-image {
	text-align: center;
}
.infobox th {
	background-color: #F9D483;
	vertical-align: top;
	width: 120px;
}
.killicon
{
	background-color: #F1E9CB;
	vertical-align: middle;
	height: 40px;
	color: #38361E;
	font-family: "Verdana", serif;
	font-weight: bold;
	font-size: 17px;
}
.loadout-tooltip-container
{
	padding: 10px;
	background-image: linear-gradient(#38332D, #221E1A);
	color: #221E1A;
	text-align: center;
	font-size: 21px;
	font-family: "TF2C Secondary", sans-serif;
}
.loadout-tooltip-container p
{
	margin: 0 !important;
}
.loadout-tooltip-name
{
	font-family: "TF2C Build", sans-serif;
	font-size: 25px;
	color: #B2B2B2;
}
.loadout-tooltip-type
{
	color: #756B5E;
}
.loadout-tooltip-neutral
{
	color: #EBE2CA;
}
.loadout-tooltip-positive
{
	color: #99CCE1;
}
.loadout-tooltip-negative
{
	color: #FF4040;
}
#firstHeading
{
	font-family: "TF2C", serif;
	color: #D2CDC8;
	font-size: 2.4em;
	border-bottom: 0.2em dotted #D2CDC8;
	padding-left: 0.3em;
	margin-left: 0.1em;
	padding-top: 0.4em;
}
#content
{
	background-color: #583A31;
	color: #D2CDC8;
	padding: 0;
	border: none;
	box-shadow: 0 10px 10px rgba(0,0,0,0.5);
	border-radius: 8px 0 0 8px;
}
#bodyContent
{
	background-color: #D2CDC8;
	color: black;
	padding: 0.25em 1em 1em 1em;
	border-radius: 0 0 0 8px;
}

.vector-menu-tabs ul
{
	margin-left:1em;
}
.vector-menu-tabs li
{
	background:none;
	margin-right:0.25em;
	padding-top: 10px;
}
.vector-menu-tabs li a, .vector-menu-dropdown-noicon h3
{
	font-family: "TF2C Build", sans-serif;
	font-size: 16px;
	height:30px;
	padding: 6px 8px;
}
.vector-menu-tabs li a
{
	background:none;
	border-radius: 8px 8px 0 0;
}
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited
{
	background:#583A31;
	color:#D2CDC8;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3
{
	background: none;
}
.vector-menu-tabs .mw-watchlink.icon a::before
{
	top:0.3em;
}
.vector-menu-dropdown
{
	padding-top: 10px;
}
#mw-head .vector-menu-dropdown h3
{
	height: inherit;
}
.vector-menu-dropdown h3::after
{
	top: 0;
}