[CSS] Fixed focused links styling.

This commit is contained in:
2021-08-18 19:27:59 +01:00
committed by Diogo Peralta Cordeiro
parent 64e4a2c875
commit 978e9443a5
10 changed files with 18 additions and 48 deletions

View File

@@ -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;

View File

@@ -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,

View File

@@ -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;

View File

@@ -2,8 +2,8 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel><title>GNU social V3</title><link>https://gnusocial.rocks/v3/index.html</link>
<description>Development blog where we announce our progress.</description><language>en</language>
<lastBuildDate>Wed, 18 Aug 2021 19:07:09 +0100</lastBuildDate>
<pubDate>Wed, 18 Aug 2021 19:07:09 +0100</pubDate>
<lastBuildDate>Wed, 18 Aug 2021 19:26:51 +0100</lastBuildDate>
<pubDate>Wed, 18 Aug 2021 19:26:51 +0100</pubDate>
<atom:link href="https://gnusocial.rocks/v3/feed.rss" rel="self" type="application/rss+xml" />
<item><title>
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 -->

View File

@@ -137,6 +137,7 @@ is properly tested, we have the
<!-- text end -->

View File

@@ -141,6 +141,7 @@ The main ones are:</p>
<!-- text end -->

View File

@@ -109,6 +109,7 @@ GNU social development team
<!-- text end -->

View File

@@ -120,6 +120,7 @@ functionality with more stability.</p>
<!-- text end -->

View File

@@ -129,6 +129,7 @@ any remote URL being shared in a note.</li>
<!-- text end -->

View File

@@ -114,6 +114,7 @@ forget to subscribe!</p>
<!-- text end -->