mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2026-10-26 09:39:34 +00:00
New: 'Continue Watching' cards are now bigger than other cards
- the scale factor is configurable using '--resumeCardScale'
This commit is contained in:
1 parent
72289a9091
commit
8f50558039
1 file changed
+11
-1
@@ -157,6 +157,10 @@
|
||||
/* use 10% to crop the top 10% of a backdrop image on a 16:9 screen (recommended) [default];
|
||||
use a figure between 0% and 20% according to your liking */
|
||||
--backdropTrimFromTop: 10%;
|
||||
|
||||
/* use numbers greater than 1.0 to increase the size of 'Continue Watching' cards [default: 1.25];
|
||||
use 1.0 to disable this effect */
|
||||
--resumeCardScale: 1.25;
|
||||
}
|
||||
|
||||
html {
|
||||
@@ -956,6 +960,12 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
#homeTab .overflowBackdropCard[data-positionticks],
|
||||
.nextUpItems > .card,
|
||||
#resumableItems > .card {
|
||||
width: calc(var(--cardWidth) * var(--resumeCardScale)) !important;
|
||||
}
|
||||
|
||||
.detailPageWrapperContainer {
|
||||
padding-top: unset;
|
||||
margin-top: unset;
|
||||
@@ -2682,7 +2692,7 @@ div[data-role="controlgroup"] a.ui-btn-active {
|
||||
row-gap: 1em;
|
||||
column-gap: 3em;
|
||||
max-width: unset !important;
|
||||
grid-template-columns: 25% 1fr 1fr 1fr;
|
||||
grid-template-columns: 1.3fr 0.7fr 1fr 1fr;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user