From da39c8ca2848707543cd5c143b4fdcfc6ea55fa5 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 5 Apr 2023 20:26:43 +0000 Subject: [PATCH] new shorts page :3 --- html/channel.ejs | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index d3739e32..07d3afd9 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -324,6 +324,17 @@ text-transform:uppercase; max-inline-size: 164ch; justify-content: space-around; } + .s{ +width: 23em; +margin: auto; + margin-right: auto; + margin-left: auto; +margin-left: -3.5em; +margin-right: -79px; + } + .shorts-title{ + font-family:PokeTube flex,sans-serif;font-weight: 1000;font-stretch: ultra-expanded;position: absolute;margin-top: -43px;background: #0009;white-space: -moz-pre-wrap !important;white-space: -pre-wrap;white-space: -o-pre-wrap;white-space: pre-wrap;word-wrap: break-word;white-space: -webkit-pre-wrap;word-break: break-all;white-space: normal;width: 12.87em;margin-left: 145px; + } .channel-page .video-grid { background-color: black; } @@ -449,6 +460,7 @@ text-transform:uppercase; body { background-color:#111 } + .subscribe-button:hover { text-decoration: none !important; @@ -897,19 +909,22 @@ width: fit-content; <% } %> -
+
<% if (Array.isArray( shorts.videos)) { %> <% shorts.videos.forEach (x => { %> - -
<%- turntomins(x.lengthSeconds) %>
-
- + <% }) %> <% } %>