Skip to content

Commit fdaa5a6

Browse files
authored
Merge pull request #1349 from ybiquitous/css-link-underline
Polish link underline in Darkfish CSS
2 parents 20da0da + f730435 commit fdaa5a6

File tree

1 file changed

+2
-0
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+2
-0
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

+2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ main .anchor-link:target {
9696
a {
9797
color: var(--link-color);
9898
transition: color 0.3s ease;
99+
text-decoration: underline;
100+
text-underline-offset: 0.2em; /* Make sure it doesn't overlap with underscores in a method name. */
99101
}
100102

101103
a:hover {

0 commit comments

Comments
 (0)