1
Fork 0

Change body background color to black

This commit is contained in:
Jake Howard 2019-03-16 16:02:38 +00:00
parent 08b0bb05ae
commit 0fa37b8473
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 21 additions and 11 deletions

View file

@ -6,7 +6,7 @@
<div class="row">
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
<div class="col-sm-3 mt-3">
<div class="card text-center">
<div class="card about-card text-center">
<a href="{{ $e.link }}" class="colour-invert">
<h1 class="display-3"><i class="{{ $e.icon }}"></i></h1>
</a>

View file

@ -15,7 +15,7 @@
</a>
</h3>
<table class="table table-hover table-striped">
<table class="table table-hover table-striped table-dark">
<thead>
<tr>
<th scope="row"></th>

View file

@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-sm navbar-dark bg-black fixed-top">
<nav class="navbar navbar-expand-sm navbar-dark fixed-top">
<a class="navbar-brand" href='{{ relURL "" }}'><code>/home/{{ lower .Site.Title }}</code></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>

View file

@ -3,8 +3,12 @@
@import "node_modules/bootstrap/scss/bootstrap";
$body-color: $gray-300;
html, body {
height: 100%;
color: $body-color;
}
a {
@ -12,11 +16,11 @@ a {
color: $primary;
&:hover {
color: $black;
color: $body-color;
}
&.colour-invert {
color: $black;
color: $body-color;
&:hover {
color: $primary;
@ -95,9 +99,14 @@ table td {
vertical-align: middle;
}
.table-dark {
color: $body-color;
}
.navbar {
padding-top: 0;
padding-bottom: 0;
background-color: $black;
.navbar-brand {
font-size: $font-size-base;
@ -114,11 +123,6 @@ table td {
}
}
.bg-black {
background-color: $black;
}
#index-header {
width: 100%;
height: calc(100% - 110px);
@ -242,7 +246,7 @@ p, li, h1, h2, h3, h4, h5, h6 {
font-size: $spacer * 0.9;
.breadcrumb-item + .breadcrumb-item::before {
color: $black;
color: $body-color;
}
}
@ -266,3 +270,8 @@ a.no-color-change {
color: inherit;
}
}
.about-card {
background-color: $body-bg;
border: 1px solid $body-color;
}

View file

@ -1 +1,2 @@
$primary: #E85537;
$body-bg: #17181C;