diff options
author | Victoria Drake <24644237+victoriadrake@users.noreply.github.com> | 2022-02-22 17:06:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:06:29 +0300 |
commit | 7694f9b1b47949f62a24fabd54d795df36942425 (patch) | |
tree | 4aabb9178e328907765e4bae6d1c0f66268767e4 /assets | |
parent | c88d3a359d04b91ad269d68720f2b80243c498da (diff) |
Introduction v6.0.0 (#329)
* Simplify dark theme
- Make dark theme less awful (sorry about that)
* Update exampleSite posts
* Add support for multiple authors per post (#328)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/_base.sass | 30 | ||||
-rw-r--r-- | assets/sass/_dark-variables.sass | 10 |
2 files changed, 28 insertions, 12 deletions
diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass index 8cdcf9b..1b96c1a 100644 --- a/assets/sass/_base.sass +++ b/assets/sass/_base.sass @@ -36,6 +36,9 @@ a h1, h2, .title, .subtitle color: $h-color +p + color: $body-color + .title font-weight: $title-weight @@ -116,9 +119,10 @@ details[open] summary list-style-position: outside margin-left: 0 -.post-data +.post-data, .blog-share, .footer-text font-size: 1rem line-height: 2rem + color: $body-color .social-icons padding: 0 10px @@ -153,7 +157,8 @@ details[open] summary .navbar-item text-transform: uppercase font-size: 0.875rem - &:hover + color: $body-color + &:hover, &:active background-color: $navbar-background-color !important .owl-nav @@ -199,8 +204,9 @@ details[open] summary justify-content: center .markdown + color: $body-color !important p - margin-bottom: 1em + margin: 1em 0 h1 font-size: $size-1 @include mobile @@ -229,18 +235,18 @@ details[open] summary color: $secondary ul margin-bottom: 1.25rem - margin-left: 1.5em list-style: disc ul ul + margin-left: 0.5em margin-bottom: 0 li - margin-left: 1.5em + margin-left: 1em list-style-position: outside - padding-left: 1em + padding-left: 0.25em ol margin-bottom: 1.25rem - margin-left: 1.5em ol ol + margin-left: 0.5em list-style-type: lower-alpha margin-bottom: 0 ol ol ol @@ -287,7 +293,17 @@ details[open] summary background-color: #f7f7f7 code, pre border-radius: 3px + p>code, p>a>code + background-color: rgba($secondary, 0.3) !important img display: block margin: 2rem auto max-width: 100% + figure > img + margin: auto + figcaption + margin: 0.5rem auto + max-width: 500px + text-align: center + figcaption > h4 + font-size: 0.8rem diff --git a/assets/sass/_dark-variables.sass b/assets/sass/_dark-variables.sass index a58c9c9..9cd57f0 100644 --- a/assets/sass/_dark-variables.sass +++ b/assets/sass/_dark-variables.sass @@ -1,8 +1,8 @@ -$body-color: #dfdfdf -$background: #121212 -$primary: #ed6a5a -$secondary: #f4f1bb -$h-color: #75b8c8 +$body-color: #ffffff +$background: #222222 +$primary: #00b8d4 +$secondary: #efefef +$h-color: $secondary $navbar-item-color: $body-color $code-background: #222222 $link-hover: $secondary |