KI-AGENT: Selfhost-Script als Codeblock eingebaut

This commit is contained in:
2026-05-19 22:32:21 +02:00
parent bcde1da84f
commit 98c95483d8
3 changed files with 98 additions and 0 deletions

View File

@@ -348,6 +348,7 @@ footer {
.workflow-section,
.open-source-section,
.script-section,
.contact-section {
align-items: start;
display: grid;
@@ -423,6 +424,78 @@ footer {
justify-self: end;
}
.script-section {
align-items: center;
border-top: 1px solid rgba(23, 33, 31, 0.12);
padding-bottom: 5rem;
padding-top: 0;
}
.script-section p {
color: #51605c;
font-size: 1.08rem;
line-height: 1.7;
}
.code-window {
background: #17211f;
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 0.5rem;
box-shadow: 0 1.5rem 4rem rgba(23, 33, 31, 0.22);
color: #dff8d8;
overflow: hidden;
}
.code-window-toolbar {
align-items: center;
background: #24302d;
display: flex;
gap: 0.5rem;
min-height: 3rem;
padding: 0 1rem;
}
.code-window-toolbar span {
background: rgba(255, 255, 255, 0.7);
border-radius: 50%;
display: block;
height: 0.68rem;
width: 0.68rem;
}
.code-window-toolbar span:nth-child(2) {
background: var(--accent);
}
.code-window-toolbar strong {
color: rgba(255, 255, 255, 0.68);
font-size: 0.86rem;
margin-left: 0.4rem;
}
.code-window pre {
margin: 0;
overflow-x: auto;
padding: clamp(1.25rem, 3vw, 2rem);
}
.code-window code {
color: #dff8d8;
display: block;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: clamp(0.92rem, 1.7vw, 1rem);
line-height: 1.8;
min-width: 34rem;
white-space: pre-wrap;
word-break: break-word;
}
.code-window code::before {
color: var(--accent);
content: "$ ";
font-weight: 800;
}
.contact-section {
background: #ffffff;
border: 1px solid rgba(23, 33, 31, 0.1);
@@ -522,6 +595,7 @@ footer p {
.hero-section,
.workflow-section,
.open-source-section,
.script-section,
.contact-section {
grid-template-columns: 1fr;
}