accessibility maxxing

This commit is contained in:
sundae 2025-09-11 19:30:58 +03:00
parent 6c9294f0a0
commit f18a342ae5
No known key found for this signature in database
64 changed files with 320 additions and 205 deletions

View file

@ -13,7 +13,7 @@ h4,
h5,
h6 {
display: block;
font-size: 2em;
font-size: 2rem;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
@ -36,6 +36,22 @@ body {
}
}
}
svg {
fill: currentColor;
stroke: currentColor;
stroke-width: 0;
}
header {
padding-top: var(--pad-xl);
padding-left: calc(var(--view) + var(--pad-xl));
& svg {
width: 2rem;
height: 2rem;
}
& h1 {
display: inline-flex;
}
}
main {
padding: var(--pad-xl);
@ -170,7 +186,7 @@ article {
}
:is(main article, main section):not(:last-child) {
margin-bottom: var(--pad-xl);
margin-bottom: var(--pad-m);
}
img[src*="/assets/img/flag/"] {
@ -187,6 +203,12 @@ a:has(img[src*="/assets/img/button"]):is(:hover, :focus) img {
}
@media screen and (max-width: 920px) {
header {
padding-left: 0;
padding-top: var(--pad-m);
text-align: center;
}
main {
padding: var(--pad-l);
}
@ -209,7 +231,8 @@ a:has(img[src*="/assets/img/button"]):is(:hover, :focus) img {
width: auto;
}
body>nav::before, body>nav::after {
body>nav::before,
body>nav::after {
content: none;
}