diff --git a/assets/css/custom.css b/assets/css/custom.css index 7ff9a196..6c57f7ce 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,9 +1,13 @@ a { - color: #333; - text-decoration: none; + color: #333; + text-decoration: none; } a:hover, a:active { - color: #167ac6; -} \ No newline at end of file + color: #167ac6; +} + +.l-box { + padding: 1em; +} diff --git a/src/views/watch.ecr b/src/views/watch.ecr index 2df91664..e70e4029 100644 --- a/src/views/watch.ecr +++ b/src/views/watch.ecr @@ -6,11 +6,13 @@ <%= video.title %> - Invidious <% end %> +
<% if listen %> <%= render "src/views/player/audio.ecr" %> <% else %> <%= render "src/views/player/video.ecr" %> <% end %> +
+

<%= video.info["title"] %> <% if listen %> @@ -84,9 +87,11 @@ function toggle(target) { <% end %>

+
+

<%= number_with_separator(video.views) %>

<%= number_with_separator(video.likes) %>

<%= number_with_separator(video.dislikes) %>

@@ -94,8 +99,10 @@ function toggle(target) {

Rating : <%= rating.round(4) %> / 5

Engagement : <%= engagement.round(2) %>%

+
+