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