diff --git a/docs/extensions/_listing-chooser.qmd b/docs/extensions/_listing-chooser.qmd index 719142f386..bf477385a6 100644 --- a/docs/extensions/_listing-chooser.qmd +++ b/docs/extensions/_listing-chooser.qmd @@ -26,16 +26,16 @@ .nav-tabs .nav-item.show .nav-link { border: 1px solid rgb(222, 226, 230); border-radius: 10px; - color: rgb(80,146,221); + color: var(--bs-link-color); } .nav-tabs .nav-link:hover { - border-color: rgb(80,146,221); + border-color: var(--bs-link-color); border-width: 1px; } .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { - border-color: rgb(80,146,221); + border-color: var(--bs-link-color); border-width: 2px; } @@ -43,7 +43,7 @@ .nav-tabs .nav-link i { display: block; font-size: 3rem; - color: rgb(80,146,221); + color: var(--bs-link-color); margin-bottom: 5px; } diff --git a/styles.css b/styles.css index cdfb0ce630..b0e38d153f 100644 --- a/styles.css +++ b/styles.css @@ -372,4 +372,10 @@ span.color-box { height: 1em; /* Height of the color box */ margin-right: 0.2em; /* Space between box and text */ border: 1px solid #000; /* Border color */ -} \ No newline at end of file +} +/* Quarto's listing-table styles remove link underlines, so links inside + a description are marked by color alone: 2.23:1 against the body text, + short of the 3:1 WCAG 1.4.1 needs (axe link-in-text-block). */ +table.quarto-listing-table .listing-description a { + text-decoration: underline; +}