1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 13:34:39 -05:00
poke/css/poketube.css

283 lines
5.6 KiB
CSS
Raw Normal View History

2022-11-05 05:33:43 -04:00
/*
This Source Code Form is subject to the terms of the GNU General Public License:
2022-11-07 12:58:27 -05:00
Copyright (C) 2021-202x POKETUBE (https://github.com/iamashley0/poketube)
2022-11-05 05:33:43 -04: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/.
*/
a.class:hover {
text-decoration: underline;
font-weight: bold;
}
summary {
color: gray;
}
summary:hover {
color: white;
}
:visited {
color: #00c0ff;
}
a {
color: #0ab7f0;
}
.video > .info > .title {
font-family: "PokeTube flex";
font-stretch: extra-expanded;
}
.video-sub-info.description {
2022-11-06 09:47:23 -05:00
font-weight: 600;
2022-11-05 05:33:43 -04:00
margin-top: 8.5em !important;
border-radius: 21px;
background: #1c1c1c;
padding: 10px;
margin-bottom: 20px;
font-stretch: expanded;
justify-self: center;
2022-11-07 12:54:47 -05:00
width: 39em;
2022-11-06 09:47:23 -05:00
font-family: "PokeTube Flex";
2022-11-05 05:33:43 -04:00
border: #7c44a0;
border-style: solid;
margin-left: auto;
margin-right: auto;
2022-11-06 15:28:07 -05:00
position: static;
2022-11-05 05:33:43 -04:00
}
2022-11-06 05:25:18 -05:00
.video-sub-info.description > .video-title {
font-family: "PokeTube Flex";
font-weight: 1000;
font-stretch: extra-expanded;
font-size: larger;
}
2022-11-05 05:33:43 -04:00
.recommended-list {
background-color: #1c1c1c;
border-radius: 25px;
margin: 10px;
margin-right: 10px;
height: fit-content;
justify-self: center;
2022-11-05 08:27:18 -04:00
margin-right: -1.5em;
width: min-content;
2022-11-05 05:33:43 -04:00
border: #7c44a0;
border-style: solid;
}
2022-11-05 08:27:18 -04:00
.video-views {
2022-11-06 05:25:18 -05:00
display: block ruby;
2022-11-05 08:27:18 -04:00
}
2022-11-05 05:33:43 -04:00
.video-info-panel.gradient {
2022-11-06 16:07:59 -05:00
padding: 12px;
2022-11-05 05:33:43 -04:00
border-radius: 11px;
background-image: linear-gradient(
135deg,
#f97794 10%,
#623aa2 100%,
#8e6f7e 100%
);
display: block;
margin: auto;
2022-11-06 23:12:51 -05:00
justify-self: left;
2022-11-05 05:33:43 -04:00
position: absolute;
}
2022-11-07 08:47:23 -05:00
/* RESPONSIVE STUFF */
@media screen and (min-width: 1100px) {
.video-info-panel.gradient {
width: 41em;
}
}
@media screen and (min-width: 1200px) {
.video-info-panel.gradient {
width: 48em;
}
}
@media screen and (min-width: 1300px) {
.video-info-panel.gradient {
width: 54em;
}
}
2022-11-07 12:54:47 -05:00
@media screen and (min-width: 1350px) {
2022-11-06 23:12:51 -05:00
.video-info-panel.gradient {
2022-11-07 12:54:47 -05:00
width: 57em;
2022-11-07 08:47:23 -05:00
}
2022-11-06 23:12:51 -05:00
}
2022-11-07 08:47:23 -05:00
@media screen and (min-width: 1500px) {
.video-info-panel.gradient {
width: 66em;
}
2022-11-06 23:12:51 -05:00
}
2022-11-07 12:54:47 -05:00
@media screen and (min-width: 1400px) {
.video-info-panel.gradient {
width: 60em;
}
}
2022-11-07 08:47:23 -05:00
@media screen and (min-width: 1600px) {
2022-11-06 23:15:49 -05:00
.video-info-panel.gradient {
2022-11-07 12:54:47 -05:00
width: 73em;
2022-11-07 08:47:23 -05:00
}
2022-11-06 23:15:49 -05:00
}
2022-11-07 08:47:23 -05:00
@media screen and (min-width: 1800px) {
.video-info-panel.gradient {
width: 85em;
}
2022-11-06 23:15:49 -05:00
}
2022-11-07 08:47:23 -05:00
/* RESPONSIVE END */
2022-11-06 23:15:49 -05:00
2022-11-05 05:33:43 -04:00
.video-info-pill-channelname {
color: #fff;
word-wrap: break-word;
2022-11-06 05:25:18 -05:00
font-family: "PokeTube Flex";
font-weight: 1000;
font-stretch: ultra-expanded;
2022-11-05 05:33:43 -04: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;
}
.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 16:07:59 -05:00
margin-top: 1.1em;
2022-11-05 05:33:43 -04:00
padding: 4.5px;
2022-11-06 06:00:46 -05:00
background: #0009;
2022-11-05 05:33:43 -04:00
margin-right: -13px;
width: fit-content;
height: fit-content;
border-radius: 43px;
font-size: 15px;
margin-right: auto;
display: flex;
border: none;
}
.video-info-buttons.pill {
2022-11-06 06:00:46 -05:00
background: #0009;
2022-11-05 05:33:43 -04:00
border-radius: 16px;
padding: 4px;
border-style: none;
min-height: 34px;
2022-11-06 05:25:18 -05:00
grid-area: buttons;
display: flex;
flex-direction: row;
column-gap: 8px;
height: min-content;
2022-11-05 05:33:43 -04: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 {
background: #1a1a1a;
border-radius: 30px;
padding: 10px;
padding-top: 0;
margin: auto;
border: #7c44a0;
border-style: solid;
}
2022-11-05 07:36:35 -04:00
2022-11-06 06:00:46 -05:00
.subscribe-button {
color: red;
margin: auto;
background: white;
border-radius: 2em;
margin-right: 6px;
text-transform: initial;
}
.subscribe-button > a {
2022-11-06 15:28:07 -05:00
color: black;
2022-11-06 06:00:46 -05:00
}
2022-11-05 07:36:35 -04:00
.video > .thumbnail > .video-length {
font-size: smaller;
background-color: #0008;
color: #fff;
padding: 2px;
border-radius: 3px;
font-family: PokeTube Flex;
font-stretch: 100%;
font-weight: 600;
2022-11-06 05:25:18 -05:00
}