diff options
author | bptato <nincsnevem662@gmail.com> | 2021-11-23 17:35:30 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-11-23 17:35:30 +0100 |
commit | f4805eb8c39c6c4116a7cbdd5b5121739fb640ba (patch) | |
tree | 76e0c704f7c8f9d6e6ad949bbb24770e4beb5e9d /res | |
parent | a413a3115f242395ef1149c263d3280e62f1608e (diff) | |
download | chawan-f4805eb8c39c6c4116a7cbdd5b5121739fb640ba.tar.gz |
Support CSS word break
Diffstat (limited to 'res')
-rw-r--r-- | res/default.css | 49 |
1 files changed, 36 insertions, 13 deletions
diff --git a/res/default.css b/res/default.css index 56691cbb..9451e77c 100644 --- a/res/default.css +++ b/res/default.css @@ -3,44 +3,67 @@ area, base, source, track, link, meta, param, wbr, head, style, script { } address, blockquote, center, del, dir, div, dl, fieldset, form, h1, h2, h3, h4, -h5, h6, hr, ins, menu, noframes, noscript, ol, p, pre, table, ul, body { +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, img, ins, -iframe, kbd, label, map, object, q, samp, select, small, span, strong -{ +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 { display: inline; } -sub, sup, textarea, tt, var, font, iframe, u, s, strike, frame, input, img { +sub, textarea, tt, var, font, iframe, u, s, strike, frame, input, img { display: inline-block; } -i, em { - font-style: italic; +table { + display: table; } -b, strong { - font-weight: bold; +tbody { + display: table-row-group; } -u, ins { - text-decoration: underline; +thead { + display: table-header-group; +} + +tfoot { + display: table-footer-group; +} + +colgroup { + display: table-column-group; +} + +tr { + display: table-row; } col { display: table-column; } -img { - display: inline-block; +th, td { + display: table-cell; } li { display: list-item; } +i, em { + font-style: italic; +} + +b, strong { + font-weight: bold; +} + +u, ins { + text-decoration: underline; +} + h1, h2, h3, h4, h5, h6 { margin-top: 1em; margin-bottom: 1em; |