Skip to content

Commit 598260a

Browse files
committed
Tweaks including improving TOC width on mobile, adjusting max width, and changing the code color to make it less distracting
1 parent 7025e0b commit 598260a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

public/css/base/elements/elements.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
font-family: var(--font-family-code);
9898
font-weight: var(--font-family-code-weight-normal);
9999
/* Based on code being inside tips too */
100-
font-size: 1.1rem;
100+
font-size: 1.075rem;
101101
letter-spacing: -0.2px;
102102
}
103103
}

public/css/base/variables.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@
112112
--color-link: var(--color-primary-accent);
113113
--color-text-underline-light: hsl(0deg 0% 80%);
114114
--color-code-background: var(--color-gradient-blue-1);
115+
--color-code-background: var(--color-pink-light-2);
116+
--color-code-background: hsl(287deg 80% 93.5%);
115117
--color-code-block-background: hsl(228.57deg 23% 18%);
116118

117119
--color-form-accent: var(--color-primary-accent);
@@ -307,7 +309,7 @@
307309
@media (min-width: 1800px) {
308310
/* GROUP VARIABLES -- LAYOUT -- CONSTRAINTS -- MAX
309311
=================================================== */
310-
--max-width-1: 108rem;
312+
--max-width-1: 105rem;
311313
--max-width-content: 52rem;
312314
}
313315

public/css/components/nav/toc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149

150150
ul {
151151
/* Need this to line up so that the scroll spy line also continues to line up */
152-
padding-inline-start: 0;
152+
padding-inline: 0;
153153
a {
154154
/* Indent the subnav */
155155
padding-inline-start: var(--spacing-m);

0 commit comments

Comments
 (0)