Skip to content

Commit d1b99e5

Browse files
committed
f
1 parent a827fc0 commit d1b99e5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

docs/src/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ sphinx-codeautolink adheres to
1919
and ``highlight_language`` configuration (:issue:`166`)
2020
- Add :confval:`codeautolink_warn_on_default_parse_fail` to warn about
2121
failing to link code blocks without a language parameter (:issue:`166`)
22+
- Improve default link style to unset colors and use an underline (:issue:`171`)
2223

2324
0.16.2 (2025-01-16)
2425
-------------------

docs/src/static/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
color: unset;
33
border-bottom-color: #aaa;
44
border-bottom-style: dotted;
5-
border-bottom-width: 2px;
5+
border-bottom-width: 1px;
66
}

src/sphinx_codeautolink/static/sphinx-codeautolink.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.sphinx-codeautolink-a{
22
color: unset;
33
text-decoration: none;
4+
border-bottom-color: #aaa;
5+
border-bottom-style: dotted;
6+
border-bottom-width: 1px;
47
}
58
.sphinx-codeautolink-a:link{
69
color: unset;

0 commit comments

Comments
 (0)