Files
dertyp7.github.io/src/styles/index.scss
2024-01-13 17:50:37 +01:00

74 lines
1.1 KiB
SCSS

@import "variables_colors.scss";
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-weight: 400;
color-scheme: light dark;
color: var(--color-font);
background-color: var(--color-background-body);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
h1 {
font-size: 8rem;
font-weight: 700;
@media screen and (max-width: 900px) {
font-size: 6rem;
}
@media screen and (max-width: 480px) {
font-size: 4rem;
}
}
h2 {
font-size: 4rem;
font-weight: 700;
@media screen and (max-width: 900px) {
font-size: 3rem;
}
@media screen and (max-width: 480px) {
font-size: 2rem;
}
}
h3 {
font-size: 2rem;
font-weight: 700;
@media screen and (max-width: 900px) {
font-size: 1.5rem;
}
@media screen and (max-width: 480px) {
font-size: 1rem;
}
}
body,
#root {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
}