Skip to content

Commit

Permalink
tools: fix anchors in generated documents
Browse files Browse the repository at this point in the history
When an anchor tag is used within a pre tag, the link is not
distinguishable. This patch makes sure that the links are highlighted
by underlining them.

PR-URL: #2491
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
thefourtheye committed Aug 22, 2015
1 parent ccc790b commit 31188b7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ code a:hover {
color: white !important;
}

.api_stability_0 a,
.api_stability_1 a,
.api_stability_2 a,
.api_stability_3 a,
.api_stability_4 a,
.api_stability_5 a {
text-decoration: underline;
}

.api_stability_0 {
background-color: #D60027;
}
Expand Down

0 comments on commit 31188b7

Please sign in to comment.