diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-10-20 18:24:41 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-10-20 18:24:41 -0700 |
commit | c696db3e84d91092182adbeb7eef6126fad6be5d (patch) | |
tree | 7ac3af26887bc5350c9e2b20a65f86ffeed1a556 /youtube/templates/shared.css | |
parent | 95f2f027eabdcc4dc3c1a77829bf2bf503ed2939 (diff) | |
download | yt-local-c696db3e84d91092182adbeb7eef6126fad6be5d.tar.lz yt-local-c696db3e84d91092182adbeb7eef6126fad6be5d.tar.xz yt-local-c696db3e84d91092182adbeb7eef6126fad6be5d.zip |
comments.js: include error in reply html rather than using an alert
Diffstat (limited to 'youtube/templates/shared.css')
-rw-r--r-- | youtube/templates/shared.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/youtube/templates/shared.css b/youtube/templates/shared.css index 141465a..8aaa706 100644 --- a/youtube/templates/shared.css +++ b/youtube/templates/shared.css @@ -334,3 +334,26 @@ body{ padding: 2px; justify-self: start; } + +/* error page stuff */ +h1{ + font-size: 2rem; + font-weight: normal; +} +#error-box, #error-message{ + background-color: var(--interface-color); + width: 80%; + margin: auto; + margin-top: 20px; + padding: 5px; +} +#error-box > div, #error-box > p, #error-box > h1{ + white-space: pre-wrap; + margin-bottom: 10px; +} +.code-box{ + padding: 5px; + border-style:solid; + border-width:1px; + border-radius:5px; +} |