blob: 2df7c13075e04d8d329f153333c85303b2946590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2023 metamuffin <metamuffin.org>
Copyright (C) 2023 tpart
*/
.backdrop {
width: calc(100% + 2 * var(--main-side-margin));
height: calc(var(--backdrop-height) + 5em);
margin-left: calc(-1 * var(--main-side-margin));
margin-right: calc(-1 * var(--main-side-margin));
margin-top: calc(-1 * var(--bar-height));
margin-bottom: -5em;
-webkit-mask-image: linear-gradient(
rgba(0, 0, 0, 1),
transparent calc(var(--backdrop-height) + 5em)
);
mask-image: linear-gradient(
rgba(0, 0, 0, 1),
transparent calc(var(--backdrop-height) + 5em)
);
-webkit-mask-mode: alpha;
mask-mode: alpha;
pointer-events: none;
object-fit: cover;
object-position: center;
}
.page.node {
position: relative;
width: 100%;
}
.page.node .bigposter {
width: max(8em, 25%);
float: left;
margin: 3em;
margin-top: -1em;
}
.page.node .bigposter img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.page.node .title h1 {
display: inline;
margin-right: 1em;
}
.page.node .title .play {
display: inline;
font-stretch: 200%;
}
.page.node .title .play::before {
content: "▶";
}
.props p {
margin: 0.4em;
font-size: small;
font-weight: bolder;
display: inline-block;
padding: 0.2em;
background: var(--background-prop);
border-radius: 4px;
}
|