From ab164ff5b8675b8062e8b772c21a47f2dbe818cb Mon Sep 17 00:00:00 2001 From: sylhare Date: Mon, 14 Feb 2022 09:56:28 -0500 Subject: [PATCH 1/6] Fix color button hovering --- _layouts/post.liquid | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/_layouts/post.liquid b/_layouts/post.liquid index 28d4ab4aaa..c10e437d2c 100644 --- a/_layouts/post.liquid +++ b/_layouts/post.liquid @@ -56,10 +56,19 @@ layout: default } {% if page.color %} - .feature-image a { color: {{ page.color }} !important; } + .post-content a { color: {{ page.color }} !important; } + .share-buttons a { color: {{ page.color }} !important; } + .tag-list a:not(:hover) { color: {{ page.color }} !important; } div#post-nav a { color: {{ page.color }} !important; } footer a { color: {{ page.color }} !important; } .site-header nav a:hover { color: {{ page.color }} !important; } + a.button:hover { + background: {{ page.color }} !important; + border: 1px solid {{ page.color }} !important; + color: white; + text-decoration: none; + filter: none; + } header#main { background-color: {{ page.color }} !important; background-image: url('{{ site.color_image | relative_url }}'); From 78938219a48336598dd844fbe8718aacd41ede4d Mon Sep 17 00:00:00 2001 From: sylhare Date: Tue, 15 Feb 2022 08:46:18 -0500 Subject: [PATCH 2/6] Remove old color scheme --- _sass/includes/_footer.scss | 6 ------ 1 file changed, 6 deletions(-) diff --git a/_sass/includes/_footer.scss b/_sass/includes/_footer.scss index 0c5fea0e4b..1f4ddecfdb 100644 --- a/_sass/includes/_footer.scss +++ b/_sass/includes/_footer.scss @@ -20,12 +20,6 @@ color: var(--link); } - @media (prefers-color-scheme: dark) { - a { - color: var(--meta); - } - } - a:hover { .fa-circle { filter: brightness(0.85); From fc8e0b4ee249fb864ebcf48416398765a8ba1c20 Mon Sep 17 00:00:00 2001 From: sylhare Date: Tue, 15 Feb 2022 08:46:44 -0500 Subject: [PATCH 3/6] Refactor scss --- _sass/layouts/_tags.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_sass/layouts/_tags.scss b/_sass/layouts/_tags.scss index 99dcaf3eb7..598d159461 100644 --- a/_sass/layouts/_tags.scss +++ b/_sass/layouts/_tags.scss @@ -62,10 +62,10 @@ font-size: 0.8em; line-height: normal; } -} -@media screen and (max-width: $sm-break) { - .tag-posts .meta { - display: none; + @media screen and (max-width: $sm-break) { + .meta { + display: none; + } } } From 453fea203b2daaf2ffc55f867876d93c94328546 Mon Sep 17 00:00:00 2001 From: sylhare Date: Wed, 16 Feb 2022 08:45:55 -0500 Subject: [PATCH 4/6] Use new theme color --- _sass/base/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sass/base/_variables.scss b/_sass/base/_variables.scss index f8af7457ce..7a7a03def6 100644 --- a/_sass/base/_variables.scss +++ b/_sass/base/_variables.scss @@ -33,7 +33,7 @@ html, html[data-theme="light"] { --blockquote: #eef7fa; --selection: #d4d4d4; --meta: #595959; - --link: #337ab7; + --link: #0072B5; --header-background: #24292e; --header-text: #ffffff; --header-link: #383838; From 868db96bbfe099a2ec288450c5d0b0f0e3bf3986 Mon Sep 17 00:00:00 2001 From: sylhare Date: Wed, 16 Feb 2022 08:56:49 -0500 Subject: [PATCH 5/6] Fix hover on meta author links --- _sass/layouts/_posts.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_sass/layouts/_posts.scss b/_sass/layouts/_posts.scss index 9d24272a3a..cda3a45b08 100644 --- a/_sass/layouts/_posts.scss +++ b/_sass/layouts/_posts.scss @@ -69,6 +69,11 @@ header { img { height: auto; } + + &:hover { + text-decoration: none; + filter: brightness(0.65); + } } img { From 1ffca7bcb3c18747dc620004852982e61cff6129 Mon Sep 17 00:00:00 2001 From: sylhare Date: Thu, 17 Feb 2022 09:40:29 -0500 Subject: [PATCH 6/6] Update post info hover --- _sass/layouts/_posts.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/_sass/layouts/_posts.scss b/_sass/layouts/_posts.scss index cda3a45b08..e3af65bfac 100644 --- a/_sass/layouts/_posts.scss +++ b/_sass/layouts/_posts.scss @@ -72,7 +72,6 @@ header { &:hover { text-decoration: none; - filter: brightness(0.65); } }