From 3c57df7710bd038462e5432df868c91e6ffb53a0 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Wed, 28 Aug 2024 14:10:48 +0300 Subject: [PATCH] removed light mode --- assets/_main.scss | 1 + assets/_markdown.scss | 8 +++++--- assets/book.scss | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/_main.scss b/assets/_main.scss index be52381..9490cc2 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -35,6 +35,7 @@ a { color: var(--color-link); } + img { vertical-align: baseline; } diff --git a/assets/_markdown.scss b/assets/_markdown.scss index 14b1020..bd16c45 100644 --- a/assets/_markdown.scss +++ b/assets/_markdown.scss @@ -59,14 +59,16 @@ a { text-decoration: underline; - &:hover { - color: #AC9C6D; - } &:visited { color: var(--color-visited-link); } } + + a:hover { + color: #AC9C6D; + } + img { max-width: 100%; height: auto; diff --git a/assets/book.scss b/assets/book.scss index 59369fa..5934908 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -1,6 +1,6 @@ @import "defaults"; @import "variables"; -@import "themes/{{ default "light" .Site.Params.BookTheme }}"; +@import "themes/dark"; // {{ default "dark" .Site.Params.BookTheme }}"; @import "normalize"; @import "utils";