portrait mode now hides logo and moves fumble to the bottom for

reachablithy.
This commit is contained in:
Michael Andrew Maurakis 2025-01-19 23:24:14 -06:00
parent 250617eb67
commit 2f2035bf35

View file

@ -286,24 +286,40 @@ body {
} }
@media (max-width: 768px) { @media (max-width: 768px) {
body {
flex-direction: column-reverse;
}
header { header {
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
flex-direction: column; position: fixed;
gap: 1rem; bottom: 0;
left: 0;
right: 0;
background-color: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
}
.dark-mode header {
background-color: rgba(26, 26, 26, 0.95);
}
.logo {
display: none;
} }
.header-buttons { .header-buttons {
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
margin: 0;
} }
.logo { main {
font-size: 20px; height: 100vh;
} }
.logo-icon { #contentFrame {
width: 36px; height: calc(100% - 60px); /* Adjust based on header height */
height: 36px;
} }
.social-buttons { .social-buttons {
@ -329,14 +345,16 @@ body {
height: 20px; height: 20px;
} }
/* Modal adjustments for bottom header */
.modal-content { .modal-content {
width: 90%; width: 90%;
margin: -300px auto 0; margin: -300px auto 0;
padding: 15px; padding: 15px;
margin-bottom: 80px; /* Add space for bottom header */
} }
.modal.show .modal-content { .modal.show .modal-content {
margin-top: 80px; margin-top: 60px;
} }
.modal-content h2 { .modal-content h2 {