aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-10-20 17:19:45 -0700
committerJames Taylor <user234683@users.noreply.github.com>2020-10-20 17:19:45 -0700
commitf100685d64f5e93f1ec2a58379a986beb012b482 (patch)
treea7e7d1720f1ccce240ffa3f07f43233d4c5aafd9
parent125ddaa8da8dad8f3e8eeb54f79a775b865c58bf (diff)
downloadyt-local-f100685d64f5e93f1ec2a58379a986beb012b482.tar.lz
yt-local-f100685d64f5e93f1ec2a58379a986beb012b482.tar.xz
yt-local-f100685d64f5e93f1ec2a58379a986beb012b482.zip
Move comment.js reply button styling to comments.css
So that the style will also be present on the /comments pages
-rw-r--r--youtube/static/comments.css12
-rw-r--r--youtube/templates/watch.html12
2 files changed, 12 insertions, 12 deletions
diff --git a/youtube/static/comments.css b/youtube/static/comments.css
index 65e2cbe..1c21e73 100644
--- a/youtube/static/comments.css
+++ b/youtube/static/comments.css
@@ -124,6 +124,18 @@
grid-column-gap: 10px;
}
+details.replies > summary{
+ background-color: var(--interface-color);
+ border-style: outset;
+ border-width: 1px;
+ font-weight: bold;
+ padding-bottom: 0px;
+}
+
+details.replies .comment{
+ width: 600px;
+}
+
.more-comments{
justify-self:center;
margin-top:10px;
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 86644ea..3542d94 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -14,18 +14,6 @@
text-decoration: underline;
}
- details.replies > summary{
- background-color: var(--interface-color);
- border-style: outset;
- border-width: 1px;
- font-weight: bold;
- padding-bottom: 0px;
- }
-
- details.replies .comment{
- width: 600px;
- }
-
.playability-error{
height: 360px;
width: 640px;