Skip to content

Commit 17e55e5

Browse files
authored
Fix for "Don't put an underline on linked images" (#125)
The changes in bb5dbf and 585c08 to clear the bottom border are immediately getting overridden by the styles right below. Swap the order so these styles are applied as intended. Co-authored-by: jab <jab@users.noreply.github.com>
1 parent 73be878 commit 17e55e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

alabaster/static/alabaster.css_t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -544,15 +544,15 @@ a.reference {
544544
border-bottom: 1px dotted {{ theme_link }};
545545
}
546546

547+
a.reference:hover {
548+
border-bottom: 1px solid {{ theme_link_hover }};
549+
}
550+
547551
/* Don't put an underline on images */
548552
a.image-reference, a.image-reference:hover {
549553
border-bottom: none;
550554
}
551555

552-
a.reference:hover {
553-
border-bottom: 1px solid {{ theme_link_hover }};
554-
}
555-
556556
a.footnote-reference {
557557
text-decoration: none;
558558
font-size: 0.7em;

0 commit comments

Comments
 (0)