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-18 17:03:38 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-05-18 17:03:38 +0300
commitaa0b09824cfa5c49ae28238ea3fa80ce7c2e2696 (patch)
treee7f98f02ec459a92e865df7dd71a7243d858461b /assets
parent034c91a29a94e8ccb34da4f1c1ee747d7be12219 (diff)
Remove forced highlight style, and change the style of new Valine.
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/dark-mode.scss11
-rw-r--r--assets/scss/journal.scss13
2 files changed, 19 insertions, 5 deletions
diff --git a/assets/scss/dark-mode.scss b/assets/scss/dark-mode.scss
index f46da00..7b26eb0 100644
--- a/assets/scss/dark-mode.scss
+++ b/assets/scss/dark-mode.scss
@@ -195,8 +195,13 @@ body.night {
color: $light-accent !important;
}
}
- // Hack of Valine
- .vsys{
- background: none;
+
+ .vwrap * {
+ color: $dark-mode-text !important;
+ }
+
+ .vcontent p {
+ color: $dark-mode-text !important;
}
+
} \ No newline at end of file
diff --git a/assets/scss/journal.scss b/assets/scss/journal.scss
index 7f7b52e..f33b914 100644
--- a/assets/scss/journal.scss
+++ b/assets/scss/journal.scss
@@ -136,8 +136,9 @@ code {
}
pre {
- background: rgba(46,46,46, 1) !important;
- color: rgba(255,255,255, 1);
+ //background: rgba(46,46,46, 1) !important;
+ //color: rgba(255,255,255, 1);
+ background: rgba($color-accent, 0.07);
padding: 12px 15px;
border-radius: 5px;
font-family: $mono-font-list;
@@ -1077,4 +1078,12 @@ mjx-container
display: none;
}
}
+}
+
+.vwrap * {
+ color: black !important;
+}
+
+.vcontent p {
+ color: black !important;
} \ No newline at end of file