summaryrefslogtreecommitdiff
path: root/theme/Default
diff options
context:
space:
mode:
Diffstat (limited to 'theme/Default')
-rw-r--r--theme/Default/main.css61
1 files changed, 58 insertions, 3 deletions
diff --git a/theme/Default/main.css b/theme/Default/main.css
index ba66120..5799c6f 100644
--- a/theme/Default/main.css
+++ b/theme/Default/main.css
@@ -125,6 +125,21 @@ inline-display-module {
text-align: center;
font-weight: bold;
}
+
+ container-item, playable-item, broadcast-summary, display-item {
+ display: grid;
+ grid-template-columns: 1fr 72px;
+
+ img {
+ grid-row-start: 1;
+ grid-row-end: 1000;
+ grid-column: 2;
+ width: 100%;
+
+ }
+ > :not(img, a) { grid-column: 1; }
+ > a { grid-column: 1 / 3; }
+ }
}
inline-header-module {
@@ -163,6 +178,17 @@ inline-display-module:first-child h2 { margin-top: 0; }
border-right: 1px solid #ccc;
width: 300px;
background: #eee;
+ position: relative;
+
+ img {
+ opacity: 20%;
+ position: absolute;
+ top: 0;
+ width: 100%;
+ filter: blur(4px);
+ pointer-events: none;
+ height: 100%;
+ }
}
module-items {
@@ -184,6 +210,23 @@ inline-display-module:first-child h2 { margin-top: 0; }
border: none;
}
h2 { display: none; }
+
+ display-item {
+ display: grid;
+ background: #ffeecb;
+ grid-template-columns: max-content 1fr;
+ > :not(item-titles, img) {
+ grid-column: 1 / 3;
+ background: white;
+ }
+ > img {
+ height: 80px;
+ width: 100%;
+ object-fit: cover;
+ object-position: 0 30%;
+ mask-image: linear-gradient(to left, #fff9, #fff0);
+ }
+ }
}
#categories {
@@ -205,17 +248,22 @@ inline-display-module:first-child h2 { margin-top: 0; }
font-size: 0;
&::after {
font-size: 10pt;
- content: "view category »"
+ content: "view category »";
}
}
+ img {
+ display: none;
+ }
}
}
segment-item {
display: grid;
- grid-template-columns: 1fr auto auto;
+ grid-template-columns: 1fr auto auto 80px;
+ &:not(:has(img)) {
+ grid-template-columns: 1fr auto auto;
+ }
align-items: baseline;
- padding: 0 8px 0 0;
background: linear-gradient(to bottom, #fff, #f8f8f8);
border-bottom: 1px solid #ccc;
@@ -246,6 +294,13 @@ segment-item {
offset-end {
grid-row: 1;
grid-column: 3;
+ padding-right: 8px;
+ }
+
+ img {
+ align-self: center;
+ grid-column: 4;
+ width: 100%;
}
}