Rewrite half the theme to make Mozilla observatory more happy about strict CSP

This commit is contained in:
daudix
2024-10-18 18:16:38 +03:00
parent 932c7d9aa4
commit 26b12aadf6
19 changed files with 730 additions and 679 deletions

View File

@ -1,9 +1,4 @@
.hidden {
clip: rect(0 0 0 0);
position: absolute !important;
clip-path: inset(100%);
width: 1px !important;
height: 1px !important;
overflow: hidden;
white-space: nowrap;
display: none;
visibility: hidden;
}

View File

@ -0,0 +1,9 @@
.visually-hidden {
clip: rect(0 0 0 0);
position: absolute !important;
clip-path: inset(100%);
width: 1px !important;
height: 1px !important;
overflow: hidden;
white-space: nowrap;
}

View File

@ -36,4 +36,5 @@
@use "tags";
@use "title";
@use "typography";
@use "visually-hidden";
@use "zola-anchor";