add configuration for seasonals and featured iframe integration
This commit is contained in:
@@ -26,7 +26,6 @@ copy_rules:
|
||||
mode: 'replace' # Überschreibt vorhandene Dateien/Ordner
|
||||
|
||||
- sources:
|
||||
- './featured'
|
||||
- './pictures'
|
||||
|
||||
- source: './img/logo.png'
|
||||
@@ -67,7 +66,6 @@ modification_rules:
|
||||
# featured iframe and requests iframe style
|
||||
- after_text: 'data-backdroptype="movie,series,book">'
|
||||
insert_text: >
|
||||
<style> .featurediframe {width: 95vw; height: 24em; display: block; border: 0; margin: -1em auto 0;} @media (min-width: 2100px) {.featurediframe {height: 33em;}} @media (max-width: 1599px) {.featurediframe {margin-top: 1.2em;}} @media (max-width: 800px) {.featurediframe {margin-top: 0.8em; height: 25em;}} </style> <iframe class="featurediframe" src="/web/featured/spotlight.html"></iframe>
|
||||
<style>:root { --save-gut: max(env(safe-area-inset-left), .3%) } .requestIframe { margin: 0 .4em; padding: 0 var(--save-gut); width: calc(100% - (.4em * 2) - (var(--save-gut) * 2)); height: 90vh; border: none; position: absolute; top: 5.3em } @media (max-width: 1599px) { .requestIframe { height: 83vh; top: 8.2em; } }</style><script>setTimeout(() => { createRequestTab() }, 500)</script>
|
||||
|
||||
# request tab on main page
|
||||
|
||||
Reference in New Issue
Block a user