Newer
Older
@use 'styles/settings'as s;
@use 'styles/mixins'as mx;
@use 'styles/functions'as fn;

Planoetscher Daniel (Student Com20)
committed
* {
transition: s.$transition;
font-family: s.$body-font;
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
color: s.$body-color;
position: relative;

Planoetscher Daniel (Student Com20)
committed
background: s.$light;
}
button {
background: none;
border: none;
outline: none;
}
a, button {
font-weight: s.$weight-semi-bold;
color: s.$primary;
text-decoration: none;
&:hover {
color: rgba(s.$primary, 0.5);
}
}
.content-container {
max-width: 1280px;
width: 100%;
margin: 0 auto;
padding: 30px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: s.$weight-bold;
}
h1 {
font-size: fn.toRem(36);
margin-bottom: fn.toRem(20);
font-weight: s.$weight-xbold;
&.underlined {
position: relative;
display: inline-block;
&:after {
content: ' ';
position: absolute;
right: -7px;
bottom: 5px;
width: 90px;

Planoetscher Daniel (Student Com20)
committed
background: rgba(s.$secondary, .5);
z-index: -1;
@include mx.breakpoint(large) {
height: 24px;
width: 120px;
}
}
}

Planoetscher Daniel (Student Com20)
committed
@include mx.breakpoint(large) {
font-size: fn.toRem(48);
margin-bottom: fn.toRem(28);
}
}
h2 {
font-size: fn.toRem(24);
margin-bottom: fn.toRem(16);

Planoetscher Daniel (Student Com20)
committed
@include mx.breakpoint(large) {
font-size: fn.toRem(36);
margin-bottom: fn.toRem(24);
}
&.left {
text-align: left;
max-width: none;
}
}
h3 {
margin-bottom: fn.toRem(12);
font-weight: s.$weight-semi-bold;

Planoetscher Daniel (Student Com20)
committed
@include mx.breakpoint(large) {
font-size: fn.toRem(24);
margin-bottom: fn.toRem(16);
}
}
h4 {
font-size: fn.toRem(16);
margin-bottom: fn.toRem(10);

Planoetscher Daniel (Student Com20)
committed
@include mx.breakpoint(large) {
font-size: fn.toRem(20);
margin-bottom: fn.toRem(16);
}