Create a11y.css

This commit is contained in:
Thies Mueller 2024-06-04 18:44:06 +02:00 committed by GitHub
parent 24821f812c
commit 1b59d33470
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

32
a11y.css Normal file
View File

@ -0,0 +1,32 @@
.hidden {
display: none;
}
.accessibility-menu {
position: absolute;
top: 0;
left: 0;
width: 200px;
background-color: #fff;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
.accessibility-menu button {
margin-bottom: 10px;
}
.accessibility-menu button:hover {
background-color: #f0f0f0;
}
@font-face {
font-family: 'OpenDyslexic';
src: url('/a11y/OpenDyslexic3-Regular.ttf') format('truetype');
}
body.opendyslexic {
font-family: OpenDyslexic;
}