sebin-reference/src/scss/base.scss
2022-01-11 21:55:33 +01:00

89 lines
1.3 KiB
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%;
}
body {
background-color: lighten($bg-color-dark, 25%);
&.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;
}
.bubbles {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
z-index: -1;
&::before,
&::after {
content: "";
position: absolute;
border-radius: 100%;
}
&::before {
background-color: rgba(lighten($bg-color-dark, 10%), 0.7);
height: 80vw;
width: 80vw;
bottom: -45vw;
right: -25vw;
}
&::after {
background-color: rgba(lighten($bg-color-dark, 10%), 0.7);
height: 80vw;
width: 80vw;
bottom: -25vw;
right: -50vw;
}
}