~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
7 4

[PATCH sourcehut.org 0/3] various link styling changes

Details
Message ID
<20230914212359.38164-1-jackson@jacksonchen666.com>
DKIM signature
missing
Download raw message
I noticed that links were not underlined, which isn't great for
accessibility, and isn't exactly consistent with sourcehut services.

I've attempted to match the style of links on sourcehut services to
the sourcehut.org website in this patch set.

Jackson Chen (3):
  do not override text decoration on links
  make button links not underlined
  remove underline from homepage blog link

 assets/main.scss   | 10 +++++++++-
 layouts/index.html |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

-- 
2.42.0

[PATCH sourcehut.org 1/3] do not override text decoration on links

Details
Message ID
<20230914212359.38164-2-jackson@jacksonchen666.com>
In-Reply-To
<20230914212359.38164-1-jackson@jacksonchen666.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +0 -1
links can be hard to distinguish when there is no color, so don't
prevent link underlining.
---
 assets/main.scss | 1 -
 1 file changed, 1 deletion(-)

diff --git a/assets/main.scss b/assets/main.scss
index 7e5bbc6..e6afe80 100644
--- a/assets/main.scss
+++ b/assets/main.scss
@@ -187,7 +187,6 @@ form {

a {
  color: $primary;
  text-decoration: none;

  &:hover {
    color: darken($primary, 15);
-- 
2.42.0

[PATCH sourcehut.org 2/3] make button links not underlined

Details
Message ID
<20230914212359.38164-3-jackson@jacksonchen666.com>
In-Reply-To
<20230914212359.38164-1-jackson@jacksonchen666.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +5 -0
matching sourcehut
---
 assets/main.scss | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/assets/main.scss b/assets/main.scss
index e6afe80..0c61afe 100644
--- a/assets/main.scss
+++ b/assets/main.scss
@@ -242,6 +242,11 @@ a {
    display: block;
    text-align: center;
  }

  $parent: &;
  @at-root a#{&} {
    text-decoration: none;
  }
}

.form-group {
-- 
2.42.0

[PATCH sourcehut.org 3/3] remove underline from homepage blog link

Details
Message ID
<20230914212359.38164-4-jackson@jacksonchen666.com>
In-Reply-To
<20230914212359.38164-1-jackson@jacksonchen666.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +5 -1
---
it feels a bit too much to underline that link as well, and there is an
arrow within the link which should help indicate "you can go to it".

 assets/main.scss   | 4 ++++
 layouts/index.html | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/assets/main.scss b/assets/main.scss
index 0c61afe..66c8c97 100644
--- a/assets/main.scss
+++ b/assets/main.scss
@@ -249,6 +249,10 @@ a {
  }
}

a.blog-link {
  text-decoration: none;
}

.form-group {
  margin-bottom: 1rem;
}
diff --git a/layouts/index.html b/layouts/index.html
index 0a8111b..012ef4b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -18,7 +18,7 @@
          </div>
          <div class="content">
            <h1>
              <a href="{{.Permalink}}">
              <a href="{{.Permalink}}" class="blog-link">
                <small>
                  From the blog
                  <span class="icon">
-- 
2.42.0

[sourcehut.org/patches/.build.yml] build failed

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CVIYH960UWQW.1F0TC9IL626XZ@cirno2>
In-Reply-To
<20230914212359.38164-4-jackson@jacksonchen666.com> (view parent)
DKIM signature
missing
Download raw message
sourcehut.org/patches/.build.yml: FAILED in 24s

[various link styling changes][0] from [Jackson Chen][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/44728
[1]: jackson@jacksonchen666.com

✗ #1057804 FAILED sourcehut.org/patches/.build.yml https://builds.sr.ht/~sircmpwn/job/1057804
Details
Message ID
<CVJBJPB20862.NFZYU0GJXPIN@taiga>
In-Reply-To
<20230914212359.38164-1-jackson@jacksonchen666.com> (view parent)
DKIM signature
missing
Download raw message
Two issues here:

- The latest blog post heading no longer shows an underline on hover
- The navigation links should not be underlined for consistency with
  sr.ht.

Otherwise LGTM
Details
Message ID
<dd2fedf9-3db9-f3b0-8724-83b218b389e2@jacksonchen666.com>
In-Reply-To
<CVJBJPB20862.NFZYU0GJXPIN@taiga> (view parent)
DKIM signature
missing
Download raw message
On 2023-09-15 9:39, Drew DeVault wrote:
> - The navigation links should not be underlined for consistency with
>    sr.ht.
The "blog", "pricing" links etc. on the top of the page?
-- 
Jackson
I use plaintext email! You should too. https://useplaintext.email/
PGP (ask for public key): 786EFFD632E233EF3AB9B9CC9E4FA9055FFD9E30
Details
Message ID
<CVJBRD8J93E1.2UGL4ZIZ188UJ@taiga>
In-Reply-To
<dd2fedf9-3db9-f3b0-8724-83b218b389e2@jacksonchen666.com> (view parent)
DKIM signature
missing
Download raw message
On Fri Sep 15, 2023 at 9:42 AM CEST, Jackson wrote:
> The "blog", "pricing" links etc. on the top of the page?

Yep
Reply to thread Export thread (mbox)