diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/style.css | 8 | ||||
-rw-r--r-- | css/wiki.css | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/css/style.css b/css/style.css index 4f891f2..4e66b5f 100644 --- a/css/style.css +++ b/css/style.css @@ -68,6 +68,14 @@ nav a:hover { font-size: 1.15em; } +:is(p, h1, h2, h3, h4, h5, h6):has(+ ol, + ul) { + margin-bottom: 0; +} + +:is(p, h1, h2, h3, h4, h5, h6) + :is(ol, ul) { + margin-top: 0 +} + ul { list-style: square; } diff --git a/css/wiki.css b/css/wiki.css index e38eacb..934d1ae 100644 --- a/css/wiki.css +++ b/css/wiki.css @@ -1,11 +1,3 @@ -p:has(+ ol, + ul) { - margin-bottom: 0; -} - -p + ol, p + ul { - margin-top: 0 -} - li > p:first-child { margin: 0; } |