summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJJ2024-09-30 09:24:56 +0000
committerJJ2024-09-30 09:25:42 +0000
commit5da7d8b75c016eec5b9a6b860414704a7beaa670 (patch)
tree9d2492860feb7cd29d30af2d7e6c1a2c34f6253c /css
parent6b711ffacf74555dd4a11cbd2c3bc4fee4df2152 (diff)
style links page
Diffstat (limited to 'css')
-rw-r--r--css/style.css8
-rw-r--r--css/wiki.css8
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;
}