website/_scss/_base.scss

35 lines
762 B
SCSS
Raw Normal View History

2022-03-04 20:38:16 +00:00
html {
image-rendering: pixelated;
image-rendering: crisp-edges;
font-size: 16px;
color: $foreground-color;
line-height: 1.50;
background: $background-color;
2022-03-05 15:40:51 +00:00
}
/* Smooth scrolling IF user doesn't have a preference due to motion sensitivities */
@media screen and (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
2022-03-04 20:38:16 +00:00
}
.section {
border-radius: 35px;
background: $background-color;
2022-04-19 22:37:14 +00:00
box-shadow: 5px 5px 17px scale-color($background-color, $lightness: -35%),
-5px -5px 17px scale-color($background-color, $lightness: +5%);
2022-03-04 20:38:16 +00:00
max-width: 20cm;
margin: 0 auto;
}
.inner-section {
2022-03-05 19:24:11 +00:00
border-radius: 35px;
2022-03-05 15:40:51 +00:00
background: $background-color;
2022-03-04 20:38:16 +00:00
max-width: 18cm;
margin: 0 auto;
margin-top: 5mm;
padding: 2mm 3mm;
}