Fix smol screen header.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0c3989d5b1
commit
2ccf54d6d3
@ -226,6 +226,10 @@ footer#colophon .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-col
|
||||
flex-basis: auto !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Normal desktop size */
|
||||
@media (min-width: 770px) {
|
||||
header#masthead {
|
||||
display: flex;
|
||||
@ -302,3 +306,17 @@ footer#colophon .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-col
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Very small screens should cause the menu to fold up and the header to get smol */
|
||||
@media (max-width: 400px) {
|
||||
div.site-logo > a > img.custom-logo {
|
||||
width: 5.5rem;
|
||||
height: 4.5rem;
|
||||
}
|
||||
|
||||
header#masthead > div.site-branding { heigt: 0px; margin: 0px; padding: 0px;}
|
||||
header#masthead > p.site-description { heigt: 0px; margin: 0px; padding: 0px;}
|
||||
header#masthead li.menu-item { margin: 0.25em; }
|
||||
nav#site-navigation ul#primary-menu-list { flex-wrap: wrap; padding: 0.5em; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user