Skip to content

Commit

Permalink
Fix styling of links (haskell-infra#271)
Browse files Browse the repository at this point in the history
* Use solid underline for links instead of dotted

* Don't underline links in buttons and navbars

* Don't underline links in thumbnails
  • Loading branch information
alt-romes authored Jun 28, 2023
1 parent 802723f commit 680fb27
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion site/css/hl.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ textarea {

a {
color: #9E358F;
text-decoration: underline dotted; }
text-decoration: underline ; }
a:hover, a:focus {
color: #65225b;
text-decoration: underline; }
Expand Down Expand Up @@ -2032,6 +2032,9 @@ select[multiple].input-lg,
-webkit-box-shadow: none;
box-shadow: none; }

a.btn {
/* No text-decoration for <a> tags in buttons */
text-decoration: none; }
a.btn.disabled,
fieldset[disabled] a.btn {
pointer-events: none; }
Expand Down Expand Up @@ -2762,6 +2765,7 @@ tbody.collapse.in {
.nav > li > a {
position: relative;
display: block;
text-decoration: none; /* No text-decoration for <a> tags in navbars */
padding: 10px 15px; }
.nav > li > a:hover, .nav > li > a:focus {
text-decoration: none;
Expand Down Expand Up @@ -3391,6 +3395,9 @@ a.badge:hover, a.badge:focus {
word-wrap: break-word;
}

a.thumbnail {
/* No text-decoration for <a> tags in thumbnails */
text-decoration: none; }
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
Expand Down

0 comments on commit 680fb27

Please sign in to comment.