I noticed that links were not underlined, which isn't great for
accessibility and isn't 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.
v2 of this patch set contains the requested changes:
- Latest blog post now has underline on hover
- Navigation links not underlined except on hover
Jackson Chen (3):
do not override text decoration on links
make button links not underlined
no underline on blog post and navigation links
assets/main.scss | 11 ++++++++++-
layouts/index.html | 2 +-
2 files changed, 11 insertions(+), 2 deletions(-)
--
2.42.0
[PATCH sourcehut.org v2 1/3] do not override text decoration on links
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 v2 2/3] make button links not underlined