diff options
| author | 2023-07-23 20:31:39 +0700 | |
|---|---|---|
| committer | 2023-07-23 20:50:45 +0700 | |
| commit | ae1f0ac334e3e978183cf75feaa8bfc2f12df4c5 (patch) | |
| tree | afa6c09e8011bfa29bcddb9136d4b851eabadffd /doc/style.css | |
| parent | format.c: Encode all HTML characters when we're in pre element until we are out. (diff) | |
| download | snac2-ae1f0ac334e3e978183cf75feaa8bfc2f12df4c5.tar.gz snac2-ae1f0ac334e3e978183cf75feaa8bfc2f12df4c5.tar.xz snac2-ae1f0ac334e3e978183cf75feaa8bfc2f12df4c5.zip | |
default css: handle overflow text
Signed-off-by: Yonle <yonle@lecturify.net>
Diffstat (limited to 'doc/style.css')
| -rw-r--r-- | doc/style.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/style.css b/doc/style.css index ffb14cd..822860e 100644 --- a/doc/style.css +++ b/doc/style.css | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em } | 1 | body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; } |
| 2 | pre { overflow-x: scroll; } | ||
| 2 | .snac-embedded-video, img { max-width: 100% } | 3 | .snac-embedded-video, img { max-width: 100% } |
| 3 | .snac-origin { font-size: 85% } | 4 | .snac-origin { font-size: 85% } |
| 4 | .snac-score { float: right; font-size: 85% } | 5 | .snac-score { float: right; font-size: 85% } |