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 {
content: "\00d7";
position: absolute;
position: fixed;
font-size: 28px;
line-height: 0;
top: 28px;
@ -112,7 +112,7 @@ body:not(.dark) #sun {
display: block;
width: 80%;
margin: auto;
position: absolute;
position: fixed;
top: 50%;
left: 50%;
margin-right: -50%;

View File

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