38 lines
522 B
SCSS
38 lines
522 B
SCSS
@use "../variables/colours";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
backface-visibility: hidden; // removes jagged edges on rotated elements
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
body,
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: colours.$white;
|
|
}
|
|
|
|
.visually-hidden {
|
|
clip: rect(0, 0, 0, 0);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
transition: all 300ms ease;
|
|
|
|
&.lazy {
|
|
filter: blur(0.25em);
|
|
}
|
|
}
|