mobile menu added
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
.burst-listener { width:min(100%,36rem); margin-top:1rem; }
|
||||
.burst-listener__button,.burst-listener__actions button { min-height:2.75rem; padding:.65rem 1rem; border:1px solid #ffd18c; border-radius:.7rem; color:#fff2df; font:inherit; font-weight:750; background:#39243a; cursor:pointer; }
|
||||
.burst-listener__panel { margin-top:.8rem; padding:1rem; border:1px solid #aa7294; border-radius:.8rem; background:#1b1730; color:#fff2df; }
|
||||
.burst-listener__panel canvas { display:block; width:100%; height:90px; margin:.8rem 0; background:#171225; border-radius:.4rem; }
|
||||
.burst-listener__panel p { margin:.5rem 0 1rem; color:#efc9dc; }
|
||||
.burst-listener__panel audio { width:100%; margin-bottom:1rem; }
|
||||
.burst-listener__actions { display:flex; flex-wrap:wrap; gap:.5rem; }
|
||||
.burst-listener [hidden] { display:none !important; }
|
||||
.burst-listener [role="alert"] { color:#ffd18c; }
|
||||
@@ -27,6 +27,7 @@
|
||||
box-shadow: 0 .5rem 1.5rem #fb718550;
|
||||
}
|
||||
.fireworks-header__controls { display: flex; align-items: center; gap: .65rem; }
|
||||
.fireworks-menu-toggle { display: none; }
|
||||
.fireworks-nav {
|
||||
display: flex;
|
||||
gap: .3rem;
|
||||
@@ -66,12 +67,28 @@
|
||||
box-shadow: inset 0 0 0 1px #9cc0ed;
|
||||
}
|
||||
@media (max-width: 44rem) {
|
||||
.fireworks-header { align-items: flex-start; flex-direction: column; margin-bottom: 2.5rem; }
|
||||
.fireworks-header__controls { width: 100%; justify-content: space-between; }
|
||||
}
|
||||
@media (max-width: 30rem) {
|
||||
.fireworks-header__controls { align-items: stretch; flex-direction: column; }
|
||||
.fireworks-nav { justify-content: space-between; }
|
||||
.fireworks-nav a { flex: 1; padding: .5rem; text-align: center; }
|
||||
.fireworks-header { flex-wrap: wrap; justify-content: flex-start; margin-bottom: 2.5rem; }
|
||||
.fireworks-menu-toggle {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: .3rem;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
padding: 0;
|
||||
border: 1px solid var(--theme-line);
|
||||
border-radius: .7rem;
|
||||
color: var(--theme-ink);
|
||||
background: var(--theme-surface-raised);
|
||||
cursor: pointer;
|
||||
}
|
||||
.fireworks-menu-toggle span { width: 1.2rem; height: 2px; border-radius: 2px; background: currentColor; }
|
||||
.fireworks-menu-toggle:focus-visible { outline: 3px solid #8abaff; outline-offset: 3px; }
|
||||
.fireworks-header__controls { display: none; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; }
|
||||
.fireworks-menu-toggle[aria-expanded="true"] ~ .fireworks-header__controls { display: flex; }
|
||||
.fireworks-nav { flex-direction: column; }
|
||||
.fireworks-nav a { padding: .75rem; }
|
||||
.theme-toggle--inline { width: 100%; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user