responsive footer

This commit is contained in:
zoe 2022-04-16 15:27:37 +02:00
parent 577c33c202
commit 3b07fbbd23
2 changed files with 44 additions and 7 deletions

View File

@ -220,6 +220,24 @@ button {
#pageindicator:hover {
background-color: transparent; }
#hamburger-bg {
background-color: #413c74; }
#hamburger-bg .hamburger-nav-item {
background-color: transparent;
color: #ffdc6d;
border-color: #ffdc6d; }
#hamburger-bg .hamburger-nav-item:hover {
background-color: #ffdc6d;
color: #413c74; }
#hamburger-bg.light {
background-color: #ffffff; }
#hamburger-bg.light .hamburger-nav-item {
color: #9b5bb4;
border-color: #9b5bb4; }
#hamburger-bg.light .hamburger-nav-item:hover {
background-color: #9b5bb4;
color: #ffffff; }
html,
body {
height: 100%;
@ -337,7 +355,6 @@ header {
#hamburger-bg {
position: fixed;
background-color: red;
width: 100%;
height: calc(100% - 42pt);
left: 0pt;
@ -349,9 +366,14 @@ header {
justify-content: center; }
#hamburger-bg * {
display: grid;
margin-top: 14pt;
margin-bottom: 14pt;
margin-top: 2%;
margin-bottom: 2%;
text-align: center; }
#hamburger-bg.hidden {
display: none; }
#darkmode-button-small {
margin-right: 8pt; }
@font-face {
font-family: CaskaydiaCove;
@ -497,7 +519,13 @@ ul a {
border-style: solid;
padding: 0.12em; }
#hamburger-button {
#hamburger-bg .hamburger-nav-item {
border-style: solid;
padding: 0.12em; }
#hamburger-button,
#hamburger-bg,
#darkmode-button-small {
display: none; }
@media screen and (max-width: 640pt) {
@ -505,5 +533,14 @@ ul a {
#darkmode-toggle,
#darkmode-toggle-label {
display: none; }
#hamburger-button {
display: flex; } }
#hamburger-button,
#darkmode-button-small,
#hamburger-bg,
#hamburger-bg #darkmode-toggle-label,
#hamburger-bg #darkmode-toggle {
display: flex; }
#hamburger-bg #darkmode-toggle,
#hamburger-bg #darkmode-toggle-label {
position: absolute;
bottom: 1em;
right: 1em; } }

@ -1 +1 @@
Subproject commit cb4c119646ea2a0922dc121ee10f359ff2ce4c3c
Subproject commit 052ff3b0a8e633fd84011967cbdc2ed694c52d5d