Skip to content

Commit

Permalink
💄 style: center and enlarge iframes (embeds)
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Feb 24, 2023
1 parent 54ae781 commit 372d696
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sass/parts/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@
line-height: 2.4rem;
}

iframe {
border: none;
display:block;
aspect-ratio: 16/9;
width: 100vmin;
max-width: 80%;
margin-left: 10%;
margin-right: 10%;
}

ul {
margin-top: 0;
}
Expand Down

0 comments on commit 372d696

Please sign in to comment.