sebin-reference/src/scss/base.scss
2022-01-28 23:48:25 +01:00

65 lines
932 B
SCSS

@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@400;700&family=Exo:ital,wght@0,300;0,900;1,300;1,900&family=Zilla+Slab:wght@700&family=Permanent+Marker&display=swap");
@import "variables";
@import "mixins";
@import "flex";
* {
box-sizing: border-box;
}
:root {
font-family: "Dosis", sans-serif;
font-size: 16px;
line-height: 1.5;
text-size-adjust: 100%;
}
html,
body {
min-height: 100%;
}
body.scroll-lock {
overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Zilla Slab", sans-serif;
}
h1 {
font-size: 3em;
}
h2 {
font-size: 1.825em;
@include mq-desktop {
font-size: 2.25em;
}
}
h3 {
font-size: 1.125em;
@include mq-desktop {
font-size: 1.5em;
}
}
a {
color: $copy-color;
}
blockquote {
font-style: italic;
background: linear-gradient(90deg, rgba(#000, 0.5), transparent);
margin: 0;
border-left: 0.125em solid $sebin-secondary;
padding: 1em;
}