diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-09-15 04:03:46 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-09-15 04:03:46 +0300 |
commit | 9ed31830e9c9a923ef1bc355f167fd916a9e5c92 (patch) | |
tree | ad4a2f3644fda635a116a8ab9cc5ebaa193e5008 /assets/scss | |
parent | e8ba7703e53b2a5033caf7bb649b1d5d2c1f3b83 (diff) |
Fixed searchbox in dark mode, and improvements in dark mode text.
Diffstat (limited to 'assets/scss')
-rw-r--r-- | assets/scss/dark-mode.scss | 8 | ||||
-rw-r--r-- | assets/scss/journal.scss | 13 |
2 files changed, 13 insertions, 8 deletions
diff --git a/assets/scss/dark-mode.scss b/assets/scss/dark-mode.scss index f2ef8e2..7bbd9cc 100644 --- a/assets/scss/dark-mode.scss +++ b/assets/scss/dark-mode.scss @@ -2,7 +2,7 @@ $light-accent: lighten($color-accent, 10%); $deep-light-accent: lighten($color-accent, 30%); -$dark-mode-text: darken(#FFF, 20%); +$dark-mode-text: darken(#FFF, 10%); $dark-mode-back-container-background: #212121; $dark-mode-front-container-background: #282828; @@ -244,5 +244,9 @@ body.night { .vcontent p { color: $dark-mode-text !important; } + + .gsc-control-searchbox-only table *{ + color: black !important; + } -}
\ No newline at end of file +} diff --git a/assets/scss/journal.scss b/assets/scss/journal.scss index fa999fe..3aca253 100644 --- a/assets/scss/journal.scss +++ b/assets/scss/journal.scss @@ -1065,15 +1065,16 @@ mjx-container overflow-y: hidden !important; } -.gsc-control-cse { +.gsc-control-searchbox-only { display: flex !important; - width: 19vw !important; + background: none !important; + max-width: 70%; + margin-top: 1em; margin-left: 1.5em; - padding-right: 0.2em; + margin-right: 0.2em; @media screen and (max-width: $single-column-max-width) { - width: 60vw !important; margin-left: 0.5em; - padding-left: 0; + padding-left: 0.2em; .gsst_a { display: none; } @@ -1086,4 +1087,4 @@ mjx-container .vcontent p { color: black !important; -}
\ No newline at end of file +} |