KI-AGENT: Selfhost-Codeblock schmaler ausgerichtet

This commit is contained in:
2026-05-19 22:35:52 +02:00
parent 98c95483d8
commit 0a32ae77cd

View File

@@ -425,10 +425,11 @@ footer {
} }
.script-section { .script-section {
align-items: center;
border-top: 1px solid rgba(23, 33, 31, 0.12); border-top: 1px solid rgba(23, 33, 31, 0.12);
display: block;
max-width: 920px;
padding-bottom: 5rem; padding-bottom: 5rem;
padding-top: 0; padding-top: 4rem;
} }
.script-section p { .script-section p {
@@ -437,13 +438,19 @@ footer {
line-height: 1.7; line-height: 1.7;
} }
.script-section > div:first-child {
max-width: 42rem;
}
.code-window { .code-window {
background: #17211f; background: #17211f;
border: 1px solid rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 0.5rem; border-radius: 0.5rem;
box-shadow: 0 1.5rem 4rem rgba(23, 33, 31, 0.22); box-shadow: 0 1.5rem 4rem rgba(23, 33, 31, 0.22);
color: #dff8d8; color: #dff8d8;
margin-top: 2rem;
overflow: hidden; overflow: hidden;
width: 100%;
} }
.code-window-toolbar { .code-window-toolbar {
@@ -485,7 +492,6 @@ footer {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: clamp(0.92rem, 1.7vw, 1rem); font-size: clamp(0.92rem, 1.7vw, 1rem);
line-height: 1.8; line-height: 1.8;
min-width: 34rem;
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-word; word-break: break-word;
} }