vitrine

style: drop the left nub on the diagram error box

commit 5530376427c261fdc8b7619b99dfc1c21a0ccabf · parent 9dcbf03d51 · browse this tree
Ximianth, 2026-08-09 15:32:43 UTC

The colored left border reads as a distinct visual cue elsewhere (callouts,
code blocks), and repeating it here muddied that language.  A plain bordered
well in the danger hue still marks the failure clearly.
diff --git a/style.css b/style.css
index bcfafa7..381d21d 100644
--- a/style.css
+++ b/style.css
@@ -178,7 +178,6 @@ article .diagram svg {
 article .diagram-error {
 	text-align: left;
 	border: 1px solid #cf222e;
-	border-left: 3px solid #cf222e;
 	border-radius: .25rem;
 	background: color-mix(in srgb, #cf222e 8%, var(--paper));
 	padding: .4rem .8rem;