Init repo
This commit is contained in:
commit
377e27d8a8
BIN
background.jpg
Normal file
BIN
background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
17
index.html
Normal file
17
index.html
Normal 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
42
style.css
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user