Stelle HTML-Seiten auf Telekom Security CI um
Helles, modernes Layout (weisse Cards, dezente Schatten) statt des dunklen Themes. Magenta nur als Akzent (Links, Nav-Hover, T-Marke). Brand: kompaktes magenta "T" + Wortmarke "Telekom Security". Difficulty-Badges auf Telekom-Funktionsfarben, Backends mit eigenem Akzentstreifen je Service. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+173
-65
@@ -6,16 +6,17 @@
|
||||
<title>HTL Workshop Solutions</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #081825;
|
||||
--panel: #10273d;
|
||||
--panel-soft: #163450;
|
||||
--text: #e9f2fb;
|
||||
--muted: #b7cbdf;
|
||||
--accent: #4ecdc4;
|
||||
--easy: #59d68a;
|
||||
--medium: #ffd166;
|
||||
--hard: #ff7b72;
|
||||
--expert: #6fb6ff;
|
||||
--bg: #f3f3f6;
|
||||
--surface: #ffffff;
|
||||
--text: #16161a;
|
||||
--muted: #65656e;
|
||||
--magenta: #e20074;
|
||||
--magenta-soft: #fbe3f0;
|
||||
--line: #e5e5ea;
|
||||
--code-bg: #f4f4f7;
|
||||
--code-line: #e2e2e8;
|
||||
--radius: 16px;
|
||||
--shadow: 0 1px 2px rgba(20, 20, 40, 0.04), 0 10px 30px rgba(20, 20, 40, 0.06);
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -24,62 +25,94 @@
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Fira Sans", "Segoe UI", sans-serif;
|
||||
font-family: "TeleNeo", "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, #1f4060 0%, transparent 45%),
|
||||
radial-gradient(circle at 0% 100%, #14324a 0%, transparent 35%),
|
||||
var(--bg);
|
||||
background: var(--bg);
|
||||
min-height: 100vh;
|
||||
padding: 1.2rem;
|
||||
padding: 2.2rem 1.2rem 3rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
main {
|
||||
width: min(1150px, 100%);
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.panel {
|
||||
background: var(--panel);
|
||||
border: 1px solid #315678;
|
||||
border-radius: 14px;
|
||||
padding: 1.1rem;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
padding: 1.5rem 1.6rem;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 5px;
|
||||
background: var(--magenta);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
margin-top: 0;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.01em;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.95rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
p,
|
||||
li {
|
||||
color: var(--muted);
|
||||
line-height: 1.5;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent);
|
||||
color: var(--magenta);
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "JetBrains Mono", "Fira Code", "Consolas", "Liberation Mono", monospace;
|
||||
font-size: 0.92em;
|
||||
background: #0d1f31;
|
||||
border: 1px solid #2d4f6e;
|
||||
font-size: 0.9em;
|
||||
background: var(--code-bg);
|
||||
border: 1px solid var(--code-line);
|
||||
border-radius: 6px;
|
||||
padding: 0.1rem 0.35rem;
|
||||
color: #2a2a30;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #0b2133;
|
||||
border: 1px solid #2b5578;
|
||||
border-radius: 10px;
|
||||
padding: 0.75rem 0.85rem;
|
||||
background: var(--code-bg);
|
||||
border: 1px solid var(--code-line);
|
||||
border-radius: 12px;
|
||||
padding: 0.9rem 1rem;
|
||||
overflow-x: auto;
|
||||
margin: 0.65rem 0;
|
||||
margin: 0.7rem 0 0;
|
||||
}
|
||||
|
||||
pre code {
|
||||
@@ -88,61 +121,110 @@
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.45;
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.5;
|
||||
white-space: pre;
|
||||
color: #2a2a30;
|
||||
}
|
||||
|
||||
.top-links {
|
||||
.brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.tmark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.tmark b {
|
||||
font-size: 1.55rem;
|
||||
font-weight: 800;
|
||||
color: var(--magenta);
|
||||
margin: 0 1px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.brand span {
|
||||
font-size: 0.82rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-block;
|
||||
.nav a {
|
||||
text-decoration: none;
|
||||
background: #11314b;
|
||||
border: 1px solid #2a5d84;
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
font-size: 0.92rem;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
padding: 0.35rem 0.75rem;
|
||||
padding: 0.45rem 0.95rem;
|
||||
transition:
|
||||
color 0.15s ease,
|
||||
border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
border-color: var(--magenta);
|
||||
color: var(--magenta);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
border-radius: 999px;
|
||||
padding: 0.15rem 0.5rem;
|
||||
font-size: 0.8rem;
|
||||
padding: 0.2rem 0.6rem;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.45rem;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.easy {
|
||||
color: #08210f;
|
||||
background: var(--easy);
|
||||
color: #245c00;
|
||||
background: #e4f3d6;
|
||||
}
|
||||
|
||||
.medium {
|
||||
color: #312200;
|
||||
background: var(--medium);
|
||||
color: #7a4d00;
|
||||
background: #fdeecb;
|
||||
}
|
||||
|
||||
.hard {
|
||||
color: #3b0905;
|
||||
background: var(--hard);
|
||||
color: #8a0010;
|
||||
background: #fbdcdc;
|
||||
}
|
||||
|
||||
.expert {
|
||||
color: #031c37;
|
||||
background: var(--expert);
|
||||
color: #004b66;
|
||||
background: #d6eef7;
|
||||
}
|
||||
|
||||
details {
|
||||
background: var(--panel-soft);
|
||||
border: 1px solid #2d5577;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
padding: 0.75rem 0.85rem;
|
||||
margin-bottom: 0.7rem;
|
||||
padding: 1rem 1.15rem;
|
||||
margin-bottom: 0.8rem;
|
||||
transition: border-color 0.15s ease;
|
||||
}
|
||||
|
||||
details[open] {
|
||||
border-color: #d8d8df;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
details:last-child {
|
||||
@@ -152,29 +234,55 @@
|
||||
summary {
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
list-style: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
summary::after {
|
||||
content: "+";
|
||||
margin-left: auto;
|
||||
color: var(--magenta);
|
||||
font-weight: 800;
|
||||
font-size: 1.15rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
details[open] summary::after {
|
||||
content: "\2013";
|
||||
}
|
||||
|
||||
.kw {
|
||||
color: #e9f2fb;
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<section class="panel">
|
||||
<section class="panel hero">
|
||||
<div class="brand">
|
||||
<span class="tmark"><b>T</b></span>
|
||||
<span>Telekom Security</span>
|
||||
</div>
|
||||
<h1>Solutions Board (detailliert)</h1>
|
||||
<p>Hier stehen absichtlich konkrete Musterloesungen mit Snippets, Checks und typischen Stolperfallen.</p>
|
||||
<p><span class="kw">Workflow:</span> Nach jeder Konfig-Aenderung mindestens <code>./scripts/lab.sh proxy-reload</code>, bei Compose-Aenderungen <code>./scripts/lab.sh redeploy</code>.</p>
|
||||
<div class="top-links">
|
||||
<a class="pill" href="/">Startseite</a>
|
||||
<a class="pill" href="/challenges.html">Challenges</a>
|
||||
<a class="pill" href="/hints.html">Hints</a>
|
||||
<a class="pill" href="/solutions.html">Solutions</a>
|
||||
<a class="pill" href="/service/a">Backend A</a>
|
||||
<a class="pill" href="/service/b">Backend B</a>
|
||||
<a class="pill" href="/challenges.html#challenge-2-backend-c">Backend C (ab C2)</a>
|
||||
</div>
|
||||
<nav class="nav">
|
||||
<a href="/">Startseite</a>
|
||||
<a href="/challenges.html">Challenges</a>
|
||||
<a href="/hints.html">Hints</a>
|
||||
<a href="/solutions.html">Solutions</a>
|
||||
<a href="/service/a">Backend A</a>
|
||||
<a href="/service/b">Backend B</a>
|
||||
<a href="/challenges.html#challenge-2-backend-c">Backend C (ab C2)</a>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="panel">
|
||||
|
||||
Reference in New Issue
Block a user