mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 06:40:27 +00:00
120 lines
1.5 KiB
SCSS
120 lines
1.5 KiB
SCSS
@import "_font.scss";
|
|
|
|
$borderRadius: 8px;
|
|
$textColor: #0f0f0f;
|
|
$lightGray: #e6e6e6;
|
|
$highlight: #82b3db;
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-size: 18px;
|
|
line-height: 1.5;
|
|
color: $textColor;
|
|
}
|
|
|
|
body {
|
|
padding: 80px 40px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1, h2 {
|
|
font-size: 32px;
|
|
margin: 0 0 40px 0;
|
|
font-weight: normal;
|
|
|
|
a {
|
|
font-size: 32px;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
color: $highlight;
|
|
|
|
&:hover {
|
|
color: $textColor;
|
|
}
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 0 0 80px 0;
|
|
|
|
ul {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
a {
|
|
color: $textColor;
|
|
|
|
&:hover {
|
|
color: $highlight;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.contact {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
border-radius: $borderRadius;
|
|
border: 2px solid $highlight;
|
|
color: $textColor;
|
|
transition: all 0.3s;
|
|
color: $highlight;
|
|
|
|
&:hover {
|
|
background: $highlight;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
section {
|
|
margin: 0 0 80px 0;
|
|
}
|
|
|
|
footer {
|
|
margin: 0 0 80px 0;
|
|
padding: 40px 0;
|
|
border-style: solid;
|
|
border-width: 2px 0 0 0;
|
|
border-color: $lightGray;
|
|
}
|
|
|
|
.intro {
|
|
article {
|
|
display: flex;
|
|
gap: 40px;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
|
|
h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
max-width: 256px;
|
|
max-height: 256px;
|
|
aspect-ratio: 1;
|
|
border-radius: $borderRadius;
|
|
}
|
|
}
|
|
}
|