From ed385ecfeea63af56c7a66f0ad58b173892c13aa Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Mon, 24 Apr 2023 12:31:34 +0300 Subject: [PATCH] docs: update spacing --- src/docs.css | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/src/docs.css b/src/docs.css index e097c8e..2a31df0 100644 --- a/src/docs.css +++ b/src/docs.css @@ -1,12 +1,46 @@ -table { +.tsd-typography table { border-collapse: collapse; width: 100%; box-sizing } -table td, -table th { +.tsd-typography table td, +.tsd-typography table th { vertical-align: top; border: 1px solid var(--color-accent); padding: 6px; } + +.tsd-typography h1 + table, +.tsd-typography h2 + table, +.tsd-typography h3 + table, +.tsd-typography h4 + table, +.tsd-typography h5 + table, +.tsd-typography h6 + table, + +.tsd-typography h1 + pre, +.tsd-typography h2 + pre, +.tsd-typography h3 + pre, +.tsd-typography h4 + pre, +.tsd-typography h5 + pre, +.tsd-typography h6 + pre { + margin-top: 1em; +} + + + +.tsd-typography pre + a + h1, +.tsd-typography pre + a + h2, +.tsd-typography pre + a + h3, +.tsd-typography pre + a + h4, +.tsd-typography pre + a + h5, +.tsd-typography pre + a + h6, + +.tsd-typography table + a + h1, +.tsd-typography table + a + h2, +.tsd-typography table + a + h3, +.tsd-typography table + a + h4, +.tsd-typography table + a + h5, +.tsd-typography table + a + h6 { + margin-top: 2em; +}