mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
few CSS tweaks
This commit is contained in:
parent
da4046d4db
commit
dfe6ecc550
@ -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%;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user