Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Jason Crist
41240104f0 Tweaks to achieve desktop responsive navigation design 2022-04-11 13:32:40 -04:00
2 changed files with 12 additions and 1 deletions

View file

@ -188,3 +188,13 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
font-size: var(--wp--preset--font-size--x-small); font-size: var(--wp--preset--font-size--x-small);
letter-spacing: 0.1em; letter-spacing: 0.1em;
} }
/* Desktop responsive navigation layout */
.wp-block-navigation.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
margin: 0 auto;
max-width: 820px;
}
.wp-block-navigation:where(:not([class*=has-text-decoration])) a {
text-decoration-thickness: 1px;
}

View file

@ -228,7 +228,8 @@
}, },
"core/navigation": { "core/navigation": {
"typography": { "typography": {
"fontSize": "var(--wp--preset--font-size--large)" "fontSize": "clamp(1.5rem, 5vw, 4.25rem)",
"lineHeight": "1.5"
} }
}, },
"core/query-pagination": { "core/query-pagination": {