@janldeboer/style-baseline 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components.css +1 -0
- package/src/layout.css +17 -0
- package/src/typography.css +76 -2
package/package.json
CHANGED
package/src/components.css
CHANGED
package/src/layout.css
CHANGED
|
@@ -86,6 +86,23 @@
|
|
|
86
86
|
gap: 0.5rem;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
.footer {
|
|
90
|
+
margin-top: 5rem;
|
|
91
|
+
padding: 2.5rem 0;
|
|
92
|
+
border-top: 1px solid var(--surface-2);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.footer-inner {
|
|
96
|
+
max-width: var(--col);
|
|
97
|
+
margin: 0 auto;
|
|
98
|
+
padding: 0 1.5rem;
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
gap: 2rem;
|
|
103
|
+
flex-wrap: wrap;
|
|
104
|
+
}
|
|
105
|
+
|
|
89
106
|
@media (max-width: 768px) {
|
|
90
107
|
html {
|
|
91
108
|
font-size: 15px;
|
package/src/typography.css
CHANGED
|
@@ -82,9 +82,9 @@ pre code {
|
|
|
82
82
|
|
|
83
83
|
.lede {
|
|
84
84
|
font-size: 1.1rem;
|
|
85
|
-
line-height: 1.
|
|
85
|
+
line-height: 1.65;
|
|
86
86
|
color: var(--ink-2);
|
|
87
|
-
max-width:
|
|
87
|
+
max-width: 560px;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.eyebrow {
|
|
@@ -118,3 +118,77 @@ pre code {
|
|
|
118
118
|
letter-spacing: 0.3em;
|
|
119
119
|
font-size: 0.8rem;
|
|
120
120
|
}
|
|
121
|
+
|
|
122
|
+
blockquote {
|
|
123
|
+
margin: 2.5rem 0;
|
|
124
|
+
padding: 0.25rem 0 0.25rem 1.5rem;
|
|
125
|
+
border-left: 3px solid var(--surface-2);
|
|
126
|
+
font-style: italic;
|
|
127
|
+
font-size: 1.1rem;
|
|
128
|
+
line-height: 1.65;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
blockquote cite {
|
|
132
|
+
display: block;
|
|
133
|
+
margin-top: 0.75rem;
|
|
134
|
+
font-style: normal;
|
|
135
|
+
font-family: var(--mono);
|
|
136
|
+
font-size: 0.72rem;
|
|
137
|
+
letter-spacing: 0.06em;
|
|
138
|
+
text-transform: uppercase;
|
|
139
|
+
color: var(--ink-3);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.article-meta {
|
|
143
|
+
font-family: var(--mono);
|
|
144
|
+
font-size: 0.7rem;
|
|
145
|
+
letter-spacing: 0.1em;
|
|
146
|
+
text-transform: uppercase;
|
|
147
|
+
color: var(--ink-3);
|
|
148
|
+
margin-bottom: 1.5rem;
|
|
149
|
+
display: flex;
|
|
150
|
+
gap: 1.5rem;
|
|
151
|
+
align-items: center;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.article-meta .tag {
|
|
155
|
+
color: var(--accent);
|
|
156
|
+
border: 1px solid var(--accent);
|
|
157
|
+
padding: 0.15em 0.6em;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.prose h2 {
|
|
161
|
+
font-size: 1.3rem;
|
|
162
|
+
margin: 3rem 0 1rem;
|
|
163
|
+
padding-bottom: 0.4rem;
|
|
164
|
+
border-bottom: 1px solid var(--surface-2);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.prose h3 {
|
|
168
|
+
font-size: 1.05rem;
|
|
169
|
+
font-style: italic;
|
|
170
|
+
margin: 2rem 0 0.75rem;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.prose p {
|
|
174
|
+
margin-bottom: 1.5rem;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.prose ul,
|
|
178
|
+
.prose ol {
|
|
179
|
+
padding-left: 1.5rem;
|
|
180
|
+
margin-bottom: 1.5rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.prose li {
|
|
184
|
+
margin-bottom: 0.4rem;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.prose li::marker {
|
|
188
|
+
color: var(--ink-3);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.prose blockquote {
|
|
192
|
+
margin-left: 0;
|
|
193
|
+
margin-right: 0;
|
|
194
|
+
}
|