1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 11:14:38 -05:00
poke/css/mobile.css

2109 lines
36 KiB
CSS
Raw Normal View History

2022-12-09 06:37:25 -05:00
body {
2023-02-02 07:06:11 -05:00
max-width: 100%;
overflow-x: hidden; /* Hide horizontal scrollbar */
color: #111111;
}
html,
body {
overflow-x: hidden;
font-family:ubuntu, sans-serif;
}
body {
position: relative;
}
* {
font-family:ubuntu, sans-serif;
}
.animated {
-webkit-animation-duration: 10s;
animation-duration: 10s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-o-animation-iteration-count: infinite;
}
.v-chip:not(.v-chip--outlined).accent,
.v-chip:not(.v-chip--outlined).error,
.v-chip:not(.v-chip--outlined).info,
.v-chip:not(.v-chip--outlined).primary,
.v-chip:not(.v-chip--outlined).secondary,
.v-chip:not(.v-chip--outlined).success,
.v-chip:not(.v-chip--outlined).warning {
color: #fff;
}
.theme--light.v-chip {
border-color: rgba(0, 0, 0, 0.12);
color: rgba(0, 0, 0, 0.87);
}
.theme--light.v-chip:not(.v-chip--active) {
background: #e0e0e0;
}
.theme--light.v-chip:hover:before {
opacity: 0.04;
}
.theme--light.v-chip--active:before,
.theme--light.v-chip--active:hover:before,
.theme--light.v-chip:focus:before {
opacity: 0.12;
}
.theme--light.v-chip--active:focus:before {
opacity: 0.16;
}
.theme--dark.v-chip {
border-color: hsla(0, 0%, 100%, 0.12);
color: #fff;
}
.theme--dark.v-chip:not(.v-chip--active) {
background: #555;
}
.theme--dark.v-chip:hover:before {
opacity: 0.08;
}
.theme--dark.v-chip--active:before,
.theme--dark.v-chip--active:hover:before,
.theme--dark.v-chip:focus:before {
opacity: 0.24;
}
.theme--dark.v-chip--active:focus:before {
opacity: 0.32;
}
.v-chip {
align-items: center;
cursor: default;
display: inline-flex;
line-height: 20px;
max-width: 100%;
outline: none;
overflow: hidden;
padding: 0 12px;
position: relative;
text-decoration: none;
transition-duration: 0.28s;
transition-property: box-shadow, opacity;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
vertical-align: middle;
white-space: nowrap;
}
.v-chip:before {
background-color: currentColor;
bottom: 0;
border-radius: inherit;
content: "";
left: 0;
opacity: 0;
position: absolute;
pointer-events: none;
right: 0;
top: 0;
}
.v-chip .v-avatar {
height: 24px !important;
min-width: 24px !important;
width: 24px !important;
}
.v-chip .v-icon {
font-size: 24px;
}
.v-application--is-ltr .v-chip .v-avatar--left,
.v-application--is-ltr .v-chip .v-icon--left {
margin-left: -6px;
margin-right: 6px;
}
.v-application--is-ltr .v-chip .v-avatar--right,
.v-application--is-ltr .v-chip .v-icon--right,
.v-application--is-rtl .v-chip .v-avatar--left,
.v-application--is-rtl .v-chip .v-icon--left {
margin-left: 6px;
margin-right: -6px;
}
.v-application--is-rtl .v-chip .v-avatar--right,
.v-application--is-rtl .v-chip .v-icon--right {
margin-left: -6px;
margin-right: 6px;
}
.v-chip:not(.v-chip--no-color) .v-icon {
color: inherit;
}
.v-chip .v-chip__close.v-icon {
font-size: 18px;
max-height: 18px;
max-width: 18px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.v-application--is-ltr .v-chip .v-chip__close.v-icon.v-icon--right {
margin-right: -4px;
}
.v-application--is-rtl .v-chip .v-chip__close.v-icon.v-icon--right {
margin-left: -4px;
}
.v-chip .v-chip__close.v-icon:active,
.v-chip .v-chip__close.v-icon:focus,
.v-chip .v-chip__close.v-icon:hover {
opacity: 0.72;
}
.v-chip .v-chip__content {
align-items: center;
display: inline-flex;
height: 100%;
max-width: 100%;
}
.v-chip--active .v-icon {
color: inherit;
}
.v-chip--link:before {
transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
}
.v-chip--link:focus:before {
opacity: 0.32;
}
.v-chip--clickable {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.v-chip--clickable:active {
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.v-chip--disabled {
opacity: 0.4;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.v-chip__filter {
max-width: 24px;
}
.v-chip__filter.v-icon {
color: inherit;
}
.v-chip__filter.expand-x-transition-enter,
.v-chip__filter.expand-x-transition-leave-active {
margin: 0;
}
.v-chip--pill .v-chip__filter {
margin-right: 0 16px 0 0;
}
.v-chip--pill .v-avatar {
height: 32px !important;
width: 32px !important;
}
.v-application--is-ltr .v-chip--pill .v-avatar--left {
margin-left: -12px;
}
.v-application--is-ltr .v-chip--pill .v-avatar--right,
.v-application--is-rtl .v-chip--pill .v-avatar--left {
margin-right: -12px;
}
.v-application--is-rtl .v-chip--pill .v-avatar--right {
margin-left: -12px;
}
.v-chip--label {
border-radius: 4px !important;
}
.v-chip.v-chip--outlined {
border-width: thin;
border-style: solid;
}
.v-chip.v-chip--outlined.v-chip--active:before {
opacity: 0.08;
}
.v-chip.v-chip--outlined .v-icon {
color: inherit;
}
.v-chip.v-chip--outlined.v-chip.v-chip {
background-color: transparent !important;
}
.v-chip.v-chip--selected {
background: transparent;
}
.v-chip.v-chip--selected:after {
opacity: 0.28;
}
.v-chip.v-size--x-small {
border-radius: 8px;
font-size: 10px;
height: 16px;
}
.v-chip.v-size--small {
border-radius: 12px;
font-size: 12px;
height: 24px;
}
.v-chip.v-size--default {
border-radius: 16px;
font-size: 14px;
height: 32px;
}
.v-chip.v-size--large {
border-radius: 27px;
font-size: 16px;
height: 54px;
}
.v-chip.v-size--x-large {
border-radius: 33px;
font-size: 18px;
height: 66px;
}
.new-button {
background: #0009;
border-radius: 2em;
padding-right: 1em;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
width: max-content;
margin-top: 4px;
margin-left: 3px;
margin-right: 0;
}
.pill-button {
margin-left: 1em;
}
.vertical {
border-left: 1px solid gray;
height: 15px;
}
@-webkit-keyframes wiggle {
0% {
-webkit-transform: skewX(9deg);
}
10% {
-webkit-transform: skewX(-8deg);
}
20% {
-webkit-transform: skewX(7deg);
}
30% {
-webkit-transform: skewX(-6deg);
}
40% {
-webkit-transform: skewX(5deg);
}
50% {
-webkit-transform: skewX(-4deg);
}
60% {
-webkit-transform: skewX(3deg);
}
70% {
-webkit-transform: skewX(-2deg);
}
80% {
-webkit-transform: skewX(1deg);
}
90% {
-webkit-transform: skewX(0deg);
}
100% {
-webkit-transform: skewX(0deg);
}
}
@keyframes wiggle {
0% {
transform: skewX(9deg);
}
10% {
transform: skewX(-8deg);
}
20% {
transform: skewX(7deg);
}
30% {
transform: skewX(-6deg);
}
40% {
transform: skewX(5deg);
}
50% {
transform: skewX(-4deg);
}
60% {
transform: skewX(3deg);
}
70% {
transform: skewX(-2deg);
}
80% {
transform: skewX(1deg);
}
90% {
transform: skewX(0deg);
}
100% {
transform: skewX(0deg);
}
}
.wiggle {
-webkit-animation-name: wiggle;
animation-name: wiggle;
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
.animated.wiggle {
-webkit-animation-duration: 0.75s;
animation-duration: 0.75s;
}
:root {
--text-primary: #fff;
--text-secondary: #fff;
--text-link: #0ab7f0;
--app-background: #0a0101;
--context-menu-background: #333;
--border-color: #444;
--item-hover-background: #373737;
--item-active-background: #383838;
--top-bar-background: #202020;
--guide-background: #212121;
--thumbnail-background: #252525;
--channel-info-background: #181818;
--channel-contents-background: #0f0f0f;
/* text */
--text-link: #0ab7f0 !important;
--text-link-visited: #00c0ff;
--text-color: #ffffff;
--text-font-primary: "PokeTube Flex";
--text-header-weight: 1000;
/* Divs */
--div-gradient: linear-gradient(
135deg,
#f97794 10%,
#623aa2 100%,
#8e6f7e 100%
);
--div-border-color: #7c44a0;
--div-prim-bg: #1c1c1c;
--div-second-bg: #1a1a1a;
--div-transparent-bg: #0009;
}
@font-face {
font-family: "Ginto Nord";
font-weight: 800;
src: url("https://p.poketube.fun/https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto-Nord-800.woff")
format("woff");
}
.alert {
padding: 20px;
background-color: #f44336;
color: white;
opacity: 1;
transition: opacity 0.6s;
margin-bottom: 15px;
}
.alert.success {
background-color: #04aa6d;
}
.alert.info {
background-color: #2196f3;
}
.alert.warning {
background-color: #ff9800;
}
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
.closebtn:hover {
color: black;
}
:visited {
color: #00c0ff;
}
a {
color: #0ab7f0;
}
.fromtheweb-outer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
-moz-box-pack: justify;
padding: 10px;
margin-bottom: 12px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
.fromtheweb-inner {
-moz-box-align: center;
text-align: left;
font-size: 14px;
-moz-box-pack: center;
justify-content: center;
padding: 0px 0px;
line-height: 18px;
}
#desc-container .backtotop {
margin: 0%;
display: none;
}
#desc-container .backtotop a {
margin-top: 0.5em;
}
#desc .close {
display: none;
}
#desc {
font-size: 0.94em;
line-height: 1.2em;
text-align: left;
padding: 0.6em 3%;
margin: 0;
background: #000;
border-top: none;
border-radius: 4px;
height: 100%;
}
#set-language {
margin-bottom: 0.2em;
}
#set-language + p {
display: inline-block;
font-size: 1em; /* 15px */
margin: 0.45em 0 0;
}
#descs {
padding: 0.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: -18.9em;
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: 0.1em;
cursor: pointer;
}
#descs {
column-width: 10em;
column-count: 3;
column-gap: 0;
}
#descs span {
display: block;
}
#descs span a {
display: inline-block;
}
#comments-container .backtotop {
margin: 0%;
display: none;
}
#comments-container .backtotop a {
margin-top: 0.5em;
}
#comments .close {
display: none;
}
#comments {
font-size: 0.94em;
line-height: 1.2em;
text-align: left;
padding: 0.6em 3%;
margin: 0;
background: #000;
border-top: none;
border-radius: 4px;
height: 100%;
}
#set-language {
margin-bottom: 0.2em;
}
#set-language + p {
display: inline-block;
font-size: 1em; /* 15px */
margin: 0.45em 0 0;
}
#commentss {
padding: 0.4em 0;
}
#commentss p {
margin: 0;
font-weight: 900;
font-stretch: ultra-expanded;
padding: 3px;
}
#commentss span {
display: inline-block;
width: 10.5em;
line-height: 2em;
}
#commentss span a {
line-height: 1.9em;
}
#commentss span.original {
font-weight: bold;
}
/* Display/hide language list */
#comments-container {
display: none;
}
#comments-container:target {
display: block;
}
#rec-cont:target {
display: none;
}
#rec-cont {
display: block;
}
.backtotop b {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
body {
position: relative;
}
#comments-container {
position: absolute;
margin-top: -18.9em;
left: 0;
width: 100%;
height: 100%;
}
#language-container .backtotop a {
position: absolute;
width: 100%;
height: 100%;
background: transparent;
border: none;
margin-top: 0;
}
#comments .close {
float: right;
display: block;
}
#comments .close span {
display: none;
}
#comments .close:after {
content: "\2A09";
float: right;
position: relative;
bottom: 0.1em;
cursor: pointer;
}
#commentss {
column-width: 10em;
column-count: 3;
column-gap: 0;
}
#commentss span {
display: block;
}
#commentss span a {
display: inline-block;
}
.description {
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
word-break: break-all;
white-space: normal;
}
.desc {
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
word-break: break-all;
white-space: normal;
}
#more-button-container .backtotop {
margin: 0%;
display: none;
}
#more-button-container .backtotop a {
margin-top: 0.5em;
}
#more-button .close {
display: none;
}
#more-button {
font-size: 0.94em;
line-height: 1.2em;
text-align: left;
padding: 0.6em 3%;
margin: 0;
background: #000;
border-top: none;
border-radius: 4px;
height: 100%;
}
#set-language {
margin-bottom: 0.2em;
}
#set-language + p {
display: inline-block;
font-size: 1em; /* 15px */
margin: 0.45em 0 0;
}
#more-buttons {
padding: 0.4em 0;
}
#more-buttons p {
margin: 0;
font-weight: 900;
font-stretch: ultra-expanded;
padding: 3px;
}
#more-buttons span {
display: inline-block;
width: 10.5em;
line-height: 2em;
}
#more-buttons span a {
line-height: 1.9em;
}
#more-buttons span.original {
font-weight: bold;
}
/* Display/hide language list */
#more-button-container {
display: none;
}
#more-button-container:target {
display: block;
}
#rec-cont:target {
display: none;
}
#rec-cont {
display: block;
}
.backtotop b {
display: none;
}
body {
position: relative;
}
#more-button-container {
position: absolute;
margin-top: -18.9em;
left: 0;
width: 100%;
height: 100%;
}
#language-container .backtotop a {
position: absolute;
width: 100%;
height: 100%;
background: transparent;
border: none;
margin-top: 0;
}
#more-button .close {
float: right;
display: block;
}
#more-button.close span {
display: none;
}
#more-button .close:after {
content: "\2A09";
float: right;
position: relative;
bottom: 0.1em;
cursor: pointer;
}
#more-buttons {
column-width: 10em;
column-count: 3;
column-gap: 0;
}
#more-buttons span {
display: block;
}
#more-buttons span a {
display: inline-block;
}
.date-publish {
}
/* common stuff */
.max-lines-1 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
line-clamp: 1;
-webkit-box-orient: vertical;
}
.max-lines-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
/* shared layout */
body {
margin: 48px 0;
padding: 0;
font-family: sans-serif;
}
html {
background-color: var(--app-background);
}
body.noguide {
grid-template-areas: "top-bar top-bar" "app app";
}
* {
box-sizing: border-box;
color: var(--text-secondary);
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--text-primary);
}
.top-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 48px;
display: flex;
align-items: center;
padding: 0 16px;
box-shadow: #0004 0 2px 5px;
background-color: var(--top-bar-background);
z-index: 9999;
}
.top-bar > form {
display: none;
}
.top-bar > .divider {
flex-grow: 1;
}
.guide {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 48px;
border-top: 1px solid var(--border-color);
display: flex;
flex-direction: row;
justify-content: space-around;
background-color: var(--guide-background);
}
.top-bar.full-size-search > .logo,
.top-bar.full-size-search > .divider,
.top-bar.full-size-search > .search-button,
.top-bar.full-size-search > .account {
display: none;
}
.top-bar.full-size-search > form {
height: 40px;
flex-grow: 1;
display: flex !important;
}
.top-bar.full-size-search > form > input {
box-sizing: border-box;
height: 40px;
border: 1px solid var(--border-color);
border-radius: 0;
color: var(--text-primary);
background-color: var(--item-active-background);
}
.top-bar.full-size-search > form > input[type="text"] {
flex-grow: 1;
}
.top-bar.full-size-search > form > input[type="submit"] {
width: 64px;
flex-basis: 64px;
}
.app {
background-color: var(--app-background);
margin-top: 48px;
}
a.icon-link,
a.icon-link > i {
width: 32px;
height: 32px;
line-height: 32px;
text-align: center;
}
.noguide > .guide {
display: none;
}
/* guide */
.guide-item > a {
height: 100%;
padding: 0 24px;
display: flex;
text-align: center;
flex-direction: column;
font-size: x-small;
align-items: center;
text-decoration: none;
justify-content: center;
color: var(--text-primary);
}
.guide-item > a > .icon {
width: 24px;
height: 24px;
line-height: 24px;
font-size: initial;
margin-right: 0;
}
.guide-item:hover {
background-color: var(--item-hover-background);
}
.guide-item.active {
background-color: var(--item-active-background);
}
.hide-on-minmode {
display: none;
}
.show-on-minmode {
display: none;
}
/* top bar */
.logo {
color: var(--text-primary) !important;
text-decoration: none;
font-size: larger;
}
.account {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
}
.account > img {
width: 32px;
height: 32px;
}
.account-menu {
display: none;
}
.search-button {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
}
/* rich video grid */
@media screen and (min-width: 850px) {
.rich-video-grid {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 16px 16px;
padding-top: 16px;
justify-content: space-evenly;
}
.rich-video-grid > .video {
display: grid;
grid-template-columns: 52px 1fr;
grid-template-rows: min-content min-content;
grid-auto-flow: row;
grid-gap: 10px 0;
grid-template-areas:
"thumbnail thumbnail"
"avatar info";
margin-bottom: 16px;
width: 400px;
}
}
@media screen and (max-width: 850px) {
.rich-video-grid {
width: 100%;
}
.rich-video-grid > .video {
display: grid;
grid-template-columns: 52px 1fr;
grid-template-rows: min-content min-content;
grid-auto-flow: row;
grid-gap: 10px 0;
grid-template-areas:
"thumbnail thumbnail"
"avatar info";
margin-bottom: 16px;
}
}
/* list video item */
.video a {
text-decoration: none;
color: #606060;
}
.video > .thumbnail {
grid-area: thumbnail;
background-color: #ccc;
width: 100%;
height: fit-content;
aspect-ratio: 16 / 9;
display: flex;
justify-content: flex-end;
align-items: flex-end;
padding: 4px;
background-position-y: center;
background-size: cover;
}
.video > .thumbnail.img-thumbnail {
padding: 0 !important;
}
.video > .thumbnail > img {
object-fit: cover;
width: 100%;
height: 100%;
}
.video > .thumbnail > span {
font-size: smaller;
background-color: #0008;
color: #fff;
padding: 2px;
border-radius: 2px;
}
.video > .avatar {
grid-area: avatar;
width: 36px;
height: 36px;
border-radius: 18px;
background-color: #e3e3e3;
margin-left: 12px;
}
.video > .avatar > img {
width: 36px;
height: 36px;
border-radius: 18px;
}
.video > .info {
grid-area: info;
}
.video > .info > div {
display: flex;
flex-direction: row;
flex-wrap: wrap;
color: #606060;
column-gap: 8px;
overflow-y: hidden;
}
.video > .info > .title {
color: var(--text-primary) !important;
}
/* playlist video item */
.playlist-video a {
text-decoration: none;
color: #606060;
}
.playlist-video > .thumbnail {
grid-area: thumbnail;
background-color: #ccc;
width: 100%;
height: fit-content;
aspect-ratio: 16 / 9;
display: flex;
justify-content: flex-end;
align-items: flex-end;
padding: 4px;
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
background-position-y: center;
background-size: cover;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .thumbnail > span {
font-size: smaller;
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
background-color: #0008;
color: #fff;
padding: 2px;
border-radius: 2px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .avatar {
grid-area: avatar;
width: 36px;
height: 36px;
border-radius: 18px;
background-color: #e3e3e3;
margin-left: 12px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .avatar > img {
width: 36px;
height: 36px;
border-radius: 18px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .info {
grid-area: info;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .info > div {
display: flex;
flex-direction: row;
flex-wrap: wrap;
color: #606060;
column-gap: 8px;
overflow-y: hidden;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .info > .title {
color: var(--text-primary) !important;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .index {
grid-area: index;
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-video > .edit {
grid-area: edit;
display: flex;
justify-content: center;
align-items: center;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* list playlist item */
.playlist a {
text-decoration: none;
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .thumbnail {
grid-area: thumbnail;
background-color: #ccc;
display: flex;
justify-content: flex-end;
align-items: center;
background-position-y: center;
background-size: cover;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .thumbnail > div {
font-size: smaller;
background-color: #0008;
color: #fff;
padding: 2px;
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
row-gap: 8px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .thumbnail > div > * {
color: #fff;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .thumbnail > div > *:nth-child(1) {
font-size: x-large;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .info {
grid-area: info;
font-size: small;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .info > div > ul {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist > .info > .title {
color: var(--text-primary) !important;
font-weight: bold;
font-size: initial;
margin-bottom: 8px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* list playlist item */
.channel a {
text-decoration: none;
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel > .avatar {
grid-area: thumbnail;
display: flex;
justify-content: center;
align-items: center;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel > .avatar > img {
background-color: #ccc;
height: 90px;
width: 90px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel > .info {
grid-area: info;
font-size: small;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel > .info > .name {
color: var(--text-primary) !important;
font-weight: bold;
font-size: initial;
margin-bottom: 8px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel > .info p {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* watch page */
.watch-page {
display: grid;
grid-template-columns: 1fr 256px;
grid-template-rows: 1fr;
grid-template-areas: "primary secondary";
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
@media screen and (max-width: 900px) {
.watch-page {
grid-template-areas: "primary" "secondary";
grid-template-columns: 1fr;
grid-template-rows: max-content 1fr;
}
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.primary {
grid-area: primary;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-player-container {
max-width: 100%;
margin: auto;
max-height: 75vh;
aspect-ratio: 16 / 9;
background-color: #000;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.player {
width: 100%;
height: 100%;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.player.error {
display: flex;
align-items: center;
justify-content: center;
background-color: #ccc;
background-image: url("/img/player-error.png") !important;
background-size: contain;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.player.error > * {
background-color: #000;
color: #fff;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info {
padding: 12px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-title {
font-size: large;
color: var(--text-primary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-bar {
font-size: small;
display: grid;
grid-auto-columns: 1fr;
grid-template-columns: max-content max-content max-content 1fr max-content;
grid-template-rows: max-content max-content;
gap: 0 8px;
grid-template-areas:
"views . uploaddate divider"
"buttons buttons buttons buttons";
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-bar > span:nth-child(1) {
grid-area: views;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-bar > .divider {
grid-area: divider;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-bar > span:nth-child(3) {
grid-area: uploaddate;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-bar > .video-info-buttons {
grid-area: buttons;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-buttons {
display: flex;
justify-content: space-evenly;
flex-direction: row;
column-gap: 8px;
padding: 8px 0;
2023-02-02 07:05:37 -05:00
}
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
.video-info-buttons > * {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
column-gap: 4px;
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-info-buttons > * > i.bi {
font-size: x-large;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-info,
.channel-info__bordered {
display: grid;
grid-template-columns: 34px max-content 1fr min-content;
grid-template-rows: 34px;
grid-auto-columns: 1fr;
gap: 8px;
grid-auto-flow: row;
grid-template-areas: "avatar name . subscribe-button";
padding: 8px 0;
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.avatar {
grid-area: avatar;
2023-02-02 07:05:37 -05:00
}
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
.avatar > img {
width: 100%;
height: 100%;
border-radius: 50%;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.name {
grid-area: name;
display: flex;
flex-direction: column;
justify-content: center;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.name > a {
color: var(--text-primary);
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.name > span {
font-size: small;
color: var(--text-secondary);
2023-02-02 07:05:37 -05:00
}
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
.subscribe-button {
grid-area: subscribe-button;
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
background-color: #0000;
color: #c00;
text-transform: uppercase;
border: none;
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
height: 100%;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.subscribe-button.subscribed {
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.secondary {
grid-area: secondary;
padding: 16px 8px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.resolutions-list {
width: 100%;
padding: 4px;
border: 1px solid var(--border-color);
margin-bottom: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.resolutions-list > div {
display: flex;
flex-direction: column;
column-gap: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.resolutions-list > div > * {
line-height: 32px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.recommended-list {
display: flex;
flex-direction: column;
row-gap: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.recommended-list > .video {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr max-content;
grid-auto-flow: row;
grid-gap: 0 8px;
grid-template-areas: "thumbnail" "info";
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.recommended-list > .video > .info {
font-size: small;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.recommended-list > .video > .info > a {
font-size: initial;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.recommended-list > .video > .info > div {
flex-wrap: wrap;
max-height: unset;
2023-02-02 07:05:37 -05:00
}
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
/* channel page */
.channel-banner {
2022-12-09 06:37:25 -05:00
display: block;
2023-02-02 07:06:11 -05:00
width: 100%;
height: auto;
aspect-ratio: 6.2;
background-color: #000a;
background-size: contain;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-info-container {
background-color: var(--channel-info-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-info-container > .channel-info {
grid-template-columns: 50px 1fr;
grid-template-rows: 50px min-content;
grid-template-areas: "avatar name" ". subscribe-button";
column-gap: 16px;
padding: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-info-container > .channel-info > .subscribe-button {
width: max-content;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-info-container > .channel-info > .name > *:first-child {
font-size: larger;
color: var(--text-primary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-info-container > .channel-info > .name > * {
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-page > p {
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.channel-page .video-grid {
background-color: var(--channel-contents-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* card list item */
.card-list {
display: flex;
flex-direction: row;
overflow-x: scroll;
column-gap: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.card {
width: 150px;
background: var(--context-menu-background);
border: 1px solid var(--border-color);
border-radius: 8px;
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.card > img {
aspect-ratio: 16 / 9;
width: 150px;
height: fit-content;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.card > span {
2022-12-09 06:37:25 -05:00
text-decoration: none;
2023-02-02 07:06:11 -05:00
color: var(--text-primary);
margin: 0 8px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* channel video "grid" */
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
.video-grid {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
column-gap: 16px;
row-gap: 12px;
padding: 0 12px;
}
.video-grid > .video {
display: grid;
grid-template-columns: 160px 1fr;
grid-template-rows: 90px;
grid-auto-flow: row;
grid-gap: 10px 10px;
grid-template-areas: "thumbnail info";
color: var(--text-secondary);
2023-02-02 07:05:37 -05:00
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-grid > .avatar {
display: none;
}
.video-grid > .video > .info > span {
font-weight: bold;
font-size: initial;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-grid > .video > .info > div > div {
2022-12-09 06:37:25 -05:00
display: flex;
2023-02-02 07:06:11 -05:00
flex-direction: column;
2022-12-09 06:37:25 -05:00
flex-wrap: wrap;
2023-02-02 07:06:11 -05:00
}
/* Pagination links */
.pagination-buttons {
border-top: 1px solid var(--border-color);
2022-12-09 06:37:25 -05:00
width: 100%;
2023-02-02 07:06:11 -05:00
display: flex;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.pagination-buttons > * {
height: 3rem;
line-height: 3rem;
color: var(--text-secondary);
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.pagination-buttons > .divider {
flex-grow: 1;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* normal video list */
.video-list {
margin: auto;
display: flex;
flex-direction: column;
row-gap: 16px;
padding: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .video {
text-decoration: none;
display: grid;
grid-template-columns: 160px;
grid-template-rows: 90px;
grid-auto-flow: row;
grid-gap: 0 16px;
grid-template-areas: "thumbnail info";
color: var(--text-secondary);
font-size: small;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .playlist-video {
text-decoration: none;
display: grid;
grid-template-columns: 160px 1fr 50px;
grid-template-rows: 90px;
grid-auto-flow: row;
grid-gap: 0 16px;
grid-template-areas: "thumbnail info edit";
color: var(--text-secondary);
font-size: small;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .video > .info > .title,
.video-list > .playlist-video > .info > .title {
font-weight: bold;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .video > .info > div > a > img {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .playlist {
text-decoration: none;
display: grid;
grid-template-columns: 160px;
grid-template-rows: 90px;
grid-auto-flow: row;
grid-gap: 0 16px;
grid-template-areas: "thumbnail info";
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .channel {
text-decoration: none;
display: grid;
grid-template-columns: 160px 1fr max-content;
grid-template-rows: 90px;
grid-auto-flow: row;
grid-gap: 0 16px;
grid-template-areas: "thumbnail info subscribe-button";
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.video-list > .channel > .subscribe-button {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* Playlist page */
.playlist-info > .thumbnail {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
background-color: var(--thumbnail-background);
background-size: contain;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-info > .thumbnail > a {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-info > .title {
font-size: x-large;
color: var(--text-primary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-info {
background-color: var(--channel-contents-background);
padding-bottom: 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-info > .title,
.playlist-info > .info,
.playlist-info > .description {
display: block;
padding: 0 16px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.playlist-info > .channel-info {
display: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* horizontal channel list */
.horizontal-channel-list {
display: flex;
column-gap: 16px;
padding: 16px;
overflow-x: scroll;
background-color: var(--item-hover-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.horizontal-channel-list > .channel {
text-decoration: none;
display: flex;
flex-direction: column;
row-gap: 4px;
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.horizontal-channel-list > .channel > div {
font-size: small;
text-align: center;
width: 48px;
color: var(--text-secondary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.horizontal-channel-list > .channel > img {
width: 48px;
height: 48px;
border-radius: 50%;
background-color: var(--thumbnail-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.horizontal-channel-list > .channel > i {
font-size: 24px;
line-height: 48px;
text-align: center;
width: 48px;
height: 48px;
border-radius: 50%;
background-color: var(--thumbnail-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* Login / Register / Delete pages */
.login-container {
display: flex;
flex-direction: row;
padding: 24px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
@media screen and (max-width: 1300px) {
.login-container {
flex-direction: column;
}
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-container > * {
flex: 1 1 0;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-container > * > div {
max-width: 600px;
margin: auto;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-form {
2022-12-09 06:37:25 -05:00
display: flex;
2023-02-02 07:06:11 -05:00
flex-direction: column;
max-width: 400px;
row-gap: 10px;
margin: auto;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-form > input,
.login-button {
background-color: var(--item-active-background);
color: var(--text-primary);
border: 1px solid var(--border-color);
padding: 10px;
max-width: 400px;
row-gap: 10px;
margin: auto;
}
.playlist-form {
display: flex;
flex-direction: column;
max-width: 400px;
row-gap: 10px;
margin: auto;
}
.playlist-form > input,
.playlist-form > select,
.login-button {
background-color: var(--item-active-background);
color: var(--text-primary);
border: 1px solid var(--border-color);
padding: 10px;
width: 80%;
row-gap: 10px;
margin: auto;
}
.login-button {
background-color: var(--item-active-background);
color: var(--text-primary);
display: block;
text-align: center;
2022-12-09 06:37:25 -05:00
text-decoration: none;
2023-02-02 07:06:11 -05:00
width: fit-content;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-button.danger {
2022-12-09 06:37:25 -05:00
color: red;
2023-02-02 07:06:11 -05:00
font-weight: bold;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-form > h1 {
text-align: center;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.login-message {
width: calc(100% - 96px);
margin: 48px;
padding: 16px;
border: 1px solid var(--border-color);
background-color: var(--item-active-background);
border-radius: 5px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* Account Menu */
2022-12-09 06:37:25 -05:00
2023-02-02 07:06:11 -05:00
.fullscreen-account-menu > .guide-item:hover {
background-color: var(--item-hover-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.fullscreen-account-menu > .guide-item > a {
height: 40px;
2022-12-09 06:37:25 -05:00
display: flex;
2023-02-02 07:06:11 -05:00
align-items: start;
color: var(--text-primary);
text-decoration: none;
font-size: initial;
padding: 0;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.fullscreen-account-menu > .guide-item > a > .icon {
height: 24px;
width: 24px;
margin-right: 24px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.fullscreen-account-menu > .guide-item.active {
background-color: var(--item-active-background);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* download page */
.download-list {
2023-02-02 07:05:37 -05:00
display: flex;
flex-direction: row;
2023-02-02 07:06:11 -05:00
flex-wrap: wrap;
column-gap: 32px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.download-format {
max-width: 400px;
padding: 8px;
2023-02-02 07:05:37 -05:00
display: flex;
2023-02-02 07:06:11 -05:00
flex-direction: column;
row-gap: 8px;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.download-format > div {
color: var(--text-primary);
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.download-format > a {
padding: 8px;
background-color: var(--channel-contents-background);
border: 1px solid var(--border-color);
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
/* settings page */
.settings-categories {
background-color: var(--context-menu-background);
2022-12-09 06:37:25 -05:00
display: flex;
2023-02-02 07:06:11 -05:00
column-gap: 16px;
padding: 0 16px;
}
.settings-categories > a {
height: 3rem;
line-height: 3rem;
padding: 0 8px;
text-decoration: none;
2022-12-09 06:37:25 -05:00
}
2023-02-02 07:06:11 -05:00
.settings-content {
max-width: 400px;
margin: auto;
2022-12-09 14:10:26 -05:00
}
2023-02-02 07:06:11 -05:00
.settings-content > div {
width: 100%;
padding: 8px;
2022-12-23 06:38:49 -05:00
}
2022-12-09 14:10:26 -05:00
2023-02-02 07:06:11 -05:00
.settings-content > div > label {
width: 45%;
display: inline-block;
font-weight: bold;
color: var(--text-primary);
}
.settings-content > div > select {
width: 50%;
display: inline-block;
border: 1px solid var(--border-color);
padding: 8px;
background-color: var(--context-menu-background);
color: var(--text-primary);
}
/* logins page */
.logins-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
gap: 16px;
padding: 16px;
}
.login {
border: 1px solid var(--border-color);
border-radius: 4px;
width: 500px;
padding: 8px;
}
.subscribe-button > a {
color: black !important;
margin: auto;
margin-right: auto;
background: white;
border-radius: 2em;
text-transform: initial;
font-weight: 900;
padding: 10px 16px;
border: none;
margin-left: 0.5em;
2023-02-02 07:05:37 -05:00
font-family: "PokeTube Flex";
2023-02-02 07:06:11 -05:00
font-stretch: ultra-expanded;
2022-12-23 06:38:49 -05:00
}
2022-12-09 14:10:26 -05:00
2023-02-02 07:06:11 -05:00
h3 {
font-stretch: ultra-expanded !important;
}
.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;
}
ptd-custom-more {
color: #ffffff;
2022-12-23 06:38:49 -05:00
}
2023-01-08 09:55:26 -05:00
2023-02-02 07:06:11 -05:00
/* Landscape */
@media screen and (orientation: landscape) {
.ptnewbuttons {
margin-left: auto;
width: fit-content;
margin-right: auto;
width: -moz-fit-content;
2023-01-08 09:55:26 -05:00
}
}
2023-02-02 07:06:11 -05:00
.new-button.engagement:hover {
background-color: #0009;
}
div.new-button:hover {
background-color: #0008;
2023-01-08 09:55:26 -05:00
}
2023-02-02 07:06:11 -05:00
a.new-button:hover {
background-color: #0008;
}