Skip to content

Commit b1d8d0d

Browse files
committed
typography adjustments
1 parent b185cf2 commit b1d8d0d

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

assets/styles/default-core.css

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
}
7878

7979
p {
80-
line-height: 146%;
80+
line-height: 156.25%;
8181
}
8282
a {
8383
--pico-text-decoration: underline;
@@ -88,46 +88,49 @@ a.contrast {
8888
}
8989

9090
small {
91-
--pico-font-size: 0.875em;
91+
--pico-font-size: 0.75em;
92+
--pico-line-height: 1.3333;
9293
}
9394

9495
h1,
9596
h2,
9697
h3,
97-
h4,
98-
h5,
99-
h6 {
98+
h4 {
10099
--pico-font-family: var(--pico-font-family-heading);
101100
--pico-font-weight: 600;
102101
}
103102

103+
h5,
104+
h6 {
105+
--pico-font-family: var(--pico-font-family-sans-serif);
106+
}
104107
h1 {
105-
--pico-font-size: 2rem;
106-
--pico-line-height: 1.125;
108+
--pico-font-size: 3.0625rem;
109+
--pico-line-height: 1.25;
107110
--pico-typography-spacing-top: 3rem;
108111
}
109112

110113
h2 {
111-
--pico-font-size: 1.75rem;
112-
--pico-line-height: 1.15;
114+
--pico-font-size: 2.4375rem;
115+
--pico-line-height: 1.25;
113116
--pico-typography-spacing-top: 2.625rem;
114117
}
115118

116119
h3 {
117-
--pico-font-size: 1.5rem;
118-
--pico-line-height: 1.175;
120+
--pico-font-size: 1.9375rem;
121+
--pico-line-height: 1.25;
119122
--pico-typography-spacing-top: 2.25rem;
120123
}
121124

122125
h4 {
123-
--pico-font-size: 1.25rem;
124-
--pico-line-height: 1.2;
126+
--pico-font-size: 1.5625rem;
127+
--pico-line-height: 1.25;
125128
--pico-typography-spacing-top: 1.874rem;
126129
}
127130

128131
h5 {
129-
--pico-font-size: 1.125rem;
130-
--pico-line-height: 1.225;
132+
--pico-font-size: 1.25rem;
133+
--pico-line-height: 1.55;
131134
--pico-typography-spacing-top: 1.6875rem;
132135
}
133136

assets/styles/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ section {
101101
*/
102102

103103
.lead {
104-
font-size: 139%;
105-
line-height: 1.5;
104+
font-size: 125%;
105+
line-height: 1.55;
106106
}
107107

108108
.external-arrow {

0 commit comments

Comments
 (0)