mirror of
https://git.kittycat.homes/zoe/hugo-batsite.git
synced 2024-08-15 03:18:24 +00:00
embed
This commit is contained in:
parent
1e44cf2478
commit
f1a2a978c0
4 changed files with 20 additions and 11 deletions
|
@ -265,7 +265,7 @@ footer {
|
|||
#content ul,
|
||||
#content ol,
|
||||
#content table,
|
||||
#content iframe,
|
||||
.embed,
|
||||
code,
|
||||
.postdescription,
|
||||
hr,
|
||||
|
@ -273,12 +273,20 @@ hr,
|
|||
margin-right: 24%;
|
||||
margin-left: 24%; }
|
||||
|
||||
#content img,
|
||||
#content iframe {
|
||||
#content img {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
max-width: 52%;
|
||||
max-height: 100%; }
|
||||
height: 100%; }
|
||||
|
||||
#content .embed {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: 0; }
|
||||
#content .embed iframe {
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
margin: 0; }
|
||||
|
||||
p code {
|
||||
margin-left: 0;
|
||||
|
@ -459,7 +467,7 @@ input[type="checkbox"] {
|
|||
align-items: center;
|
||||
display: flex; }
|
||||
|
||||
img {
|
||||
img, iframe {
|
||||
border-style: solid; }
|
||||
|
||||
.togglelabel::after {
|
||||
|
@ -478,7 +486,8 @@ img {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
content: "";
|
||||
border-style: solid; }
|
||||
border-style: solid;
|
||||
padding: 0; }
|
||||
|
||||
input:checked + label:after {
|
||||
left: calc(100% - 49pt); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue