Rewrite half the theme to make Mozilla observatory more happy about strict CSP
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
9
sass/_visually-hidden.scss
Normal file
9
sass/_visually-hidden.scss
Normal 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;
|
||||
}
|
@ -36,4 +36,5 @@
|
||||
@use "tags";
|
||||
@use "title";
|
||||
@use "typography";
|
||||
@use "visually-hidden";
|
||||
@use "zola-anchor";
|
||||
|
Reference in New Issue
Block a user