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
path: root/assets
diff options
context:
space:
mode:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-05-22 11:41:53 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-05-22 11:41:53 +0300
commitadace134fe0c3f79af844eb56e4d03ae7323361b (patch)
tree535df1fe2233a74b71788d3d5ca58a5db94714f8 /assets
parent2b79c232b18ebccbc8cb3b31ebe82a63fa2a277a (diff)
Small adjustments of hyperlink and upload generated scss files.
Diffstat (limited to 'assets')
-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;
}