First_Commit
commit
4fb1330844
Binary file not shown.
After Width: | Height: | Size: 1.9 MiB |
|
@ -0,0 +1,95 @@
|
||||||
|
*{ box-sizing: border-box; }
|
||||||
|
|
||||||
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
|
||||||
|
color: #111827;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page{
|
||||||
|
min-height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; /* Flexbox für vertikale Anordnung */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- Topbar ---- */
|
||||||
|
.topbar{
|
||||||
|
background:#1f2937;
|
||||||
|
color: white;
|
||||||
|
display: flex; /* links Titel, rechts Menu */
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between; /* Abstand zwischen Brand & Menu */
|
||||||
|
padding: 40px 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar .brand{
|
||||||
|
font-size: 30px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar .menu{
|
||||||
|
list-style: none;
|
||||||
|
display: flex;
|
||||||
|
gap: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar .menu a{
|
||||||
|
color: #e5e7eb;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 30px;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar .menu a:hover{
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- „Karte“ mit Inhalt ---- */
|
||||||
|
.card{
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 100px;
|
||||||
|
border: 1px solid rgb(245, 241, 241);
|
||||||
|
width: 100%;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero .getStarted{
|
||||||
|
padding: 10px 16px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #111827;
|
||||||
|
color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.hero h1{
|
||||||
|
font-size: clamp(28px, 4vw, 44px); /* responsive Überschrift */
|
||||||
|
margin: 0 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero p{
|
||||||
|
margin: 0 0 16px;
|
||||||
|
color: #374151;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-size: larger;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ---- Footer ---- */
|
||||||
|
.footer{
|
||||||
|
margin-top: auto; /* Footer an Seitenende schieben */
|
||||||
|
background: #1f2937;
|
||||||
|
color: #e5e7eb;
|
||||||
|
text-align: center;
|
||||||
|
padding: 14px 10px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- Kleines Responsive-Tuning ---- */
|
||||||
|
@media (max-width: 640px){
|
||||||
|
.topbar { padding: 10px 14px; }
|
||||||
|
.card { margin: 16px auto; padding: 18px; }
|
||||||
|
.topbar .menu{ gap: 12px; }
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="author" content="Obai Albek" />
|
||||||
|
<meta name="content-language" content="de" />
|
||||||
|
<meta name="description" content="An interactive tool to visualize common data structures such as stack, queue, linked list, tree, and graph. Ideal for students and developers learning algorithms." />
|
||||||
|
<meta name="keywords" content="data structure, visualizer, stack, queue, linked list, binary tree, graph, algorithm, computer science, learn programming" />
|
||||||
|
<link href="Homepage.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<title>Data Structure Visualizer</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="page">
|
||||||
|
<nav class="topbar">
|
||||||
|
<h1 class="brand">Data Structure Visualizer</h1>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><a href="#">About me</a></li>
|
||||||
|
<li><a href="#">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<main class="card">
|
||||||
|
<header class="hero">
|
||||||
|
<h1>Data Structure Visualizer</h1>
|
||||||
|
<p>Learn how stacks, queues and other data structures work through interactive animations.</p>
|
||||||
|
<button class="getStarted">Get Started</button>
|
||||||
|
<figure class="hero-figure">
|
||||||
|
<img src="Data structure.png" alt="Data structure overview" />
|
||||||
|
</figure>
|
||||||
|
</header>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
<p>© 2025 All rights reserved. | Created by Obai Albek.</p>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,31 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link href="aboutMe.css" rel="stylesheet">
|
||||||
|
<title>About me</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="page">
|
||||||
|
<nav class="topbar">
|
||||||
|
<h1 class="brand">Obai Albek</h1>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><a href="#">Homepage</a></li>
|
||||||
|
<li><a href="#">Help</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<main class="card">
|
||||||
|
<header class="hero">
|
||||||
|
|
||||||
|
</header>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue