Skip to content

Commit 510aa29

Browse files
committed
Always use a white text color on button link
1 parent 301ba46 commit 510aa29

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/css/doc.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,14 @@ body {
873873
max-width: 100%;
874874
}
875875

876+
/**
877+
* Always use a white text color on button link.
878+
* We don't want to use a different text color when the link is visited/hover (see .doc a:visited).
879+
*/
880+
.doc a.button {
881+
color: var(--colour-white);
882+
}
883+
876884
.doc .button {
877885
display: inline-block;
878886
background: var(--colour-grey-600);

0 commit comments

Comments
 (0)