diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-08-09 22:01:04 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-08-09 22:01:04 -0700 |
commit | 2e75c6d9603f8a5edf6495f8d4fb3115a67d823c (patch) | |
tree | 8fb2d1bec2cf0e50c5fce6bc718f755485419db0 /youtube/static/comments.css | |
parent | cc9283ad5332f59a69a91d9d0fab299779de513c (diff) | |
parent | adc40bc760345a23678a01f27d7697dfd3811914 (diff) | |
download | yt-local-2e75c6d9603f8a5edf6495f8d4fb3115a67d823c.tar.lz yt-local-2e75c6d9603f8a5edf6495f8d4fb3115a67d823c.tar.xz yt-local-2e75c6d9603f8a5edf6495f8d4fb3115a67d823c.zip |
Merge flask framework and other stuff from master
Diffstat (limited to 'youtube/static/comments.css')
-rw-r--r-- | youtube/static/comments.css | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/youtube/static/comments.css b/youtube/static/comments.css new file mode 100644 index 0000000..4cec3e1 --- /dev/null +++ b/youtube/static/comments.css @@ -0,0 +1,129 @@ +.video-metadata{ + display: grid; + grid-template-columns: auto 1fr; + grid-template-rows: auto auto 1fr auto; +} + .video-metadata > .video-metadata-thumbnail-box{ + grid-row: 1 / span 3; + } + .video-metadata > .title{ + word-wrap:break-word; + grid-row: 1; + } + .video-metadata > h2{ + grid-row: 2; + font-size: 15px; + } + .video-metadata > span{ + grid-row:3; + } + .video-metadata > hr{ + grid-row: 4; + grid-column: 1 / span 2; + width: 100%; + } + +.comment-form{ + display: grid; + align-content: start; + justify-items: start; + align-items: start; +} + #comment-account-options{ + display:grid; + grid-auto-flow: column; + grid-column-gap: 10px; + margin-top:10px; + margin-bottom:10px; + } + #comment-account-options a{ + margin-left:10px; + } + +.comments-area{ + display:grid; +} + .comments-area textarea{ + resize: vertical; + justify-self:stretch; + } + .post-comment-button{ + margin-top:10px; + justify-self:end; + } + .comment-links{ + display:grid; + grid-auto-flow: column; + grid-column-gap: 10px; + justify-content:start; + } + +.comments{ + margin-top:10px; + grid-row-gap: 10px; + display: grid; + align-content:start; +} + +.comment{ + display:grid; + grid-template-columns: auto auto 100px 1fr; + grid-template-rows: 0fr 0fr 0fr 0fr; + background-color: #dadada; + justify-content: start; +} + +.comment .author-avatar{ + grid-column: 1; + grid-row: 1 / span 3; + align-self: start; + margin-right: 5px; + height:32px; + width:32px; +} + +.comment address{ + grid-column: 2; + grid-row: 1; + margin-right:15px; + white-space: nowrap; + overflow:hidden; +} + +.comment .text{ + grid-column: 2 / span 3; + grid-row: 2; + white-space: pre-wrap; + min-width: 0; + word-wrap: break-word; +} + +.comment .permalink{ + grid-column: 3; + grid-row: 1; + white-space: nowrap; + color: black; + +} + + +.comment .likes{ + grid-column:2; + grid-row:3; + font-weight:bold; + white-space: nowrap; +} + +.comment .bottom-row{ + grid-column:2 / span 3; + grid-row:4; + justify-self:start; + display: grid; + grid-auto-flow: column; + grid-column-gap: 10px; +} + +.more-comments{ + justify-self:center; + margin-top:10px; +} |