From 3950b59d43e19990713cb0553d6eb6c87d9f73a1 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sat, 25 Nov 2023 03:18:09 -0700 Subject: [PATCH] reorder some table CSS selectors --- src/css/doc.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index 605099c..26eb8e6 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -258,11 +258,6 @@ margin: 1rem 0 0; } -.doc table.tableblock { - background: var(--body-background); - font-size: calc(15 / var(--rem-base) * 1rem); -} - .doc > table.tableblock, .doc > table.tableblock + *, .doc .tablecontainer, @@ -272,6 +267,11 @@ margin-top: 1.5rem; } +.doc table.tableblock { + background: var(--body-background); + font-size: calc(15 / var(--rem-base) * 1rem); +} + @media screen and (min-width: 1024px) { .doc table.tableblock { /* @@ -285,14 +285,14 @@ } } -.doc table.tableblock pre { - font-size: inherit; -} - .doc p.tableblock + p.tableblock { margin-top: 0.5rem; } +.doc table.tableblock pre { + font-size: inherit; +} + .doc td.tableblock > .content { word-wrap: anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */ }