diff options
Diffstat (limited to 'server/src/routes/ui/style/nodepage.css')
| -rw-r--r-- | server/src/routes/ui/style/nodepage.css | 64 | 
1 files changed, 64 insertions, 0 deletions
| diff --git a/server/src/routes/ui/style/nodepage.css b/server/src/routes/ui/style/nodepage.css new file mode 100644 index 0000000..2913ff7 --- /dev/null +++ b/server/src/routes/ui/style/nodepage.css @@ -0,0 +1,64 @@ +/* +    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.item { +    position: relative; +    width: 100%; +} +.page.item .banner { +    width: max(8em, 25%); +    float: left; +    margin: 3em; +    margin-top: -1em; +} +.page.item .banner img { +    width: 100%; +    height: 100%; +    object-fit: cover; +    object-position: center; +} + +.page.item .title h1 { +    display: inline; +    margin-right: 1em; +} +.page.item .title .play { +    display: inline; +    font-stretch: 200%; +} +.page.item .title .play::before { +    content: "▶"; +} + +.page.item .props p { +    margin: 0.4em; +    font-size: small; +    font-weight: bolder; +    display: inline-block; +    padding: 0.2em; +    background: #ffffff15; +} | 
