From 978e9443a57156a4c62331a7666d9f971936408a Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Wed, 18 Aug 2021 19:27:59 +0100 Subject: [PATCH] [CSS] Fixed focused links styling. --- assets/css/blog.css | 11 -------- assets/css/reset.css | 13 +++------- assets/css/style.css | 26 ------------------- v3/feed.rss | 10 +++++-- ...ocumentation-and-tests-infrastructure.html | 1 + v3/milestone-port-media-handling-from-v2.html | 1 + v3/updates-finish-the-avatar-component.html | 1 + ...toreremotemedia-for-v3-and-port-embed.html | 1 + ...pdates-improve-the-attachments-system.html | 1 + v3/updates-v3-blog.html | 1 + 10 files changed, 18 insertions(+), 48 deletions(-) diff --git a/assets/css/blog.css b/assets/css/blog.css index 9de3ab8..408bb03 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -98,14 +98,6 @@ header ul li { header ul li a { margin: 0; } -.home-menu a:focus { - border-radius: 8px; - padding-left: 4px; - padding-right: 4px; - background-color: #F6F4F6; - color: #221E22; - transition: 500ms ease-in-out; -} .home-menu { display: flex; @@ -125,9 +117,6 @@ header ul li a { height: 1em; margin-right: 4px; } -.menu-heading:focus-within img { - filter: invert(); -} .menu-link { color: #F6F4F6; margin-left: 1rem; diff --git a/assets/css/reset.css b/assets/css/reset.css index a16b63c..f8c77bd 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -45,20 +45,15 @@ a { font-weight: bold; color: #3F3B3B; } -a:hover { +a:hover, +a:focus { text-decoration-line: underline !important; + transition: 500ms ease-in-out; } a:active { text-decoration-line: underline !important; } -a:focus { - border-radius: 8px; - padding-left: 4px; - padding-right: 4px; - background-color: #3F3B3B; - color: #F6F4F6; - transition: 500ms ease-in-out; -} + h1, h2, h3, diff --git a/assets/css/style.css b/assets/css/style.css index 37e2c20..d03add9 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -80,29 +80,12 @@ header * { display: flex; align-items: center; } -header a:focus { - border-radius: 8px; - padding-left: 4px; - padding-right: 4px; - background-color: #F6F4F6; - color: #221E22 !important; - transition: 500ms ease-in-out; -} .home-menu { display: flex; justify-content: space-between; } -.home-menu a:focus { - border-radius: 8px; - padding-left: 4px; - padding-right: 4px; - background-color: #F6F4F6; - color: #221E22; - transition: 500ms ease-in-out; -} - .menu-heading { display: flex; color: #F6F4F6; @@ -112,17 +95,10 @@ header a:focus { .menu-heading img { height: 1.25rem; } -.menu-heading:focus-within img { - filter: invert(); -} .menu-link { color: #F6F4F6; margin-left: 1rem; } -.menu-link:hover, .menu-link:focus { - color: #C8BCC8; - transition: 500ms ease-in-out; -} /* * -- BODY -- @@ -156,9 +132,7 @@ header a:focus { cursor: default; margin-bottom: 1rem; } -.splash-head > * { -} .splash-head img { height: 6rem; width: 6rem; diff --git a/v3/feed.rss b/v3/feed.rss index f66c1b1..f1073c1 100644 --- a/v3/feed.rss +++ b/v3/feed.rss @@ -2,8 +2,8 @@ GNU social V3https://gnusocial.rocks/v3/index.html Development blog where we announce our progress.en -Wed, 18 Aug 2021 19:07:09 +0100 -Wed, 18 Aug 2021 19:07:09 +0100 +Wed, 18 Aug 2021 19:26:51 +0100 +Wed, 18 Aug 2021 19:26:51 +0100 Updates: V3 blog @@ -80,6 +80,7 @@ forget to subscribe!</p> + <!-- text end --> @@ -168,6 +169,7 @@ functionality with more stability.</p> + <!-- text end --> @@ -265,6 +267,7 @@ any remote URL being shared in a note.</li> + <!-- text end --> @@ -342,6 +345,7 @@ Updates: Finish the Avatar component + <!-- text end --> @@ -447,6 +451,7 @@ is properly tested, we have the + <!-- text end --> @@ -556,6 +561,7 @@ The main ones are:</p> + <!-- text end --> diff --git a/v3/milestone-documentation-and-tests-infrastructure.html b/v3/milestone-documentation-and-tests-infrastructure.html index 59b9338..dcbe870 100644 --- a/v3/milestone-documentation-and-tests-infrastructure.html +++ b/v3/milestone-documentation-and-tests-infrastructure.html @@ -137,6 +137,7 @@ is properly tested, we have the + <!-- text end --> diff --git a/v3/milestone-port-media-handling-from-v2.html b/v3/milestone-port-media-handling-from-v2.html index cec53fc..a68094b 100644 --- a/v3/milestone-port-media-handling-from-v2.html +++ b/v3/milestone-port-media-handling-from-v2.html @@ -141,6 +141,7 @@ The main ones are:</p> + <!-- text end --> diff --git a/v3/updates-finish-the-avatar-component.html b/v3/updates-finish-the-avatar-component.html index b4554ee..3bf638f 100644 --- a/v3/updates-finish-the-avatar-component.html +++ b/v3/updates-finish-the-avatar-component.html @@ -109,6 +109,7 @@ GNU social development team + <!-- text end --> diff --git a/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html b/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html index 7a804ce..1b291c6 100644 --- a/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html +++ b/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html @@ -120,6 +120,7 @@ functionality with more stability.</p> + <!-- text end --> diff --git a/v3/updates-improve-the-attachments-system.html b/v3/updates-improve-the-attachments-system.html index 7986805..bd93b6a 100644 --- a/v3/updates-improve-the-attachments-system.html +++ b/v3/updates-improve-the-attachments-system.html @@ -129,6 +129,7 @@ any remote URL being shared in a note.</li> + <!-- text end --> diff --git a/v3/updates-v3-blog.html b/v3/updates-v3-blog.html index 3d05219..4037ca2 100644 --- a/v3/updates-v3-blog.html +++ b/v3/updates-v3-blog.html @@ -114,6 +114,7 @@ forget to subscribe!</p> + <!-- text end -->