astro/examples/snowpack/public/styles/_globals.scss

41 lines
392 B
SCSS
Raw Normal View History

@use './var' as *;
2021-05-07 16:38:38 +00:00
body {
min-height: 100vh;
}
html,
body {
margin: 0;
font-family: $body;
}
* {
box-sizing: border-box;
}
2021-05-07 16:38:38 +00:00
img,
video {
max-width: 100%;
height: auto;
}
p {
2021-05-07 16:38:38 +00:00
line-height: 1.3;
}
pre {
max-width: calc(100vw - 4rem);
}
.pretty-font,
.version-number {
font-weight: 600;
font-family: $heading;
}
2021-05-07 16:38:38 +00:00
body.is-nav-open {
height: 100%;
overflow: hidden;
}