2022-11-05 10:33:43 +01:00
|
|
|
/*
|
|
|
|
|
|
|
|
This Source Code Form is subject to the terms of the GNU General Public License:
|
|
|
|
|
2022-11-07 18:58:27 +01:00
|
|
|
Copyright (C) 2021-202x POKETUBE (https://github.com/iamashley0/poketube)
|
2022-11-05 10:33:43 +01:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see https://www.gnu.org/licenses/.
|
|
|
|
|
|
|
|
*/
|
2022-12-08 19:27:48 +01:00
|
|
|
:root {
|
|
|
|
/* text */
|
|
|
|
--text-link: #0ab7f0;
|
|
|
|
--text-link-visited: #00c0ff;
|
|
|
|
--text-color: #ffffff;
|
|
|
|
--text-font-primary: "PokeTube Flex";
|
|
|
|
--text-header-weight: 1000;
|
|
|
|
|
|
|
|
/* Divs */
|
|
|
|
--div-gradient: linear-gradient(
|
2022-12-03 12:37:44 +01:00
|
|
|
135deg,
|
|
|
|
#f97794 10%,
|
|
|
|
#623aa2 100%,
|
|
|
|
#8e6f7e 100%
|
|
|
|
);
|
2022-12-08 19:27:48 +01:00
|
|
|
--div-border-color: #7c44a0;
|
|
|
|
--div-prim-bg: #1c1c1c;
|
|
|
|
--div-second-bg: #1a1a1a;
|
|
|
|
--div-transparent-bg: #0009;
|
2022-12-14 16:16:17 +01:00
|
|
|
|
|
|
|
/* video player */
|
|
|
|
|
|
|
|
--video-player-height-max: 720px;
|
|
|
|
--video-player-width-max: 1280px;
|
2022-11-29 18:56:21 +01:00
|
|
|
}
|
|
|
|
|
2022-11-05 10:33:43 +01:00
|
|
|
a.class:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-11-29 18:56:21 +01:00
|
|
|
|
2022-11-05 10:33:43 +01:00
|
|
|
summary {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
summary:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
:visited {
|
2022-11-29 18:56:21 +01:00
|
|
|
color: var(--text-link-visited);
|
2022-11-05 10:33:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2022-11-29 18:56:21 +01:00
|
|
|
color: var(--text-link);
|
2022-11-05 10:33:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.video > .info > .title {
|
2022-12-03 12:37:44 +01:00
|
|
|
font-family: var(--text-font-primary);
|
2022-11-29 18:56:21 +01:00
|
|
|
width: 10em;
|
2022-11-05 10:33:43 +01:00
|
|
|
}
|
|
|
|
|
2022-11-14 21:44:24 +01:00
|
|
|
.video-info-panel > .video-title > a {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-panel > .video-title {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: max-content;
|
|
|
|
display: -webkit-box;
|
2022-11-15 01:56:59 +01:00
|
|
|
word-break: break-all;
|
2022-11-14 21:44:24 +01:00
|
|
|
}
|
|
|
|
|
2022-11-05 10:33:43 +01:00
|
|
|
.video-sub-info.description {
|
2022-12-08 19:27:48 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
min-width: 100%;
|
2022-11-06 15:47:23 +01:00
|
|
|
font-weight: 600;
|
2022-11-15 16:32:37 +01:00
|
|
|
margin-top: 1em !important;
|
2022-11-05 10:33:43 +01:00
|
|
|
border-radius: 21px;
|
2022-12-03 12:37:44 +01:00
|
|
|
background: var(--div-prim-bg);
|
2022-11-05 10:33:43 +01:00
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
font-stretch: expanded;
|
|
|
|
justify-self: center;
|
2022-12-03 12:37:44 +01:00
|
|
|
font-family: var(--text-font-primary);
|
|
|
|
border: var(--div-border-color);
|
2022-11-05 10:33:43 +01:00
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
|
2022-11-06 11:25:18 +01:00
|
|
|
.video-sub-info.description > .video-title {
|
2022-12-03 12:37:44 +01:00
|
|
|
font-family: var(--text-font-primary);
|
2022-11-06 11:25:18 +01:00
|
|
|
font-weight: 1000;
|
|
|
|
font-stretch: extra-expanded;
|
|
|
|
font-size: larger;
|
|
|
|
}
|
|
|
|
|
2022-11-05 10:33:43 +01:00
|
|
|
.recommended-list {
|
2022-12-03 12:37:44 +01:00
|
|
|
background-color: var(--div-prim-bg);
|
2022-11-05 10:33:43 +01:00
|
|
|
border-radius: 25px;
|
|
|
|
margin: 10px;
|
2022-11-29 22:26:50 +01:00
|
|
|
margin-top: 0px;
|
2022-12-08 19:27:48 +01:00
|
|
|
margin-left: 24px;
|
2022-12-10 20:58:54 +01:00
|
|
|
height: -moz-fit-content;
|
2022-11-05 10:33:43 +01:00
|
|
|
height: fit-content;
|
|
|
|
justify-self: center;
|
2022-12-14 17:40:16 +01:00
|
|
|
margin-right: -0.9em;
|
2022-11-29 18:56:21 +01:00
|
|
|
/* width: min-content;*/
|
2022-12-03 12:37:44 +01:00
|
|
|
border: var(--div-border-color);
|
2022-11-05 10:33:43 +01:00
|
|
|
border-style: solid;
|
2022-11-29 18:56:21 +01:00
|
|
|
max-width: 371px;
|
2022-12-01 18:20:04 +01:00
|
|
|
width: max-content;
|
2022-11-05 10:33:43 +01:00
|
|
|
}
|
|
|
|
|
2022-11-05 13:27:18 +01:00
|
|
|
.video-views {
|
2022-11-12 13:51:50 +01:00
|
|
|
white-space: nowrap;
|
2022-11-05 13:27:18 +01:00
|
|
|
}
|
|
|
|
|
2022-11-05 10:33:43 +01:00
|
|
|
.video-info-panel.gradient {
|
2022-11-06 22:07:59 +01:00
|
|
|
padding: 12px;
|
2022-11-05 10:33:43 +01:00
|
|
|
border-radius: 11px;
|
2022-12-03 12:37:44 +01:00
|
|
|
background-image: var(--div-gradient);
|
2022-11-05 10:33:43 +01:00
|
|
|
display: block;
|
2022-12-08 19:27:48 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
min-width: 100%;
|
2022-11-05 10:33:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-pill-channelname {
|
|
|
|
color: #fff;
|
|
|
|
word-wrap: break-word;
|
2022-12-03 12:37:44 +01:00
|
|
|
font-family: var(--text-font-primary);
|
2022-11-06 11:25:18 +01:00
|
|
|
font-weight: 1000;
|
|
|
|
font-stretch: ultra-expanded;
|
2022-11-05 10:33:43 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
line-clamp: 3;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
display: block ruby;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 7em;
|
2022-11-14 21:44:24 +01:00
|
|
|
white-space: nowrap;
|
2022-11-05 10:33:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comments-author.owner {
|
|
|
|
margin: 5px;
|
|
|
|
font-family: inter;
|
|
|
|
white-space: -moz-pre-wrap !important;
|
|
|
|
white-space: -pre-wrap;
|
|
|
|
white-space: -o-pre-wrap;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: anywhere;
|
|
|
|
white-space: -webkit-pre-wrap;
|
|
|
|
word-break: break-all;
|
|
|
|
white-space: normal;
|
|
|
|
background: #4a4a4a;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 6px;
|
|
|
|
width: auto;
|
|
|
|
height: 1.2em;
|
|
|
|
justify-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-chnl-info-pill {
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 48px max-content 1fr min-content;
|
|
|
|
grid-template-rows: 16px 16px;
|
|
|
|
grid-auto-columns: 1fr;
|
|
|
|
column-gap: 8px;
|
|
|
|
row-gap: 4px;
|
|
|
|
grid-auto-flow: row;
|
|
|
|
grid-template-areas: "avatar name . subscribe-button" "avatar subs . subscribe-button";
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 35px;
|
|
|
|
font-family: Inter;
|
|
|
|
clear: both;
|
2022-11-06 22:07:59 +01:00
|
|
|
margin-top: 1.1em;
|
2022-11-05 10:33:43 +01:00
|
|
|
padding: 4.5px;
|
2022-11-06 12:00:46 +01:00
|
|
|
background: #0009;
|
2022-11-05 10:33:43 +01:00
|
|
|
margin-right: -13px;
|
|
|
|
width: fit-content;
|
|
|
|
height: fit-content;
|
2022-12-10 20:58:54 +01:00
|
|
|
width: -moz-fit-content;
|
|
|
|
height: -moz-fit-content;
|
2022-11-05 10:33:43 +01:00
|
|
|
border-radius: 43px;
|
|
|
|
font-size: 15px;
|
|
|
|
margin-right: auto;
|
|
|
|
display: flex;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-buttons.pill {
|
|
|
|
border-radius: 16px;
|
|
|
|
padding: 4px;
|
|
|
|
border-style: none;
|
|
|
|
min-height: 34px;
|
2022-11-06 11:25:18 +01:00
|
|
|
grid-area: buttons;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2022-11-24 21:28:18 +01:00
|
|
|
column-gap: 3px;
|
2022-11-06 11:25:18 +01:00
|
|
|
height: min-content;
|
2022-12-10 20:58:54 +01:00
|
|
|
width: -moz-fit-content;
|
|
|
|
|
2022-11-05 10:33:43 +01:00
|
|
|
width: fit-content;
|
|
|
|
text-align: right;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: inherit;
|
|
|
|
justify-content: center;
|
|
|
|
justify-items: center;
|
|
|
|
justify-self: center;
|
|
|
|
margin-top: -2.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comments-author {
|
|
|
|
margin: 7px;
|
|
|
|
font-family: inter;
|
|
|
|
white-space: -moz-pre-wrap !important;
|
|
|
|
white-space: -pre-wrap;
|
|
|
|
white-space: -o-pre-wrap;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: anywhere;
|
|
|
|
white-space: -webkit-pre-wrap;
|
|
|
|
word-break: break-all;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comments-class-or-something-i-cant-find-a-name-lol {
|
2022-12-03 12:37:44 +01:00
|
|
|
background: var(--div-second-bg);
|
2022-11-05 10:33:43 +01:00
|
|
|
border-radius: 30px;
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 0;
|
|
|
|
margin: auto;
|
2022-12-03 12:37:44 +01:00
|
|
|
border: var(--div-border-color);
|
2022-11-05 10:33:43 +01:00
|
|
|
border-style: solid;
|
|
|
|
}
|
2022-11-05 12:36:35 +01:00
|
|
|
|
2022-11-06 12:00:46 +01:00
|
|
|
.subscribe-button {
|
|
|
|
color: red;
|
|
|
|
margin: auto;
|
|
|
|
background: white;
|
|
|
|
border-radius: 2em;
|
|
|
|
margin-right: 6px;
|
|
|
|
text-transform: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subscribe-button > a {
|
2022-11-06 21:28:07 +01:00
|
|
|
color: black;
|
2022-11-06 12:00:46 +01:00
|
|
|
}
|
|
|
|
|
2022-11-05 12:36:35 +01:00
|
|
|
.video > .thumbnail > .video-length {
|
|
|
|
font-size: smaller;
|
|
|
|
background-color: #0008;
|
|
|
|
color: #fff;
|
|
|
|
padding: 2px;
|
|
|
|
border-radius: 3px;
|
2022-12-03 12:37:44 +01:00
|
|
|
font-family: var(--text-font-primary);
|
2022-11-05 12:36:35 +01:00
|
|
|
font-stretch: 100%;
|
|
|
|
font-weight: 600;
|
2022-11-06 11:25:18 +01:00
|
|
|
}
|
2022-11-21 17:17:50 +01:00
|
|
|
|
|
|
|
.tags {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
overflow-x: auto;
|
|
|
|
column-gap: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
background: #333;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 4px;
|
|
|
|
word-break: break-all;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-11-24 21:28:18 +01:00
|
|
|
|
|
|
|
.new-button {
|
2022-11-29 18:56:21 +01:00
|
|
|
background: #0009;
|
|
|
|
border-radius: 2em;
|
|
|
|
padding-right: 1em;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
|
|
|
align-self: center;
|
2022-11-24 21:28:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.pill-button {
|
2022-11-29 18:56:21 +01:00
|
|
|
margin-left: 1em;
|
2022-11-24 21:28:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.vertical {
|
|
|
|
border-left: 1px solid gray;
|
|
|
|
height: 15px;
|
|
|
|
}
|
2022-12-08 19:27:48 +01:00
|
|
|
|
|
|
|
.date-publish {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-top: 12px;
|
|
|
|
font-size: small;
|
|
|
|
color: gray !important;
|
2022-12-09 12:36:46 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
|
2022-12-08 19:27:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.video > .thumbnail {
|
|
|
|
border: 1px white solid;
|
|
|
|
}
|
2022-12-14 16:16:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.video-player-container {
|
2022-12-14 16:34:38 +01:00
|
|
|
max-width: max-content;
|
2022-12-14 16:16:17 +01:00
|
|
|
margin: inherit;
|
2022-12-14 16:58:21 +01:00
|
|
|
max-height: fit-content;
|
|
|
|
max-height: -moz-fit-content;
|
|
|
|
|
|
|
|
aspect-ratio: 16 / 9;
|
2022-12-14 16:16:17 +01:00
|
|
|
}
|