about summary refs log tree commit diff stats
path: root/res/ua.css
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-12-14 23:10:22 +0100
committerbptato <nincsnevem662@gmail.com>2021-12-14 23:10:22 +0100
commit7707d87c9a35a5915e59cfcbd21cd7c33f575a07 (patch)
tree97fc83ff66c673aeea2115761e4b811084547ea9 /res/ua.css
parent148d6ce5154c2e8c6126509f39ae0cd2f019a0c0 (diff)
downloadchawan-7707d87c9a35a5915e59cfcbd21cd7c33f575a07.tar.gz
DL support and BR fixes
Diffstat (limited to 'res/ua.css')
-rw-r--r--res/ua.css27
1 files changed, 21 insertions, 6 deletions
diff --git a/res/ua.css b/res/ua.css
index e045823f..55a0131a 100644
--- a/res/ua.css
+++ b/res/ua.css
@@ -2,16 +2,11 @@ area, base, source, track, link, meta, param, wbr, head, style, script {
 	display: none !important;
 }
 
-address, blockquote, center, del, dir, div, dl, fieldset, form, h1, h2, h3, h4,
+address, blockquote, center, del, dir, div, dl, dt, dd, fieldset, form, h1, h2, h3, h4,
 h5, h6, hr, ins, menu, noframes, noscript, ol, p, pre, ul, body {
 	display: block;
 }
 
-a, abbr, b, bdo, br, button, cite, code, del, dfn, em, font, i, ins, iframe,
-kbd, label, map, object, q, samp, select, small, span, strong, sup, sub {
-	display: inline;
-}
-
 textarea, tt, var, font, iframe, u, s, strike, frame, input, img {
 	display: inline-block;
 }
@@ -120,3 +115,23 @@ ul {
 :is(ol, ul, menu, dir) :is(ol, ul, menu, dir) ul {
 	list-style-type: square;
 }
+
+dl {
+	margin-bottom: 1em;
+}
+
+:is(ul, ol, dir, menu, dl) dl {
+	margin-bottom: 0em;
+}
+
+dt {
+	font-weight: bold;
+}
+
+dd {
+	margin-left: 4ch;
+}
+
+dl[compact] dt + br {
+	display: none;
+}