Init repo

This commit is contained in:
clerie 2021-01-14 14:37:27 +01:00
commit 377e27d8a8
3 changed files with 59 additions and 0 deletions

BIN
background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

17
index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="de" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>reichartstrasse.de</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header>
<div class="header">
<h1>reichartstrasse.de</h1>
</div>
</header>
</body>
</html>

42
style.css Normal file
View File

@ -0,0 +1,42 @@
* {
box-sizing: border-box;
}
html, body {
color: white;
font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
width: 100%;
height: 100%;
margin: 0;
}
header {
position: relative;
width: 100%;
min-height: 100%;
display: block;
background-image: url(./background.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.header {
position: absolute;
top: 50%;
width: 100%;
transform: translateY(-50%);
text-align: center;
}
h1 {
font-weight: 700;
font-size: 6em;
text-transform: uppercase;
}