mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add support for featured channels page
This commit is contained in:
parent
68090ddb84
commit
c08b4c9a32
46 changed files with 522 additions and 47 deletions
|
@ -50,3 +50,70 @@
|
|||
#link-widget-primary a:hover {
|
||||
color: #e1e1e1 !important;
|
||||
}
|
||||
|
||||
/* Featured channels page */
|
||||
|
||||
.channel-section details {
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.channel-section details summary {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.channel-section details summary::marker {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.category-heading {
|
||||
font-size: 1.2em;
|
||||
user-select: none;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.section-contents .channel-profile {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Due to space constraints we'll make the special large featured channel display
|
||||
only show up when the screen is wide enough */
|
||||
|
||||
@media screen and (min-width: 600px) {
|
||||
.large-featured-channel.channel-profile {
|
||||
/* We don't want the following attribute for large featured channels*/
|
||||
text-align: initial;
|
||||
margin: initial;
|
||||
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.large-featured-channel.channel-profile img {
|
||||
margin: 20% 0;
|
||||
}
|
||||
|
||||
.large-featured-channel .featured-channel-about {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.large-featured-channel .featured-channel-title {
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 10px
|
||||
}
|
||||
|
||||
.large-featured-channel .featured-channel-description {
|
||||
margin-top: 10px;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
/* Replicate the look for a normal featured channel */
|
||||
@media screen and (max-width: 600px) {
|
||||
.large-featured-channel .seperator, .large-featured-channel .featured-channel-description {
|
||||
display: none
|
||||
}
|
||||
|
||||
.large-featured-channel .featured-channel-metadata:last-child {
|
||||
display: block;
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -359,7 +359,7 @@ span > select {
|
|||
|
||||
.light-theme a:hover,
|
||||
.light-theme a:active,
|
||||
.light-theme summary:hover {
|
||||
.light-theme .simulated_a:hover {
|
||||
color: #075A9E !important;
|
||||
}
|
||||
|
||||
|
@ -386,7 +386,7 @@ span > select {
|
|||
@media (prefers-color-scheme: light) {
|
||||
.no-theme a:hover,
|
||||
.no-theme a:active,
|
||||
.no-theme summary:hover {
|
||||
.no-theme .simulated_a:hover {
|
||||
color: #075A9E !important;
|
||||
}
|
||||
|
||||
|
@ -417,7 +417,7 @@ span > select {
|
|||
|
||||
.dark-theme a:hover,
|
||||
.dark-theme a:active,
|
||||
.dark-theme summary:hover {
|
||||
.dark-theme .simulated_a:hover {
|
||||
color: rgb(0, 182, 240);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue