1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

themes: treat iframe as img, audio, and video HTML elements

This commit is contained in:
Starbeamrainbowlabs 2022-02-07 02:25:34 +00:00
parent 439187139d
commit 1a9514594d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ input[type=button], input[type=submit]{
.link-display{ .link-display{
margin-left:0.5rem; margin-left:0.5rem;
} }
audio, video, img{ audio, video, img, iframe{
max-width:100%; max-width:100%;
} }
object { object {

View file

@ -155,7 +155,7 @@ input[type=button], input[type=submit] { cursor: pointer; }
.link-display { margin-left: 0.5rem; } .link-display { margin-left: 0.5rem; }
.button { appearance: button; -moz-appearance: button; -webkit-appearance: button; text-decoration: none; font-size: 0.9em; } .button { appearance: button; -moz-appearance: button; -webkit-appearance: button; text-decoration: none; font-size: 0.9em; }
audio, video, img { max-width: 100%; } audio, video, img, iframe { max-width: 100%; }
object { width: 100%; height: 90vh; } object { width: 100%; height: 90vh; }
figure:not(.preview) { display: inline-block; } figure:not(.preview) { display: inline-block; }
figure:not(.preview) > :first-child { display: block; } figure:not(.preview) > :first-child { display: block; }