aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-27 12:33:14 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-27 12:33:14 +0100
commit825573cdd2d5b1fd7f159467cb657b45a768bbe2 (patch)
tree248352b9ab7036211cd9e80f8bfe7c3cb4f02ba6 /assets
parenta5788d71fa7ac1cd6e5ed9a98f95f6ca1bddcbb4 (diff)
Remove dark links mixin and sass var
Diffstat (limited to 'assets')
-rw-r--r--assets/_defaults.scss1
-rw-r--r--assets/_main.scss8
-rw-r--r--assets/_utils.scss10
-rw-r--r--assets/plugins/_dark.scss1
4 files changed, 7 insertions, 13 deletions
diff --git a/assets/_defaults.scss b/assets/_defaults.scss
index b11c9a9..c905c91 100644
--- a/assets/_defaults.scss
+++ b/assets/_defaults.scss
@@ -26,7 +26,6 @@ $black: #000 !default;
$color-link: #05b !default;
$color-visited-link: #8440f1 !default;
-$color-dark-link: $gray-800 !default;
$body-background: white !default;
$body-font-color: $gray-800 !default;
diff --git a/assets/_main.scss b/assets/_main.scss
index c6098c3..3cfb66d 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -116,7 +116,13 @@ ul.pagination {
@include fixed;
}
- @include dark-links;
+ a {
+ color: inherit;
+ }
+
+ a.active {
+ color: $color-link;
+ }
}
.book-section-flat {
diff --git a/assets/_utils.scss b/assets/_utils.scss
index 6ae0d7d..175a4ad 100644
--- a/assets/_utils.scss
+++ b/assets/_utils.scss
@@ -62,13 +62,3 @@
overflow-x: hidden;
overflow-y: auto;
}
-
-@mixin dark-links {
- a {
- color: $color-dark-link;
- }
-
- a.active {
- color: $color-link;
- }
-}
diff --git a/assets/plugins/_dark.scss b/assets/plugins/_dark.scss
index c4df68b..596c746 100644
--- a/assets/plugins/_dark.scss
+++ b/assets/plugins/_dark.scss
@@ -6,4 +6,3 @@ $body-font-color: #e9ecef;
$color-link: #84b2ff;
$color-visited-link: #b88dff;
-$color-dark-link: $body-font-color;