Compare commits
3 commits
222afc6632
...
1b3e6c9202
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b3e6c9202 | |||
| b2e81a4bc2 | |||
| 476a555a3c |
2 changed files with 254 additions and 18 deletions
213
css/style.css
213
css/style.css
|
|
@ -0,0 +1,213 @@
|
|||
/* =========================
|
||||
GLOBAL
|
||||
========================= */
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
background-color: #f4f7fb;
|
||||
color: #1e293b;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
CONTAINER
|
||||
========================= */
|
||||
|
||||
.container {
|
||||
width: 90%;
|
||||
max-width: 1200px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
HEADER
|
||||
========================= */
|
||||
|
||||
header {
|
||||
background: #0f172a;
|
||||
padding: 20px 0;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
header .container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
LOGO
|
||||
========================= */
|
||||
|
||||
.logo {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 700;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
NAVIGATION
|
||||
========================= */
|
||||
|
||||
nav ul {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
gap: 25px;
|
||||
}
|
||||
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
font-weight: 500;
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
HERO SECTION
|
||||
========================= */
|
||||
|
||||
.hero {
|
||||
padding: 120px 20px;
|
||||
text-align: center;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
#2563eb,
|
||||
#1d4ed8
|
||||
);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
max-width: 700px;
|
||||
margin: auto;
|
||||
font-size: 1.1rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
BUTTONS
|
||||
========================= */
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
margin-top: 30px;
|
||||
padding: 14px 28px;
|
||||
background: white;
|
||||
color: #2563eb;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
/* =========================
|
||||
CONTENT SECTIONS
|
||||
========================= */
|
||||
|
||||
section {
|
||||
padding: 80px 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
text-align: center;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.section-title h2 {
|
||||
font-size: 2.2rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.section-title p {
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
CARD LAYOUT
|
||||
========================= */
|
||||
|
||||
.cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: white;
|
||||
padding: 30px;
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 6px 20px rgba(0,0,0,0.06);
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-6px);
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.card p {
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
FOOTER
|
||||
========================= */
|
||||
|
||||
footer {
|
||||
background: #0f172a;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 30px 20px;
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
/* =========================
|
||||
RESPONSIVE
|
||||
========================= */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
header .container {
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 90px 20px;
|
||||
}
|
||||
}
|
||||
43
index.html
43
index.html
|
|
@ -1,25 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><link rel="stylesheet" href="style.css"><meta charset="UTF-8"><title>isa8 – EIS SoSe 25</title></head>
|
||||
<script scr="script.js"></script>
|
||||
<html lang="de">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>isa8 – EIS SoSe 25</title>
|
||||
|
||||
<!-- Google Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- CSS EINBINDEN -->
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<nav>
|
||||
<a href="index.html">Start</a>
|
||||
<a href="ueber_uns.html">Über uns</a>
|
||||
<a href="eis_projekt.html">Projekt</a>
|
||||
<a href="kontakt.html">Kontakt<a/>
|
||||
<a href="impressum.html">Impressum<a/>
|
||||
<a href="kontakt.html">Kontakt</a>
|
||||
<a href="impressum.html">Impressum</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h1>Sneaky Snack Snakes</h1>
|
||||
<p>Einführung in interaktive Snakewareanwendungen – SnackSnake 2026</p>
|
||||
<p>Test test</p>
|
||||
<p>Einfach mal was probieren :D</p>
|
||||
<p>Diese Seite ist euer Snakespace. Legt eure Dateien in <code>~/public_html/</code> ab.</p>
|
||||
<h1>Sneaky Snack Snakes</h1>
|
||||
|
||||
<p>Einführung in interaktive Snakewareanwendungen – SnackSnake 2026</p>
|
||||
<p>Diese Seite ist euer Snakespace. Legt eure Dateien in <code>~/public_html/</code> ab.</p>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© 2026 - Lernprojekt EIS</p>
|
||||
</footer>
|
||||
|
||||
<!-- JavaScript (korrekt eingebunden) -->
|
||||
<script src="script.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Reference in a new issue