hochzeit/index.html
2025-06-07 22:25:19 +02:00

188 lines
No EOL
4.9 KiB
HTML

<!doctype html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bina & Stefan - Save the date</title>
<style>
@font-face {
font-family: 'Autography';
font-style: normal;
font-weight: normal;
src: url("assets/Autography.woff");
}
html {
box-sizing: border-box;
font-family: 'Autography', cursive;
font-size: 4.5vw;
--red: #8C7284;
--blue: #A7CCED;
--white: #cee0de;
--grey: #666;
--green: #3c473f;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
body {
background: var(--grey);
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
width: 100vw;
padding: 20px 10px;
}
a {
color: var(--blue);
}
.card {
color: var(--white);
background:
url('assets/tl.webp') no-repeat top left / 30% auto,
url('assets/br.webp') no-repeat bottom right / 80% auto,
url('assets/mask.webp') no-repeat center center / 100% 100%,
var(--green);
aspect-ratio: 7/12;
width: 100%;
max-width: 600px;
box-shadow: 0 0 50px -10px rgba(0, 0, 0, 0.5);
overflow: hidden;
border-radius: 0.5vh;
position: relative;
text-shadow: 0 0 1em rgba(0, 0, 0, 1);
}
.border {
--top: 960;
--right: 638;
--bottom: 1138;
--left: 650;
--thiccness: 1em;
border-width: calc(var(--top) / 100 * var(--thiccness)) calc(var(--right) / 100 * var(--thiccness)) calc(var(--bottom) / 100 * var(--thiccness)) calc(var(--left) / 100 * var(--thiccness));
border-style: solid;
border-image: url("assets/border.webp") 960 638 1138 650 stretch;
height: 100%;
width: 100%;
}
.content {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100%;
}
.top {
margin: 0;
padding-left: .75em;
padding-right: 2.25em;
padding-top: 1.25em;
text-align: center;
width: 100%;
}
h1, h3 {
/*text-shadow: 0 0 .03em var(--white);*/
}
.middle {
margin: 0;
font-size: 1em;
text-align: left;
padding: 0 3em;
width: 100%;
}
.middle h3 {
margin: 0;
font-size: 1.5em;
}
.middle p {
margin: 0;
padding: .25em 0;
font-family: 'Noto Serif', serif;
}
.middle .indent {
padding-left: 1em;
}
.middle .map {
border: 0;
width: 100%;
height: 8em;
border-radius: 1em;
}
.bottom {
margin: 0;
padding-right: 1.25em;
padding-bottom: 1.25em;
text-align: right;
width: 100%;
}
@media (min-width: 600px) {
html {
font-size: 27px;
}
}
</style>
</head>
<body>
<div class="card">
<div class="border">
<div class="content">
<h1 class="top">Wir heiraten!</h1>
<div class="middle">
<h3>Einladung</h3>
<p>Wir laden euch herzlich zu unserer Hochzeit am
<strong>11.&nbsp;Oktober&nbsp;2025</strong> ein.</strong>
</p>
</div>
<div class="middle">
<h3>Rückmeldung</h3>
<p>
Bitte gib uns bis zum 12. Januar <a href="#">hier</a> bescheid, dass ob ihr kommt und welches
Essen ihr prefäriert.
</p>
</div>
<div class="middle">
<h3>Location</h3>
<p>Wir feiern im Wunderschönen Schloss Thurnau</p>
<p>Adresse:<br><span class="indent">Marktplatz 1</span><br><span class="indent">95349 Thurnau</span>
</p>
</div>
<h2 class="bottom">Bina & Stefan</h2>
</div>
</div>
</div>
</div>
</body>
</html>