Browse Source

Init repo

master
clerie 4 months ago
commit
ebc11f9992
3 changed files with 59 additions and 0 deletions
  1. BIN
      web/background.jpg
  2. +17
    -0
      web/index.html
  3. +42
    -0
      web/style.css

BIN
web/background.jpg View File

Before After
Width: 1400  |  Height: 786  |  Size: 126 KiB

+ 17
- 0
web/index.html 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>milchinsel.de</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header>
<div class="header">
<h1>milchinsel.de</h1>
</div>
</header>
</body>
</html>

+ 42
- 0
web/style.css 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;
}

Loading…
Cancel
Save