Init repo
This commit is contained in:
commit
ebc11f9992
BIN
web/background.jpg
Normal file
BIN
web/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
17
web/index.html
Normal file
17
web/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>milchinsel.de</title>
|
||||
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="header">
|
||||
<h1>milchinsel.de</h1>
|
||||
</div>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
42
web/style.css
Normal file
42
web/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