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
24 changes: 24 additions & 0 deletions _extensions/quartoorg/scss/partials/_acr.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// accessibility/acr.md: the Accessibility Conformance Report, generated
// from quarto-dev/quarto-acr. The table rules mirror that repo's
// _extensions/vpat-int/acr.css; change both together.

// The table headings link the standard's name. Quarto's
// `h3 { opacity: .9 }` fades the link colour to 4.22:1 on white (WCAG
// 1.4.3); undo the fade on these headings only. No acr.css counterpart:
// the standalone report sets those links to `color: inherit` instead.
section[id^="acr-tbl-"] > h3,
#acr-en301549-9 > h3 { opacity: 1; }

// Row-header cells read as body text; only criterion lines and ITI's
// heading rows are bold. Links inherit the weight, because the theme
// sets `a { font-weight: 400 }`.
.acr-table th[scope="row"] { font-weight: 400; }
.acr-table th.acr-heading,
.acr-table .acr-criterion { font-weight: 600; }
.acr-table a { font-weight: inherit; }

.acr-table td p,
.acr-table th p,
.acr-table td ul,
.acr-table th[scope="row"] ul { margin-bottom: 0.35rem; }
.acr-also-applies { margin-top: 0.6rem; font-weight: 400; }
1 change: 1 addition & 0 deletions _extensions/quartoorg/scss/partials/_site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
@import "color-box";
@import "home";
@import "announcement";
@import "acr";
Loading