Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0465dbe

Browse files
committed
Fix header link color and hover effect in query help documentation
Fix from Oscar, who wrote: The Alabaster theme's global `a { color: #2F1695 }` rule was overriding header link colors, rendering them purple instead of white.
1 parent 44d896a commit 0465dbe

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/codeql/_static/custom.css_t

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ code {
1414
font-size: 0.9em !important; /* makes code snippets in headings the correct size */
1515
}
1616

17+
/* -- HEADER ------------------------------------------------------------------------------- */
18+
19+
/* Override alabaster.css purple link color for header links to match the rest of the site */
20+
.Header .Header-link {
21+
color: #fff;
22+
}
23+
24+
.Header .Header-link:hover,
25+
.Header .Header-link:focus {
26+
color: rgba(255, 255, 255, 0.7);
27+
}
28+
1729
/* -- MAIN BODY ---------------------------------------------------------------------------- */
1830

1931
main {

0 commit comments

Comments
 (0)