Skip to content

Commit ae70aa3

Browse files
aduh95MylesBorins
authored andcommittedApr 4, 2021
doc: add distinctive color for code elements inside links
PR-URL: #37950 Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 8525231 commit ae70aa3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎doc/api_assets/style.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
--red3: #ca5010;
1414
--green1: #43853d;
1515
--green2: #5a8147;
16-
--green3: #454545;
16+
--green3: #64de64;
1717
--green4: #99cc7d;
1818
--green5: #84ba64;
1919
--gray1: #707070;
@@ -50,6 +50,9 @@
5050
color: var(--grey-smoke);
5151
background-color: var(--highlight-background-color);
5252
}
53+
.dark-mode a code {
54+
color: var(--green3);
55+
}
5356

5457
/*--------------------- Layout and Typography ----------------------------*/
5558
html {
@@ -605,7 +608,8 @@ a code {
605608
margin-bottom: 0;
606609
}
607610

608-
#column2 ul li a {
611+
#column2 ul li a,
612+
#column2 ul li a code {
609613
color: var(--color-text-nav);
610614
border-radius: 0;
611615
}

0 commit comments

Comments
 (0)
Please sign in to comment.