mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
set background transparent
For now, updates as soon as iframe applet is finished
This commit is contained in:
parent
bb5797b374
commit
f19858ada6
1 changed files with 9 additions and 0 deletions
|
|
@ -35,4 +35,13 @@ Before moving on to the next exercise, make sure you understand the following:
|
|||
|
||||
:::{exercise}
|
||||
<iframe src="https://tudelft.h5p.com/content/1292493455522610637/embed" aria-label="Testing more Teachbooks knowledge" width="1088" height="637" frameborder="0" allowfullscreen="allowfullscreen" allow="autoplay *; geolocation *; microphone *; camera *; midi *; encrypted-media *"></iframe><script src="https://tudelft.h5p.com/js/h5p-resizer.js" charset="UTF-8"></script>
|
||||
<style>
|
||||
@media (prefers-color-scheme: light) {
|
||||
iframe[src*="tudelft.h5p.com"] {
|
||||
filter: invert(1);
|
||||
background: transparent;
|
||||
mix-blend-mode: difference;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
:::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue