diff options
Diffstat (limited to 'src/style.css')
| -rw-r--r-- | src/style.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index e66d756..e03ff14 100644 --- a/src/style.css +++ b/src/style.css @@ -1010,6 +1010,12 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } padding: 4px 7px; border-radius: 8px; background: rgba(18, 18, 18, .6); text-decoration: none; } .yt-open:hover { background: rgba(18, 18, 18, .85); text-decoration: none; } +/* over a playing clip: a tap takes it full screen; YouTube's control bar + along the bottom is left uncovered, and full screen it all is */ +.yt-shield { position: absolute; left: 0; right: 0; top: 0; bottom: 52px; z-index: 1; cursor: pointer; } +.yt-embed:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; } +.yt-embed:fullscreen .yt-shield { display: none; } +.yt-embed:fullscreen iframe { object-fit: contain; } /* A link, as the card its page describes: picture on top, title, a line, the site. The whole card is the link. */ .link-card { |
