diff --git a/public/assets/css/base.css b/public/assets/css/base.css index 0250ad4cb2..ac53bb5d80 100644 --- a/public/assets/css/base.css +++ b/public/assets/css/base.css @@ -562,31 +562,32 @@ input[type=file] { /* ACCESSIBILITY MENU */ .accessibility-menu { + display: block; position: absolute; - left: -1000px; - top: -1000px; + z-index: 999; + + top: -100%; + left: -100%; width: 1px; height: 1px; - overflow: hidden; - z-index: 5000; - background-color: var(--bg1); - padding: var(--unit-size); - border: solid 2px var(--bg3); - border-radius: var(--unit-size); - box-shadow: var(--shadow); } .accessibility-menu ul { list-style-type: disc; } -#anchor-menu:target ~ .accessibility-menu, -.accessibility-menu:focus-within, -.accessibility-menu a:focus { - top: var(--unit-size) !important; - left: var(--unit-size) !important; - width: 30% !important; - height: min-content !important; +#anchor-menu:target + .accessibility-menu:focus-within, +.accessibility-menu:focus-within { + top: var(--unit-size); + left: var(--unit-size); + width: 30%; + height: min-content; + + background-color: var(--bg1); + padding: var(--unit-size); + border: solid 2px var(--bg3); + border-radius: var(--unit-size); + box-shadow: var(--shadow); } .anchor-hidden { diff --git a/templates/base.html.twig b/templates/base.html.twig index 97f469b490..a1a6619fa6 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -1,9 +1,10 @@ - +
{% block meta %} - + + {% endblock %}