Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jakewies/hugo-theme-codex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSören Johanson <contact@soeren.codes>2020-07-29 16:06:22 +0300
committerSören Johanson <contact@soeren.codes>2020-07-29 16:06:22 +0300
commit2f30698261e9820f70e95a516a7ffb14f3ad5080 (patch)
tree26fe1519da78ba7797f46cf44d115b9a9b4ce967
parent0554b6b62992938bcf9f40a06bfea7403232b504 (diff)
change hardcoded colors to variable
-rw-r--r--assets/scss/pages/post.scss2
-rw-r--r--assets/scss/partials/_burger.scss2
-rw-r--r--assets/scss/partials/_nav.scss2
3 files changed, 3 insertions, 3 deletions
diff --git a/assets/scss/pages/post.scss b/assets/scss/pages/post.scss
index 5b97764..bd90f1c 100644
--- a/assets/scss/pages/post.scss
+++ b/assets/scss/pages/post.scss
@@ -195,7 +195,7 @@ $tocBreakpoint: 1024px;
footer {
text-align: center;
padding: 0 1.5rem;
- background: #ffffff;
+ background: $white;
p {
margin-top: 1rem; // reduce margin top due to social icons' padding
diff --git a/assets/scss/partials/_burger.scss b/assets/scss/partials/_burger.scss
index 2826029..07d4370 100644
--- a/assets/scss/partials/_burger.scss
+++ b/assets/scss/partials/_burger.scss
@@ -5,7 +5,7 @@
padding: 0 1.5rem;
position: fixed;
width: 100%;
- background: #fff;
+ background: $white;
z-index: 2;
@media screen and (min-width: $medium) {
diff --git a/assets/scss/partials/_nav.scss b/assets/scss/partials/_nav.scss
index 9857033..e323283 100644
--- a/assets/scss/partials/_nav.scss
+++ b/assets/scss/partials/_nav.scss
@@ -6,7 +6,7 @@
display: flex;
justify-content: center;
align-items: center;
- background: #fff;
+ background: $white;
visibility: hidden;
z-index: 1;