Skip to content

Commit

Permalink
fix: fix border of links after class names
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed May 20, 2021
1 parent c7845c8 commit 0671d98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion revitron_sphinx_theme/static/css/theme.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/sass/_theme_rst.sass
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,10 @@
color: $headerlink-color
font-size: 100% !important
text-decoration: none !important
a
margin-left: 0.5rem
&:after
border-bottom: none !important
&.class > dt
padding: 0.6rem 1.2rem
font-size: 1rem
Expand All @@ -552,6 +556,9 @@
// In the html4 writer, parameters is a table. In html5 writer, parameters
// is a nested dl.field-list
dl:not(.field-list) > dt
a
&:after
border-bottom: none !important
.headerlink
color: $headerlink-color
font-size: 100% !important
Expand Down

0 comments on commit 0671d98

Please sign in to comment.