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