diff --git a/pep_sphinx_extensions/pep_theme/static/style.css b/pep_sphinx_extensions/pep_theme/static/style.css index 7d6f8a58bf1..017c53614f4 100644 --- a/pep_sphinx_extensions/pep_theme/static/style.css +++ b/pep_sphinx_extensions/pep_theme/static/style.css @@ -2,7 +2,7 @@ /* Styles for PEPs */ /* - * `initial` works like undefined variables, so `var(intial, x)` will resolve to `x`. + * `initial` works like undefined variables, so `var(initial, x)` will resolve to `x`. * A space means an empty value, so `var( , x) y` will resolve to `y`. */ @media (prefers-color-scheme: dark) { @@ -359,3 +359,15 @@ dl.footnote > dd { .reference.external > strong { font-weight: normal; /* Fix strong links for :pep: and :rfc: roles */ } + +.visually-hidden { + position: absolute !important; + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0,0,0,0) !important; + white-space: nowrap !important; + border: 0 !important; +} diff --git a/pep_sphinx_extensions/pep_theme/templates/page.html b/pep_sphinx_extensions/pep_theme/templates/page.html index c1a401405c7..30f7b58958a 100644 --- a/pep_sphinx_extensions/pep_theme/templates/page.html +++ b/pep_sphinx_extensions/pep_theme/templates/page.html @@ -31,9 +31,10 @@