90 lines
1.8 KiB
HTML
90 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Fooboars Weihnachtswunder</title>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Kaushan Script';
|
|
src: url('KaushanScript-Regular.ttf');
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-image: url(andres-siimon-BL9op_atKxg-unsplash.jpg);
|
|
background-size: cover;
|
|
font-family: 'Kaushan Script';
|
|
}
|
|
|
|
video {
|
|
width: min(700px, 40vw);
|
|
max-width: 100%;
|
|
box-shadow: 50px 50px 50px -36px rgba(0,0,0,.8);
|
|
border: 2rem solid rgba(0, 0, 0, .8);
|
|
}
|
|
|
|
.title-wrapper {
|
|
padding: 3rem;
|
|
padding-left: 5rem;
|
|
background-color: rgba(0, 0, 0, .8);
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 400%;
|
|
color: white;
|
|
text-shadow: 0 0 5px black, 0 0 5px black;
|
|
line-height: 1.2;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
p {
|
|
color: white;
|
|
font-size: 170%;
|
|
margin-top: 0.5rem;
|
|
text-shadow: 0 0 5px black, 0 0 5px black;
|
|
}
|
|
|
|
@media screen and (max-width: 1200px) {
|
|
body {
|
|
flex-direction: column-reverse;
|
|
}
|
|
|
|
.title-wrapper {
|
|
padding: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
margin-top: 0;
|
|
}
|
|
|
|
p {
|
|
font-size: 1rem;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
video {
|
|
width: 90vw;
|
|
border-width: 1rem;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<video src="weihnachtsvideo.mp4" controls="true" autoplay="true"></video>
|
|
<div class="title-wrapper">
|
|
<h1>Fooboars<br/>Weihnachtswunder</h1>
|
|
<p>Gelesen von Leonie und Tobi</p>
|
|
</div>
|
|
</body>
|
|
</html> |