impl. Kroki, compile path, and code-editor feature
This commit is contained in:
1 parent
c1bc8f0c03
commit
94d56f9a8f
49 files changed
+40652
-389
No files matched your search
@@ -95,3 +95,70 @@ th {
|
||||
.muted {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
/* config hardening */
|
||||
body:has(.config-sidebar) main,
|
||||
body:has(.config-sidebar) .config-layout,
|
||||
body:has(.config-sidebar) .container {
|
||||
display: grid;
|
||||
grid-template-columns: 16rem minmax(0, 1fr);
|
||||
gap: 1.5rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
body:has(.config-sidebar) .config-sidebar {
|
||||
grid-column: 1;
|
||||
position: sticky;
|
||||
top: 4rem;
|
||||
}
|
||||
|
||||
body:has(.config-sidebar) .config-panel,
|
||||
body:has(.config-sidebar) .config-section {
|
||||
grid-column: 2;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body:has(.config-sidebar) .config-panel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body:has(.config-sidebar) .config-panel.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* disable previous experimental config hardening */
|
||||
body:has(.config-sidebar) main,
|
||||
body:has(.config-sidebar) .config-layout,
|
||||
body:has(.config-sidebar) .container {
|
||||
display: initial;
|
||||
grid-template-columns: initial;
|
||||
gap: initial;
|
||||
align-items: initial;
|
||||
}
|
||||
|
||||
|
||||
.diagram {
|
||||
margin: 1rem 0;
|
||||
padding: 0.75rem;
|
||||
border: 1px solid var(--border-soft);
|
||||
background: var(--panel);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.diagram img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.diagram img {
|
||||
background: #fff;
|
||||
padding: 0.75rem;
|
||||
border-radius: 0.35rem;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.diagram img {
|
||||
filter: brightness(0.92) contrast(1.08);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user