Difference between revisions of "Light.css"

Line 1: Line 1:
 
body {
 
body {
background: #efeff1;
+
background: #111217;
color: #36414f;
+
color: #f0f2f5;
 
font-size: 0.9rem;
 
font-size: 0.9rem;
 
/*font-family: 'IBM Plex Sans', sans-serif;*/
 
/*font-family: 'IBM Plex Sans', sans-serif;*/
Line 17: Line 17:
  
 
.container {
 
.container {
max-width: 1460px;
+
max-width: 1650px;
 
padding-right: 0;
 
padding-right: 0;
 
padding-left: 0;
 
padding-left: 0;
Line 23: Line 23:
  
 
#mw-navigation {
 
#mw-navigation {
box-shadow: 0 1px 2px rgba(0,0,0,0.15), 0 0px 2px rgba(0,0,0,0.1);
+
box-shadow: 0 1px 5px 1px rgba(0,0,0,.4);
 
}
 
}
  
Line 32: Line 32:
  
 
.main-container {
 
.main-container {
background: #fff;
+
background: #1b1c23;
box-shadow: 0 0.25em 0.6em -0.15em rgba(0,0,0,0.15);
+
box-shadow: 0 1px 5px 1px rgba(0,0,0,.4);
 
}
 
}
  
 
.p-navbar {
 
.p-navbar {
background-color: #fff;
+
background-color: #262831;
 
}
 
}
  
 
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
 
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
color: #444e5a;
+
color: #fff;
 
padding: 0;
 
padding: 0;
 
margin-top: 1rem!important;
 
margin-top: 1rem!important;
Line 51: Line 51:
  
 
h1, h2, .h1, .h2 {
 
h1, h2, .h1, .h2 {
border-bottom: 1px solid #e4eaee;
+
border-bottom: 1px solid #262831;
 
padding-bottom: 0.5rem;
 
padding-bottom: 0.5rem;
 
}
 
}
Line 59: Line 59:
 
}
 
}
  
a, a[href].external, a:visited, .mw-parser-output a.external:visited, toctogglelabel, toctogglelabel:visited {
+
a, a[href].external, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
color: #327ba7;
+
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;
 +
}
 +
 
 +
.mw-parser-output a.external, .link-https {
 +
background-position: right center;
 +
background-repeat: no-repeat;
 +
background-image: url(https://corepunk.wiki/w/images/c/c1/External-link-icon.png);
 +
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2213%22 height=%2213%22%3E %3Cpath fill=%22%2336b%22 d=%22M5.002 1.01h7v7l-2-2-3 2v-1l3-2.25 1 1V2.01h-3.75l1 1-2.25 3h-1l2-3z%22/%3E %3Cpath fill=%22%2336b%22 d=%22M7.002 3.01h-5v8h8v-5h-1v4h-6v-6h4z%22/%3E %3Cpath fill=%22%2315a5ea%22 d=%22M4.082 5.51c0-.621.621-.621.621-.621 1.864.621 3.107 1.864 3.728 3.728 0 0 0 .621-.62.621-1.245-1.864-1.866-2.485-3.73-3.728z%22/%3E %3C/svg%3E");
 +
padding-right: 15px;
 +
}
 +
 
 +
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 {
 
.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: #327ba7;
+
color: #cacaca;
 +
text-transform: uppercase;
 +
font-size: 0.8rem;
 
}
 
}
  
 
.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 {
 
.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: #327ba7;
+
color: #fff;
opacity: 0.6;
+
opacity: 1;
 
}
 
}
  
Line 84: Line 114:
 
}
 
}
  
#toc, .toc {
+
.toc {
padding: 0;
+
padding: 0.5rem 0.75rem;
 
margin-bottom: 1rem;
 
margin-bottom: 1rem;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,0.1);
 
 
}
 
}
  
 
.toc, .mw-warning, .toccolours {
 
.toc, .mw-warning, .toccolours {
 
border: none;
 
border: none;
background-color: #fff;
+
background-color: #262831;
border: 1px solid #dcdcdc;
+
/*box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(17 18 23);*/
 
}
 
}
  
#toc .toctitle, .toc .toctitle {
+
.mw-body .toc ul li a .tocnumber {
background: #eeeeee;
+
display: none;
border-bottom: 1px solid #dcdcdc;
 
padding: 0.25em 1em;
 
text-align: center;
 
 
}
 
}
  
.mw-body .toc .toctitle .toctogglespan {
+
.toctogglelabel {
margin-left: 0.2em;
+
color: #f9a916;
font-size: 90%;
 
 
}
 
}
  
.mw-body .toc .toctitle h2 {
+
.toctogglelabel:hover {
font-size: 0.8rem;
+
color: #f9a916;
color: #333333;
+
opacity: 0.6;
}
+
text-decoration: none;
 
 
.toc label {
 
margin-bottom: 0;
 
}
 
 
 
#toc > ul, .toc > ul {
 
line-height: 1.8em;
 
padding: 0.75em 1.75em;
 
margin: 0;
 
}
 
 
 
.mw-body .toc ul li a .tocnumber {
 
display: none;
 
 
}
 
}
  
Line 140: Line 152:
  
 
.mw-body .firstHeading {
 
.mw-body .firstHeading {
border-bottom: 1px solid #e4eaee;
+
border-bottom: 1px solid rgb(38 40 49);
 
}
 
}
  
Line 181: Line 193:
 
width: 100%!important;
 
width: 100%!important;
 
}
 
}
 +
}
 +
 +
.thumb.tright {
 +
/*box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(17 18 23);*/
 
}
 
}
  
 
.thumbinner {
 
.thumbinner {
border: 1px solid #dcdcdc!important;
+
border: none!important;
 
padding: 0.25rem!important;
 
padding: 0.25rem!important;
background-color: #fff!important;
+
background-color: #262831!important;
 
}
 
}
  
Line 194: Line 210:
 
}
 
}
  
.table {
+
.table-responsive {
margin-bottom: 0;
 
color: #f0f2f5;
 
font-size: 0.9rem;
 
 
width: auto;
 
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 {
 
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: #454856;
+
background-color: #ffffff1a;
 +
text-align: left;
 
}
 
}
 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
 
border: none;
 
border: none;
 +
border-bottom: 1px solid #1b1c23;
 
padding: 0.5rem 0.75rem;
 
padding: 0.5rem 0.75rem;
 
}
 
}
Line 234: Line 227:
 
background: #262831;
 
background: #262831;
 
color: #f0f2f5;
 
color: #f0f2f5;
width: 100%;
+
width: auto;
 
border: none;
 
border: none;
 
font-size: 0.9rem;
 
font-size: 0.9rem;
Line 247: Line 240:
 
margin: 0 0 1em 1em;
 
margin: 0 0 1em 1em;
 
padding: 0;
 
padding: 0;
 +
/*box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(17 18 23);*/
 
}
 
}
  
 
.bomber {
 
.bomber {
background: rgb(128 0 128 / 0.25)!important;
+
background-color: #186885!important;
 
}
 
}
  
 
.champion {
 
.champion {
background: rgb(255 0 0 / 0.25)!important;
+
background-color: #DC423E!important;
 +
}
 +
 
 +
.pain.reaper {
 +
    background-color: #69278A!important;
 
}
 
}
  
 
.paladin {
 
.paladin {
background: rgb(0 128 0 / 0.25)!important;
+
background-color: #456C40!important;
 
}
 
}
  
 
.warmonger {
 
.warmonger {
background: rgb(255 255 0 / 0.25)!important;
+
background-color: #776F1B!important;
 
}
 
}
  
@media screen and (max-width: 1480px) {
+
@media screen and (max-width: 1679px) {
 
.footer-container {
 
.footer-container {
 
    padding: 0 0.5rem;
 
    padding: 0 0.5rem;
Line 286: Line 284:
  
 
pre, .mw-code {
 
pre, .mw-code {
 +
color: #f0f2f5;
 +
background-color: #262831;
 
margin-top: 1rem;
 
margin-top: 1rem;
 
border: none;
 
border: none;
Line 292: Line 292:
 
dt {
 
dt {
 
font-weight: 600;
 
font-weight: 600;
 +
}
 +
 +
.wikiEditor-ui-toolbar {
 +
color: #111217;
 
}
 
}
  
Line 304: Line 308:
 
margin-bottom: 1rem;
 
margin-bottom: 1rem;
 
width: fit-content;
 
width: fit-content;
 +
border-left: 10px solid #dd9090;
 +
}
 +
 +
#footer-toolbox {
 +
margin: 0.5rem 1rem 0 0;
 +
}
 +
 +
.skill-infobox-row-heading {
 +
border-right: 3px solid #3c3e46!important;
 +
border-bottom: none!important;
 +
text-align: right;
 +
}
 +
 +
.skill-infobox-row-data {
 +
word-break: break-word;
 +
border-bottom: none!important;
 +
}
 +
 +
.jquery-tablesorter th.headerSortUp {
 +
background-image: url(/w/images/8/81/Sort_up.png)!important;
 +
}
 +
 +
.jquery-tablesorter th.headerSortDown {
 +
background-image: url(/w/images/f/f3/Sort_down.png)!important;
 +
}
 +
 +
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
 +
background-image: url(/w/images/a/a6/Sort_both.png);
 +
}
 +
 +
.dropdown-menu {
 +
background-color: #111217;
 +
}
 +
 +
.dropdown-item, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child {
 +
color: #f0f2f5;
 +
text-transform: uppercase;
 +
font-weight: 300;
 +
font-size: 0.9rem;
 +
}
 +
 +
.dropdown-item:hover, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:hover, .dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus {
 +
background: #262831;
 +
color: #f0f2f5;
 
}
 
}

Revision as of 14:24, 5 January 2021

body {
	background: #111217;
	color: #f0f2f5;
	font-size: 0.9rem;
	/*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: 1650px;
	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;
}

.mw-parser-output a.external, .link-https {
	background-position: right center;
	background-repeat: no-repeat;
	background-image: url(https://corepunk.wiki/w/images/c/c1/External-link-icon.png);
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2213%22 height=%2213%22%3E %3Cpath fill=%22%2336b%22 d=%22M5.002 1.01h7v7l-2-2-3 2v-1l3-2.25 1 1V2.01h-3.75l1 1-2.25 3h-1l2-3z%22/%3E %3Cpath fill=%22%2336b%22 d=%22M7.002 3.01h-5v8h8v-5h-1v4h-6v-6h4z%22/%3E %3Cpath fill=%22%2315a5ea%22 d=%22M4.082 5.51c0-.621.621-.621.621-.621 1.864.621 3.107 1.864 3.728 3.728 0 0 0 .621-.62.621-1.245-1.864-1.866-2.485-3.73-3.728z%22/%3E %3C/svg%3E");
	padding-right: 15px;
}

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;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.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;
	/*box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(17 18 23);*/
}

.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;
	}
}

.thumb.tright {
	/*box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(17 18 23);*/
}

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

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

.table-responsive {
	width: auto;
}

.wikitable > tr > th, .wikitable > * > tr > th {
	background-color: #ffffff1a;
	text-align: left;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border: none;
	border-bottom: 1px solid #1b1c23;
	padding: 0.5rem 0.75rem;
}

.wikitable {
	background: #262831;
	color: #f0f2f5;
	width: auto;
	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;
	/*box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(17 18 23);*/
}

.bomber {
	background-color: #186885!important;
}

.champion {
	background-color: #DC423E!important;
}

.pain.reaper {
    background-color: #69278A!important;
}

.paladin {
	background-color: #456C40!important;
}

.warmonger {
	background-color: #776F1B!important;
}

@media screen and (max-width: 1679px) {
	.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;
}

dt {
	font-weight: 600;
}

.wikiEditor-ui-toolbar {
	color: #111217;
}

dl {
	margin: 0.7rem 0;
}

.stub-box {
	padding: 0.5rem 0.75rem;
	background: #262831;
	margin: 0 auto;
	margin-bottom: 1rem;
	width: fit-content;
	border-left: 10px solid #dd9090;
}

#footer-toolbox {
	margin: 0.5rem 1rem 0 0;
}

.skill-infobox-row-heading {
	border-right: 3px solid #3c3e46!important;
	border-bottom: none!important;
	text-align: right;
}

.skill-infobox-row-data {
	word-break: break-word;
	border-bottom: none!important;
}

.jquery-tablesorter th.headerSortUp {
	background-image: url(/w/images/8/81/Sort_up.png)!important;
}

.jquery-tablesorter th.headerSortDown {
	background-image: url(/w/images/f/f3/Sort_down.png)!important;
}

.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
	background-image: url(/w/images/a/a6/Sort_both.png);
}

.dropdown-menu {
	background-color: #111217;
}

.dropdown-item, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child {
	color: #f0f2f5;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 0.9rem;
}

.dropdown-item:hover, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:hover, .dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus {
	background: #262831;
	color: #f0f2f5;
}