start
This commit is contained in:
193
index.html
193
index.html
@ -1 +1,192 @@
|
||||
<h1>Hallo Welt v4</h1>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link href="/fa/css/fontawesome.css" rel="stylesheet" />
|
||||
<link href="/fa/css/brands.css" rel="stylesheet" />
|
||||
<title>so.mach.ich.das</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
background-color: white;
|
||||
}
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 80%;
|
||||
padding: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
.left, .right {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
}
|
||||
h1 {
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
.social-links {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
}
|
||||
.loading-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 9999;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
.spinner {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border: 5px solid rgba(0, 0, 0, 0.1);
|
||||
border-top: 5px solid black;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: left;
|
||||
width: 80%;
|
||||
}
|
||||
.text {
|
||||
flex: 1;
|
||||
}
|
||||
.image {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
}
|
||||
.divider {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background-color: black;
|
||||
margin: 20px 0;
|
||||
}
|
||||
.card {
|
||||
max-width: 300px;
|
||||
background: white;
|
||||
color: black;
|
||||
border: 1px solid #dbdce0;
|
||||
padding: 25px;
|
||||
box-shadow: 8px 8px 0 rgba(32,33,37,.1);
|
||||
transition: box-shadow .5s, transform .5s;
|
||||
border-radius: 8px;
|
||||
display: inline-block;
|
||||
}
|
||||
.card:hover {
|
||||
transform: translate(-2px, -4px);
|
||||
box-shadow: 16px 16px 0 rgba(32,33,37,.06);
|
||||
}
|
||||
.card .title {
|
||||
font-weight: bold;
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
.card .description {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
.card a {
|
||||
color: #1967d2;
|
||||
font-size: .8em;
|
||||
font-weight: 600;
|
||||
}
|
||||
.description-title {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="left">
|
||||
<a href="index.html">HOME</a>
|
||||
<a href="recipes.html">RECIPES</a>
|
||||
</div>
|
||||
<h1>so.mach.ich.das</h1>
|
||||
<div class="right">
|
||||
<a href="contact.html">CONTACT</a>
|
||||
<a href="about.html">ABOUT</a>
|
||||
</div>
|
||||
<div class="social-links">
|
||||
<a href="https://www.instagram.com/so.mach.ich.das/" target="_blank" rel="noopener noreferrer">
|
||||
<i class="fa-brands fa-instagram" style="font-size: 2em;"></i>
|
||||
</a>
|
||||
<a href="https://youtube.com/@somachtstefaniedasstefanie435?feature=shared" target="_blank" rel="noopener noreferrer">
|
||||
<i class="fa-brands fa-youtube" style="font-size: 2em;"></i>
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="loading-overlay">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="text">
|
||||
<div class="description-title">Beschreibung</div>
|
||||
<p>Tauche ein in die wunderbare Welt der Kulinarik und entdecke eine Vielzahl
|
||||
von köstlichen Rezepten, die ich persönlich kuratiert habe.<br>
|
||||
Egal, ob du ein Anfänger in der Küche bist oder ein erfahrener Gourmet –
|
||||
hier findest du Inspiration und Anleitungen für jede Gelegenheit.</p>
|
||||
</div>
|
||||
<div class="image">
|
||||
<img src="/somachtstefaniedas2/obstteller1.png" alt="Bild" width="400">
|
||||
</div>
|
||||
</div>
|
||||
<div class="divider"></div>
|
||||
<div class="card">
|
||||
<img src="/somachtstefaniedas2/johannesbeeressig.png" width="100%" alt="Johannesbeeressig">
|
||||
<div class="title">Johannesbeeressig</div>
|
||||
<p class="description">Verleihe deinem Salat eine außergewöhnliche
|
||||
Note mit selbstgemachtem Johannisbeeressig.<br>
|
||||
Der fruchtige Geschmack der Johannisbeeren harmoniert perfekt
|
||||
mit der feinen Säure des Essigs und verleiht jedem Salat ein besonderes Aroma.</p>
|
||||
<a href="#" class="link">See the recipe</a>
|
||||
</div>
|
||||
<script>
|
||||
function showLoading() {
|
||||
const overlay = document.querySelector('.loading-overlay');
|
||||
overlay.style.visibility = 'visible';
|
||||
overlay.style.opacity = '1';
|
||||
}
|
||||
function hideLoading() {
|
||||
const overlay = document.querySelector('.loading-overlay');
|
||||
overlay.style.opacity = '0';
|
||||
setTimeout(() => {
|
||||
overlay.style.visibility = 'hidden';
|
||||
}, 300);
|
||||
}
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
hideLoading();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user