diff --git a/assets/css/common/header.css b/assets/css/common/header.css index f2d78e34..0be9644c 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -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%; diff --git a/assets/css/extended/youtube.css b/assets/css/extended/youtube.css index d8dddb51..c313d073 100644 --- a/assets/css/extended/youtube.css +++ b/assets/css/extended/youtube.css @@ -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; -} \ No newline at end of file +} \ No newline at end of file