Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ html[data-theme='light'] {
--ifm-link-color: var(--cypress-color-indigo-500);

--ifm-toc-border-color: var(--ifm-color-gray-100);

// adjust hue & transparency of `code` so dotted underline shows through in light mode
--ifm-code-background: #dadada33;
}

html[data-theme='dark'] {
Expand Down
18 changes: 18 additions & 0 deletions src/css/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ div.markdown {
// add border bottom to code tags that are in a link
a:has(> code) {
border-bottom: 1px dotted var(--ifm-link-color);

&:hover {
border-bottom: 1px solid var(--ifm-link-color);
}
}

// ensure text links in admonitions have underline
.alert a {
border-bottom: 1px dotted var(--ifm-link-color);

&:hover {
border-bottom: 1px solid var(--ifm-link-color);
}
Expand Down Expand Up @@ -71,11 +81,19 @@ div.markdown {
@media screen and (max-width: 1024px) and (orientation: landscape) {
a {
border-bottom: 1px dotted var(--ifm-link-color);

&:hover {
border-bottom: 1px solid var(--ifm-link-color);
}
}
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
a {
border-bottom: 1px dotted var(--ifm-link-color);

&:hover {
border-bottom: 1px solid var(--ifm-link-color);
}
}
}
}
Expand Down