diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-02-21 16:15:40 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-02-21 16:15:40 -0500 |
| commit | b52075ea197baa5a8a301b04948f9286cfb107a9 (patch) | |
| tree | bb1356044ceba99e596f2866d9bfea91cbdd0e02 /ui | |
| parent | d7b1a995b7da423531933888cde04ae6d807298b (diff) | |
Remove duplicate `content` hack from reset.
According to <https://stackoverflow.com/a/6803278>, this was needed for old versions of Safari. However, since at least 2022, Safari has supported `content: none` just fine.
Related Safari bug (still open as of this writing, comments relevnat): <https://bugs.webkit.org/show_bug.cgi?id=20032>
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/styles/reset.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/styles/reset.css b/ui/styles/reset.css index f9fa505..5a17f02 100644 --- a/ui/styles/reset.css +++ b/ui/styles/reset.css @@ -93,6 +93,7 @@ video { /* font: inherit; */ vertical-align: baseline; } + /* HTML5 display-role reset for older browsers */ article, aside, @@ -107,24 +108,28 @@ nav, section { display: block; } + body { line-height: 1; } + ol, ul { list-style: none; } + blockquote, q { quotes: none; } + blockquote:before, blockquote:after, q:before, q:after { - content: ''; content: none; } + table { border-collapse: collapse; border-spacing: 0; |
