diff options
author | fox <[email protected]> | 2020-05-17 05:20:23 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2020-05-17 05:20:23 +0000 |
commit | 3dc506a19ac483c60cf2800066e4403df4db0ef1 (patch) | |
tree | fbed1f6a834436118871dad7de42b856c7a795e9 /themes/night_blue.css | |
parent | a1ffc116196e023491ff2c3c7b24f48924ea4fd1 (diff) | |
parent | c93bcef91f82493e248e2f7085883d81e95dd136 (diff) |
Merge branch 'responsive-iframes' of JustAMacUser/tt-rss into master
Diffstat (limited to 'themes/night_blue.css')
-rw-r--r-- | themes/night_blue.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/night_blue.css b/themes/night_blue.css index ad923d9b2..18b52b569 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -71,6 +71,20 @@ body.ttrss_main div.post div.content video { max-width: 98%; height: auto; } +body.ttrss_main div.post div.content div.embed-responsive { + overflow: hidden; + padding-bottom: 56.25%; + position: relative; +} +body.ttrss_main div.post div.content div.embed-responsive iframe { + border: 0; + bottom: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} body.ttrss_main .inline-player { display: flex; align-items: center; @@ -1127,6 +1141,7 @@ video::-webkit-media-controls-overlay-play-button { .cdm .header { position: sticky; top: 0; + z-index: 3; } .cdm .header, .cdm .footer { @@ -1290,6 +1305,20 @@ div.cdm.vgrlf .feed { font-style: italic; font-size: 11px; } +.cdm div.content-inner div.embed-responsive { + overflow: hidden; + padding-bottom: 56.25%; + position: relative; +} +.cdm div.content-inner div.embed-responsive iframe { + border: 0; + bottom: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} .cdm div.header span.author { white-space: nowrap; color: #ccc; |