File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -633,6 +633,40 @@ script {
633633 border-top : var (--mainBorder );
634634}
635635
636+ /* keep the button rows of roughly equal width */
637+ @media (max-width : 980px ) {
638+ # footer {
639+ display : flex;
640+ flex-flow : column nowrap;
641+ align-items : center;
642+ }
643+ # footerLinks {
644+ max-width : 600px ;
645+ }
646+ }
647+
648+ /* prevent two rows of 4 and a single button below - force a 3x3 grid */
649+ @media (max-width : 620px ) {
650+ # footerLinks {
651+ max-width : 420px ;
652+ }
653+ }
654+
655+ /* smaller margins */
656+ @media (max-width : 380px ) {
657+ .footerLink {
658+ margin : 5px !important ;
659+ }
660+ }
661+
662+ /* smaller margins */
663+ @media (max-width : 200px ) {
664+ .footerLink {
665+ margin : 2px !important ;
666+ }
667+ }
668+
669+
636670# footer > * {
637671 margin : calc (var (--footerMargin ) + env (safe-area-inset-right)) calc (var (--footerMargin ) + env (safe-area-inset-left));
638672}
You can’t perform that action at this time.
0 commit comments