few CSS tweaks

This commit is contained in:
Wonderfall 2022-07-28 02:44:46 +02:00
parent da4046d4db
commit dfe6ecc550
2 changed files with 4 additions and 3 deletions

View File

@ -98,7 +98,7 @@ body:not(.dark) #sun {
#hamburger-input:checked ~ #hamburger-menu:after { #hamburger-input:checked ~ #hamburger-menu:after {
content: "\00d7"; content: "\00d7";
position: absolute; position: fixed;
font-size: 28px; font-size: 28px;
line-height: 0; line-height: 0;
top: 28px; top: 28px;
@ -112,7 +112,7 @@ body:not(.dark) #sun {
display: block; display: block;
width: 80%; width: 80%;
margin: auto; margin: auto;
position: absolute; position: fixed;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin-right: -50%; margin-right: -50%;

View File

@ -1,6 +1,7 @@
.youtube-embed-div { .youtube-embed-div {
position: relative; position: relative;
padding-bottom: 56.25%; padding-bottom: 56.25%;
margin-bottom: 20px;
height: 0; height: 0;
overflow: hidden; overflow: hidden;
} }
@ -12,4 +13,4 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
border: 0; border: 0;
} }