From 825573cdd2d5b1fd7f159467cb657b45a768bbe2 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 27 Oct 2019 12:33:14 +0100 Subject: Remove dark links mixin and sass var --- assets/_defaults.scss | 1 - assets/_main.scss | 8 +++++++- assets/_utils.scss | 10 ---------- assets/plugins/_dark.scss | 1 - 4 files changed, 7 insertions(+), 13 deletions(-) (limited to 'assets') 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; -- cgit v1.2.3