From cfa35dcb2d332977e80a5811b6d42e9949bd4814 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 5 Aug 2023 23:30:58 +0200 Subject: Use a macro to wrap code in tags --- src/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index fd2468b..30e895d 100644 --- a/src/style.css +++ b/src/style.css @@ -90,6 +90,7 @@ x-ref { font-size: .8rem; } +figure { margin-inline: 0; } figure > pre { margin-left: 4ch; overflow-x: scroll; } figure > pre > code { counter-increment: line; } figure > pre > code::before { @@ -186,7 +187,6 @@ header > div li { list-style: none; } body { tab-size: 4; } main { margin-block-end: 2rem; } h1, h2, p { overflow-wrap: break-word; hyphens: auto; } - figure { margin-inline: 0; } header > div { display: block; } ul, menu { padding-inline-start: 0; } :where(ul, menu) > li:not(:last-of-type) { margin-block-end: .3rem; } -- cgit v1.2.3