From 34c623bec9ae621b7250d656c2940a5f9a3d314e Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 7 Oct 2022 15:04:16 +0200 Subject: [PATCH] newwu desc --- html/poketube.ejs | 201 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 158 insertions(+), 43 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index a7843d1..01b9a85 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -904,6 +904,92 @@ justify-content: center; padding: 0px 0px; line-height: 18px; } + + +#desc-container .backtotop { + margin: 0%; + display: none; +} +#desc-container .backtotop a { + margin-top: .5em; +} +#desc .close { display: none; } +#desc { +font-size: .94em; +line-height: 1.2em; +text-align: left; +padding: .6em 3%; +margin: 0; +background: #000; +border-top: none; +border-radius: 23px; +height: 100%; +} +#set-language { margin-bottom: .2em; } +#set-language + p { + display: inline-block; + font-size: 1em; /* 15px */ + margin: .45em 0 0; +} + +#descs { padding: .4em 0; } +#descs p {margin: 0; +font-weight: 900; +font-stretch: ultra-expanded; +padding: 3px; + } +#descs span { + display: inline-block; + width: 10.5em; + line-height: 2em; +} +#descs span a { + line-height: 1.9em; +} +#descs span.original { font-weight: bold; } +/* Display/hide language list */ + + #desc-container { display: none; } + #desc-container:target { display: block; } + .backtotop b { display: none; } + + body { position: relative; } + #desc-container { + position: absolute; + margin-top: -12.4em; + left: 0; + width: 100%; + height: 100%; + } + #language-container .backtotop a { + position: absolute; + width: 100%; + height: 100%; + background: transparent; + border: none; + margin-top: 0; + } + #desc .close { + float: right; + display: block; + } + #desc .close span { + display: none; + } + #desc .close:after { + content: "\2A09"; + float: right; + position: relative; bottom: .1em; + cursor: pointer; + } + + #descs { + column-width: 10em; + column-count: 3; + column-gap: 0; + } + #descs span { display: block; } + #descs span a { display: inline-block; } @@ -940,7 +1026,9 @@ line-height: 18px;
-
<%=video.Title%>
+
<%=video.Title%> + +
@@ -992,14 +1080,68 @@ line-height: 18px;
- -

Description

-
-

<%-String(video.Description).replace(/\n/g, "
")%>

+ +
+ +
+
+ +
+
+
+ +
+
+ + +
+
+

Description

+
+ +
<%=video.Title%>
+
+ + + + + +
+ +
+ +
+

+ <%=convert(engagement.viewCount)%> +
+

views

+ +

+
+
+

+ <%=convert(engagement.likes)%> +
+

Likes

+ +

+
+
+ +
+ +
+
+ +

<%-String(video.Description).replace(/\n/g, "
")%>

+
More from <%=k.Video.Channel.Name%>
@@ -1055,9 +1197,13 @@ More from <%=k.Video.Channel.Name%>
-
-
-

+
+
+
+ +
+ +
Comments
@@ -1079,44 +1225,13 @@ More from <%=k.Video.Channel.Name%>
-