Skip to content

Commit

Permalink
feat: Lighter styling on internal iref links (#963)
Browse files Browse the repository at this point in the history
See ietf-tools/datatracker#5071 for context.

This removes the blue coloration from internal links that immediately
follow an `<iref>` tag (rendered as a `span.iref`).  This reduces visual
noise arising from the use of keyword linking.  See
https://github.com/cabo/kramdown-rfc/wiki/Syntax2#index-entries for
details on how that operates.
  • Loading branch information
martinthomson authored Feb 6, 2023
1 parent 636dd08 commit dbdda51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xml2rfc/data/xml2rfc.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ a[href]:hover {
background-color: #f2f2f2;
}
figcaption a[href],
a[href].selfRef {
a[href].selfRef,
.iref + a[href].internal {
color: #222;
}
/* XXX probably not this:
Expand Down

0 comments on commit dbdda51

Please sign in to comment.