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;
background: linear-gradient(to right, #fff 0%, #f2f2f2 100%);
@include mx.breakpoint(xlarge) {

Planoetscher Daniel (Student Com20)
committed
padding: 5rem 0;
}
}
a {
font-weight: s.$weight-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);
&.underlined {
position: relative;
display: inline-block;
&:after {
content: ' ';
position: absolute;
right: -10px;
bottom: 10px;
width: 90px;
background: rgba(s.$accent, .5);
height: 16px;
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: 0 auto fn.toRem(24) auto;
max-width: 560px;
text-align: center;
}
&.left {
text-align: left;
max-width: none;
}
}
h3 {
font-size: fn.toRem(20);
margin-bottom: fn.toRem(12);

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);
}
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
.background-container {
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
z-index: -1;
overflow: hidden;
.bubble {
width: 400px;
height: 400px;
position: absolute;
filter: blur(200px);
opacity: 0.75;
@include mx.breakpoint(large) {
width: 500px;
height: 500px;
filter: blur(200px);
}
&.secondary {
background: s.$secondary;
}
&.primary {
background: s.$primary;
}
&.accent {
background: s.$accent;
}
}
}