Difference between revisions of "Common.css"

Line 167: Line 167:
 
float: none;
 
float: none;
 
}
 
}
 +
}
 +
 +
.table {
 +
margin-bottom: 0;
 
}
 
}
  

Revision as of 15:00, 24 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-body {
	padding: 0;
}

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

.p-navbar {
	background-color: #262831;
	box-shadow: 0 1px 5px 1px rgba(0,0,0,.4);
}

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

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

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

a:hover, a[href].external:hover {
	color: #f9a916;
	opacity: 0.6;
	text-decoration: none;
}

a:visited {
	color: #f9a916;
}

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

a[href].new:hover {
	color: #ff0000;
	text-decoration: none;
}

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 {
	float: right;
	padding: 0.5rem 0.75rem;
}

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

.table {
	color: #f0f2f5;
	font-size: 0.9rem;
}

.table-hover tbody tr:hover {
	color: #f0f2f5;
}

.table th {
	color: #fff;
	white-space: nowrap;
}

.table th, .table td {
	background: #262831;
	border-top: 1px solid #1b1c23;
}

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

@media screen and (max-width: 768px) {
	.toc {
		float: none;
	}
}

.table {
	margin-bottom: 0;
}

.table th, .table td {
	border: none;
}

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

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