File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ html[data-theme='light'] {
111111 --ifm-link-color : var (--cypress-color-indigo-500 );
112112
113113 --ifm-toc-border-color : var (--ifm-color-gray-100 );
114+
115+ // adjust hue & transparency of `code` so dotted underline shows through in light mode
116+ --ifm-code-background : #dadada33 ;
114117}
115118
116119html [data-theme = ' dark' ] {
Original file line number Diff line number Diff line change @@ -36,6 +36,16 @@ div.markdown {
3636 // add border bottom to code tags that are in a link
3737 a :has (> code ) {
3838 border-bottom : 1px dotted var (--ifm-link-color );
39+
40+ & :hover {
41+ border-bottom : 1px solid var (--ifm-link-color );
42+ }
43+ }
44+
45+ // ensure text links in admonitions have underline
46+ .alert a {
47+ border-bottom : 1px dotted var (--ifm-link-color );
48+
3949 & :hover {
4050 border-bottom : 1px solid var (--ifm-link-color );
4151 }
@@ -71,11 +81,19 @@ div.markdown {
7181 @media screen and (max-width : 1024px ) and (orientation : landscape ) {
7282 a {
7383 border-bottom : 1px dotted var (--ifm-link-color );
84+
85+ & :hover {
86+ border-bottom : 1px solid var (--ifm-link-color );
87+ }
7488 }
7589 }
7690 @media screen and (max-width : 1024px ) and (orientation : portrait ) {
7791 a {
7892 border-bottom : 1px dotted var (--ifm-link-color );
93+
94+ & :hover {
95+ border-bottom : 1px solid var (--ifm-link-color );
96+ }
7997 }
8098 }
8199}
You can’t perform that action at this time.
0 commit comments