Skip to content

Commit

Permalink
fix rendering of anchor highlighting: metanorma/metanorma-ogc#663
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed May 28, 2024
1 parent 9760572 commit 3fb7b10
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/isodoc/base_style/reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,13 @@ table.rouge-line-table pre {
font-size: 100%;
}

a.header{color:inherit;text-decoration:none}
a.header:hover{color:#a53221}
a.header:visited{color:inherit;text-decoration:none}
/* header § links */
a.header{color:inherit;text-decoration:none;}
a.header:hover{color:#a53221;background:inherit;box-shadow:none;}
a.header:visited{color:inherit;text-decoration:none;}
a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
a.anchor:hover{color:#a53221;background:inherit;box-shadow:none;}
h1>a.anchor:hover,
h2>a.anchor:hover,
h3>a.anchor:hover,
Expand Down

0 comments on commit 3fb7b10

Please sign in to comment.