Skip to content

Commit

Permalink
doc: add distinctive color for code elements inside links
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
aduh95 authored and targos committed May 1, 2021
1 parent 1d82693 commit 69c4bfd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/api_assets/style.css
Expand Up @@ -13,7 +13,7 @@
--red3: #ca5010;
--green1: #43853d;
--green2: #5a8147;
--green3: #454545;
--green3: #64de64;
--green4: #99cc7d;
--green5: #84ba64;
--gray1: #707070;
Expand Down Expand Up @@ -50,6 +50,9 @@
color: var(--grey-smoke);
background-color: var(--highlight-background-color);
}
.dark-mode a code {
color: var(--green3);
}

/*--------------------- Layout and Typography ----------------------------*/
html {
Expand Down Expand Up @@ -605,7 +608,8 @@ a code {
margin-bottom: 0;
}

#column2 ul li a {
#column2 ul li a,
#column2 ul li a code {
color: var(--color-text-nav);
border-radius: 0;
}
Expand Down

0 comments on commit 69c4bfd

Please sign in to comment.