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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/dark-mode.scss')
-rw-r--r--assets/scss/dark-mode.scss29
1 files changed, 12 insertions, 17 deletions
diff --git a/assets/scss/dark-mode.scss b/assets/scss/dark-mode.scss
index a4ca98c..b5cbf94 100644
--- a/assets/scss/dark-mode.scss
+++ b/assets/scss/dark-mode.scss
@@ -24,6 +24,17 @@ body.night {
}
}
+ a {
+ color: $light-accent;
+ &:hover {
+ color: $deep-light-accent !important;
+ }
+ @media screen and (max-width: $single-column-max-width) {
+ &:hover {
+ text-decoration: none !important;
+ }
+ }
+ }
code:not([data-lang]) {
color: $deep-light-accent !important;
@@ -215,26 +226,10 @@ body.night {
.post-body p,h1,h2,h3,h4,h5,h6,li {
color: $dark-mode-text;
- a {
- color: $light-accent;
- &:hover {
- color: $deep-light-accent !important;
- }
- @media screen and (max-width: $single-column-max-width) {
- &:hover {
- text-decoration: none !important;
- }
- }
- }
- * {
+ *:not(a){
color: $dark-mode-text;
}
}
-
- .post-pagination a {
- color: $deep-light-accent;
- }
-
.pagination * {
color: $dark-mode-text;
}