Skip to content

Commit 4040650

Browse files
committed
header nav fix
1 parent 9342f78 commit 4040650

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

assets/styles/default-core.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@
5757
--pico-font-size: 112.5%;
5858
}
5959
}
60+
@media (max-width: 787px) {
61+
:root,
62+
:host {
63+
--pico-nav-element-spacing-vertical: 0.8rem;
64+
--pico-nav-element-spacing-horizontal: 0.25rem;
65+
--pico-nav-link-spacing-vertical: 0.6rem;
66+
--pico-nav-link-spacing-horizontal: 0.6rem;
67+
}
68+
}
6069
@media (min-width: 1024px) {
6170
:root,
6271
:host {
@@ -253,11 +262,14 @@ details summary[role="button"]:not(.outline)::after {
253262
filter: brightness(0) invert(1);
254263
}
255264

256-
button, [type=submit], [type=button], [role=button] {
265+
button,
266+
[type="submit"],
267+
[type="button"],
268+
[role="button"] {
257269
--pico-font-weight: 500;
258270
}
259271

260-
:is(button, [type=submit], [type=button], [role=button]).outline {
272+
:is(button, [type="submit"], [type="button"], [role="button"]).outline {
261273
color: var(--cust-black);
262274
background-color: var(--cust-white);
263275
}

assets/styles/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ section {
155155
}
156156

157157
nav .spark {
158-
height: 2rem;
158+
height: 1.8rem;
159159
width: auto;
160160
}
161161
nav .wordmark {
162162
font-family: "Bitter", serif;
163-
font-size: 1.2rem;
163+
font-size: 1rem;
164164
font-weight: 400;
165165
color: var(--cust-black);
166166
}

0 commit comments

Comments
 (0)