diff options
author | bptato <nincsnevem662@gmail.com> | 2021-11-25 23:39:27 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-11-25 23:39:27 +0100 |
commit | bf3b8804c0fe35f3f5a98ef60c19fde52c415c5e (patch) | |
tree | a80eee7ee4abeddbe208e6308ebacd2484a69f54 /res/default.css | |
parent | 5cb5a4103188969bb7a3b695a20ddb63b6a86bce (diff) | |
download | chawan-bf3b8804c0fe35f3f5a98ef60c19fde52c415c5e.tar.gz |
Refactor some parts of the layout engine
Diffstat (limited to 'res/default.css')
-rw-r--r-- | res/default.css | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/res/default.css b/res/default.css index 9451e77c..ac09b495 100644 --- a/res/default.css +++ b/res/default.css @@ -1,5 +1,5 @@ area, base, source, track, link, meta, param, wbr, head, style, script { - display: none; + display: none !important; } address, blockquote, center, del, dir, div, dl, fieldset, form, h1, h2, h3, h4, @@ -7,8 +7,8 @@ h5, h6, hr, ins, menu, noframes, noscript, ol, p, pre, ul, body { display: block; } -a, abbr, b, bdo, button, cite, code, del, dfn, em, font, i, ins, iframe, kbd, -label, map, object, q, samp, select, small, span, strong, sup { +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 { display: inline; } @@ -36,6 +36,10 @@ colgroup { display: table-column-group; } +input { + width: 20ch; +} + tr { display: table-row; } @@ -65,20 +69,20 @@ u, ins { } h1, h2, h3, h4, h5, h6 { - margin-top: 1em; - margin-bottom: 1em; + margin-top: 1ch; + margin-bottom: 1ch; font-weight: bold; } pre { - margin-top: 1em; - margin-bottom: 1em; + margin-top: 1ch; + margin-bottom: 1ch; white-space: pre; } p { - margin-top: 1em; - margin-bottom: 1em; + margin-top: 1ch; + margin-bottom: 1ch; } a { |