Difference between revisions of "Common.css"

Line 58: Line 58:
 
}
 
}
  
a, a[href].external {
+
a, a[href].external, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
 
color: #f9a916;
 
color: #f9a916;
 
}
 
}
Line 64: Line 64:
 
a:hover, a[href].external:hover {
 
a:hover, a[href].external:hover {
 
color: #f9a916;
 
color: #f9a916;
opacity: 0.6;
 
text-decoration: none;
 
 
}
 
}
  
Line 78: Line 76:
 
a[href].new:hover {
 
a[href].new:hover {
 
color: #ff0000;
 
color: #ff0000;
text-decoration: none;
 
 
}
 
}
  

Revision as of 00:35, 28 December 2020

body {
	background: #111217;
	color: #f0f2f5;
	/*font-family: 'IBM Plex Sans', sans-serif;*/
}

.p-navbar .navbar-brand img {
	height: 23px;
	top: -2px;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

.container {
	max-width: 1460px;
	padding-right: 0;
	padding-left: 0;
}

#mw-navigation {
	box-shadow: 0 1px 5px 1px rgba(0,0,0,.4);
}

.mw-body {
	padding: 0;
	margin-bottom: 1rem;
}

.main-container {
	background: #1b1c23;
	box-shadow: 0 1px 5px 1px rgba(0,0,0,.4);
}

.p-navbar {
	background-color: #262831;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	color: #fff;
	padding: 0;
	margin-top: 1rem!important;
	margin-bottom: 0.75rem!important;
	border: none;
	/*font-family: 'PT Serif', serif;
	font-weight: 700;*/
}

h1, h2, .h1, .h2 {
	border-bottom: 1px solid #262831;
	padding-bottom: 0.5rem;
}

h2, .h2 {
	margin-top: 2rem!important;
}

a, a[href].external, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
	color: #f9a916;
}

a:hover, a[href].external:hover {
	color: #f9a916;
}

a:visited {
	color: #f9a916;
}

a[href].new {
	color: #ff0000;
}

a[href].new:hover {
	color: #ff0000;
}

a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
	opacity: 1;
}

.navbar-light .navbar-nav .nav-link, .p-navbar .navbar-nav .nav-link, .navbar-light .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-light .navbar-nav .navbar-tool > a, .p-navbar .navbar-nav .navbar-tool > a {
	color: #cacaca;
}

.navbar-light .navbar-nav .nav-link:hover, .p-navbar .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:hover, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:hover, .p-navbar .navbar-nav .navbar-tool > a:hover, .navbar-light .navbar-nav .nav-link:focus, .p-navbar .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:focus, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:focus, .p-navbar .navbar-nav .navbar-tool > a:focus {
	color: #fff;
	opacity: 1;
}

.fa-asterisk:before, .navbar-tool-link:before {
	content: "";
}

#mw-indicators {
	display: none;
}

.text-muted {
	color: rgb(255 255 255 / 0.6) !important;
}

.toc {
	padding: 0.5rem 0.75rem;
	margin-bottom: 1rem;
}

.toc, .mw-warning, .toccolours {
	border: none;
	background-color: #262831;
}

.mw-body .toc ul li a .tocnumber {
	display: none;
}

.toctogglelabel {
	color: #f9a916;
}

.toctogglelabel:hover {
	color: #f9a916;
	opacity: 0.6;
	text-decoration: none;
}

.toc .toctitle {
	text-align: left;
}

.mw-body .toc ul li ul {
	margin-left: 1.5rem;
}

.floatright {
	float: right;
}

.mw-body .firstHeading {
	border-bottom: 1px solid rgb(38 40 49);
}

.skill-row {
	padding: 0.75rem;
	background: #262831;
	margin-bottom: 1rem;
	border-radius: 0.25rem;
}

div.tright {
	margin: 0 0 1rem 1rem;
}

@media screen and (max-width: 768px) {
	div.tright, div.floatright, table.floatright {
		width: 100%!important;
    	float: none!important;
    	clear: none!important;
    	margin: 1rem 0 1rem 0!important;
	}
}

.right-sidebar {
    max-width: 270px;
    margin-left: 1rem;
}

@media screen and (max-width: 1024px){
	.right-sidebar {
    	display: none;
	}
}

@media screen and (max-width: 500px) {
	.infobox-right {
		float: none!important;
		margin: 0 auto!important;
		margin-bottom: 1rem!important;
		width: 100%!important;
	}
}

.thumbinner {
	border: none!important;
	padding: 0.25rem!important;
	background-color: #262831!important;
}

.thumbimage {
	border: 1px solid #111217!important;
	background: #111217!important;
}

.table {
	margin-bottom: 0;
	color: #f0f2f5;
	font-size: 0.9rem;
	width: auto;
}

.table th {
	background: #262831;
}

.table td {
	background: rgb(38 40 49 / 0.5);
}


.table th, .table td {
	border: none;
	padding: 0.5rem 0.75rem;
}

.table tr {
	border-bottom: 1px solid #1b1c23;
}

.table tr:last-child {
	border-bottom: none;
}

.wikitable > tr > th, .wikitable > * > tr > th {
	background-color: #454856;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border: none;
	padding: 0.5rem 0.75rem;
}

.wikitable {
	background: #262831;
	color: #f0f2f5;
	width: 100%;
	border: none;
	font-size: 0.9rem;
	margin: 0;
}

.infobox-right {
	float: right;
	position: relative;
	width: 302px;
	background: #262831;
	margin: 0 0 1em 1em;
	padding: 0;
}

.bomber {
	background: rgb(128 0 128 / 0.25)!important;
}

.champion {
	background: rgb(255 0 0 / 0.25)!important;
}

.paladin {
	background: rgb(0 128 0 / 0.25)!important;
}

.warmonger {
	background: rgb(255 255 0 / 0.25)!important;
}

@media screen and (max-width: 1480px) {
	.footer-container {
	    padding: 0 0.5rem;
	}
}

.footer-info > div {
    margin: 0.5rem 1rem 0 0;
    opacity: 0.5;
}

.footer-places > div {
    margin: 0.5rem 1rem 0.5rem 0;
}

.footer-info, .footer-places, .footer-icons {
	margin-left: 0;
	margin-right: 0;
}

pre, .mw-code {
	color: #f0f2f5;
	background-color: #262831;
	margin-top: 1rem;
	border: none;
}

.frontpage-box {
    background: #262831;
    padding: 0.75rem;
    border: 1px solid #454856;
}

.frontpage-box-header {
    background: #454856;
    padding: 0.5rem;
    margin: -0.25rem -0.25rem 0.5rem -0.25rem;
}