This repository has been archived on 2022-01-01. You can view files and clone it, but cannot push or open issues or pull requests.
Web/css/main.css

107 lines
1.5 KiB
CSS
Raw Normal View History

2020-08-07 09:02:25 +02:00
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;700&display=swap');
2020-08-07 08:10:29 +02:00
html {
box-sizing: border-box;
font-family: sans-serif;
}
*, *::before, *::after {
box-sizing: inherit;
}
2020-08-07 08:39:02 +02:00
body {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
margin: 0;
2020-12-20 13:39:49 +01:00
color: #000000de;
2020-08-07 08:39:02 +02:00
}
.left, .right {
2020-12-20 13:39:49 +01:00
position: absolute;
left: 0;
right: 0;
2020-08-07 08:39:02 +02:00
}
.left {
2020-12-20 13:39:49 +01:00
text-align: center;
top: 0;
bottom: 40%;
}
.right {
top: 60%;
bottom: 0;
background: url("../images/pic1.jpg");
background-size: cover;
background-position: center;
2020-08-07 08:39:02 +02:00
}
.left h1 {
position: absolute;
2020-12-20 13:39:49 +01:00
font-size: 3rem;
2020-08-07 08:39:02 +02:00
height: 1em;
line-height: 1em;
margin: 0;
width: 100%;
2020-08-07 09:02:25 +02:00
font-family: IBM Plex Serif, serif;
2020-08-07 08:39:02 +02:00
}
.left h1:first-of-type {
top: calc( 50% - 1em );
2020-08-07 09:02:25 +02:00
font-weight: 700;
2020-08-07 08:39:02 +02:00
}
.left h1:last-of-type {
bottom: calc( 50% - 1em );
font-weight: 400;
}
2020-08-07 09:02:25 +02:00
footer {
position: absolute;
bottom: 0;
width: 100%;
background: black;
2020-12-20 13:39:49 +01:00
color: #ffffffde;
2020-08-07 09:02:25 +02:00
text-align: center;
}
footer ul {
list-style: none;
padding: 1em;
}
footer li span {
font-weight: 800;
margin-right: 1em;
}
footer a {
2020-12-20 13:39:49 +01:00
color: #dededede;
2020-08-07 09:02:25 +02:00
text-decoration: none;
transition: color 50ms;
}
footer a:hover {
2020-12-20 13:39:49 +01:00
color: #ffffffde;
}
footer a:active {
color: #ffffffde;
2020-08-07 09:02:25 +02:00
}
2020-12-20 13:39:49 +01:00
@media screen and (min-width: 1024px) {
.left, .right {
top: 0;
bottom: 0;
}
.right {
right: 0;
left: 40%
}
.left {
right: 60%;
}
.left h1 {
font-size: 4rem;
text-align: right;
padding-right: 1em;
}
}