ul und li navigation build geht

This commit is contained in:
florian committed 2026-10-03 12:03:55 +02:00
1 parent dc1b35f344
commit 5acf8ad0e7
7 files changed
+122 -54

No files matched your search

+34 -9
View File
@@ -53,6 +53,7 @@ header {
}
html {
font-size: 14px; /* Basis: alle Schriften 14 px (auch 1rem) */
background: var(--bg);
}
@@ -63,7 +64,6 @@ body {
background: var(--bg);
color: var(--text);
line-height: 1.6;
font-size: 14px;
margin: 0;
padding: 2rem;
box-sizing: border-box;
@@ -87,12 +87,25 @@ main {
}
/* Shell-Prompt ganz oben auf der Seite */
body::before {
content: "user@hfg_linux_group:~$ ";
color: var(--green);
display: block;
.prompt {
max-width: 1200px;
margin: 0 auto 1.5rem;
color: var(--green);
}
/* Blinkender Terminal-Cursor hinter dem Prompt */
.cursor {
display: inline-block;
width: .6em;
height: 1.1em;
background: var(--green);
vertical-align: text-bottom;
animation: blink 1s steps(1) infinite;
}
@keyframes blink {
0%, 49.9% { opacity: 1; }
50%, 100% { opacity: 0; }
}
/* ---- Typografie ---- */
@@ -101,7 +114,7 @@ h1, h2, h3, h4, h5, h6 {
color: var(--heading);
text-shadow: 0 0 8px rgba(255, 149, 0, 0.35);
letter-spacing: 1px;
font-size: 1rem; /* ueberall gleiche Schriftgroesse */
font-size: 1rem; /* 14 px, ueberall gleiche Schriftgroesse */
font-weight: normal;
margin: 1.5rem 0 .8rem;
}
@@ -118,9 +131,21 @@ p {
.anker-nav {
margin-top: 1rem;
display: flex;
flex-wrap: wrap;
gap: .25rem 1.5rem;
}
.anker-nav ul {
list-style: none;
margin: 0;
padding-left: 0;
}
/* Unterpunkte einruecken (Ueberschrift mit einem # mehr) */
.anker-nav ul ul {
padding-left: 1.5rem;
}
.anker-nav li {
margin: .25rem 0;
}
.anker-nav a {