This commit is contained in:
zoe 2022-04-29 20:59:32 +02:00
parent 1e0860239b
commit 87e50d911a
2 changed files with 16 additions and 4 deletions

View File

@ -32,7 +32,7 @@ footer {
#content ul, #content ul,
#content ol, #content ol,
#content table, #content table,
#content iframe, .embed,
code, code,
.postdescription, .postdescription,
hr, hr,
@ -43,11 +43,22 @@ hr,
} }
#content img, #content img,
#content iframe{ {
display: block; display: block;
overflow: hidden; overflow: hidden;
max-width: 52%; max-width: 52%;
max-height: 100%; height: 100%;
}
#content .embed{
display: block;
overflow: hidden;
padding: 0;
& iframe{
width: 100%;
aspect-ratio: 16/9;
margin: 0;
}
} }
p code{ p code{

View File

@ -25,7 +25,7 @@ input[type="checkbox"] {
display: flex; display: flex;
} }
img { img, iframe {
border-style: solid; border-style: solid;
} }
@ -46,6 +46,7 @@ img {
justify-content: center; justify-content: center;
content: ""; content: "";
border-style: solid; border-style: solid;
padding: 0;
} }
input:checked + label:after { input:checked + label:after {