Skip to content

Commit c862db4

Browse files
author
mrmrs
committed
Update the referenced source code for each module.
1 parent 7681247 commit c862db4

File tree

21 files changed

+216
-44
lines changed

21 files changed

+216
-44
lines changed

docs/elements/tables/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
132132
border-spacing: 0;
133133
}
134134

135-
.striped--moon-gray:nth-child(odd) {
135+
.striped--light-silver:nth-child(odd) {
136136
background-color: var(--light-silver);
137137
}
138138

docs/layout/heights/index.html

+24
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,30 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
188188

189189
HEIGHTS
190190

191+
Base:
192+
h = height
193+
vh = vertical screen height
194+
195+
Modifiers
196+
1 = 1st step in height scale
197+
2 = 2nd step in height scale
198+
3 = 3rd step in height scale
199+
4 = 4th step in height scale
200+
5 = 5th step in height scale
201+
202+
-25 = literal value 25%
203+
-50 = literal value 50%
204+
-75 = literal value 75%
205+
-100 = literal value 100%
206+
207+
-auto = string value of auto
208+
-inherit = string value of inherit
209+
210+
Media Query Extensions:
211+
-ns = not-small
212+
-m = medium
213+
-l = large
214+
191215
*/
192216

193217
/* Height Scale */

docs/layout/max-widths/index.html

+24
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,30 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
247247

248248
MAX WIDTHS
249249

250+
Base:
251+
mw = max-width
252+
253+
Modifiers
254+
1 = 1st step in width scale
255+
2 = 2nd step in width scale
256+
3 = 3rd step in width scale
257+
4 = 4th step in width scale
258+
5 = 5th step in width scale
259+
6 = 6st step in width scale
260+
7 = 7nd step in width scale
261+
8 = 8rd step in width scale
262+
9 = 9th step in width scale
263+
264+
-100 = literal value 100%
265+
266+
-none = string value none
267+
268+
269+
Media Query Extensions:
270+
-ns = not-small
271+
-m = medium
272+
-l = large
273+
250274
*/
251275

252276
/* Max Width Percentages */

docs/layout/position/index.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,14 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
160160
<code class="code" style="font-size: .75rem;">
161161
/*
162162

163-
POSITIONING
163+
POSITIONING
164164

165-
*/
165+
Media Query Extensions:
166+
-ns = not-small
167+
-m = medium
168+
-l = large
169+
170+
*/
166171

167172
.static { position: static; }
168173
.relative { position: relative; }

docs/layout/spacing/index.html

+28-31
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,6 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
238238
<pre class="ph3 ph5-ns">
239239
<code class="code" style="font-size: .75rem;">
240240
/* Variables */
241-
242-
/* Spacing Scale - based on a ratio of 1:2 */
243241
:root {
244242
--spacing-none: 0;
245243
--spacing-extra-small: .25rem;
@@ -251,39 +249,38 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
251249
--spacing-extra-extra-extra-large: 16rem;
252250
}
253251

254-
/* Media Queries */
255-
256-
@custom-media --breakpoint-not-small screen and (min-width: 48em);
257-
@custom-media --breakpoint-medium screen and (min-width: 48em) and (max-width: 64em);
258-
@custom-media --breakpoint-large screen and (min-width: 64em);
259-
260252
/*
261253
SPACING
262254

263255
An eight step powers of two scale ranging from 0 to 16rem.
264-
Namespaces are composable and thus highly grockable - check the legend below
265-
266-
Legend:
267-
268-
p = padding
269-
m = margin
270-
271-
a = all
272-
h = horizontal
273-
v = vertical
274-
t = top
275-
r = right
276-
b = bottom
277-
l = left
278-
279-
0 = none
280-
1 = 1st step in spacing scale
281-
2 = 2nd step in spacing scale
282-
3 = 3rd step in spacing scale
283-
4 = 4th step in spacing scale
284-
5 = 5th step in spacing scale
285-
6 = 6th step in spacing scale
286-
7 = 7th step in spacing scale
256+
257+
Base:
258+
259+
p = padding
260+
m = margin
261+
262+
Modifiers:
263+
a = all
264+
h = horizontal
265+
v = vertical
266+
t = top
267+
r = right
268+
b = bottom
269+
l = left
270+
271+
0 = none
272+
1 = 1st step in spacing scale
273+
2 = 2nd step in spacing scale
274+
3 = 3rd step in spacing scale
275+
4 = 4th step in spacing scale
276+
5 = 5th step in spacing scale
277+
6 = 6th step in spacing scale
278+
7 = 7th step in spacing scale
279+
280+
Media Query Extensions:
281+
-ns = not-small
282+
-m = medium
283+
-l = large
287284

288285
*/
289286

docs/themes/border-radius/index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
140140
2 = 2nd step in scale
141141
3 = 3rd step in scale
142142
4 = 4th step in scale
143-
-100 = 100%
144143

144+
Literal values:
145+
-100 = 100%
146+
-pill = 9999px
145147

146148
Media Query Extensions:
147149
-ns = not-small

docs/themes/borders/index.html

+15-7
Original file line numberDiff line numberDiff line change
@@ -558,15 +558,23 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
558558
<code class="code" style="font-size: .75rem;">
559559
/*
560560

561-
BORDER BASE
561+
BORDERS
562+
563+
Base:
564+
b = border
562565

563-
Legend
566+
Modifiers:
567+
a = all
568+
t = top
569+
r = right
570+
b = bottom
571+
l = left
572+
n = none
564573

565-
a = all
566-
t = top
567-
r = right
568-
b = bottom
569-
l = left
574+
Media Query Extensions:
575+
-ns = not-small
576+
-m = medium
577+
-l = large
570578

571579
*/
572580

docs/themes/hovers/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
133133

134134
HOVER EFFECTS
135135

136+
- Dim
137+
- Hide Child
138+
- Underline text
139+
- Grow
140+
- Pointer
141+
- Shadow
136142

137143
*/
138144

docs/themes/opacity/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
131131
<code class="code" style="font-size: .75rem;">
132132
/*
133133

134-
Opacity
134+
OPACITY
135135

136136
*/
137137

docs/themes/skins/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -4995,6 +4995,8 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
49954995

49964996
SKINS
49974997

4998+
Classes for setting foreground and background colors on elements.
4999+
49985000
*/
49995001

50005002

docs/typography/font-style/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
121121

122122
FONT STYLE
123123

124+
Media Query Extensions:
125+
-ns = not-small
126+
-m = medium
127+
-l = large
128+
124129
*/
125130

126131
.i { font-style: italic; }

docs/typography/font-weight/index.html

+19
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,25 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
132132

133133
FONT WEIGHT
134134

135+
Base
136+
fw = font-weight
137+
138+
Modifiers:
139+
1 = literal value 100
140+
2 = literal value 200
141+
3 = literal value 300
142+
4 = literal value 400
143+
5 = literal value 500
144+
6 = literal value 600
145+
7 = literal value 700
146+
8 = literal value 800
147+
9 = literal value 900
148+
149+
Media Query Extensions:
150+
-ns = not-small
151+
-m = medium
152+
-l = large
153+
135154
*/
136155

137156
.normal { font-weight: normal; }

docs/typography/line-height/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
140140

141141
LINE HEIGHT / LEADING
142142

143+
Media Query Extensions:
144+
-ns = not-small
145+
-m = medium
146+
-l = large
147+
143148
*/
144149

145150
.lh-solid { line-height: 1; }

docs/typography/measure/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
263263

264264
TYPOGRAPHY
265265

266+
Media Query Extensions:
267+
-ns = not-small
268+
-m = medium
269+
-l = large
270+
266271
*/
267272

268273

docs/typography/scale/index.html

+24-1
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,30 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
189189

190190
TYPE SCALE
191191

192+
Base:
193+
f = font-size
194+
195+
Modifiers
196+
1 = 1st step in size scale
197+
2 = 2nd step in size scale
198+
3 = 3rd step in size scale
199+
4 = 4th step in size scale
200+
5 = 5th step in size scale
201+
6 = 6th step in size scale
202+
203+
Media Query Extensions:
204+
-ns = not-small
205+
-m = medium
206+
-l = large
192207
*/
193208

194-
/* For Hero Titles */
209+
/*
210+
* For Hero/Marketing Titles
211+
*
212+
* These generally are too large for mobile
213+
* so be careful using them on smaller screens.
214+
* */
215+
195216
.f-6,
196217
.f-headline {
197218
font-size: 6rem;
@@ -201,7 +222,9 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
201222
font-size: 5rem;
202223
}
203224

225+
204226
/* Type Scale */
227+
205228
.f1 { font-size: 3rem; }
206229
.f2 { font-size: 2.25rem; }
207230
.f3 { font-size: 1.5rem; }

docs/typography/text-align/index.html

+13
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,19 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
121121

122122
TEXT ALIGN
123123

124+
Base
125+
t = text-align
126+
127+
Modifiers
128+
l = left
129+
r = right
130+
c = center
131+
132+
Media Query Extensions:
133+
-ns = not-small
134+
-m = medium
135+
-l = large
136+
124137
*/
125138

126139
.tl { text-align: left; }

docs/typography/text-decoration/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
117117

118118
TEXT DECORATION
119119

120+
Media Query Extensions:
121+
-ns = not-small
122+
-m = medium
123+
-l = large
124+
120125
*/
121126

122127
.strike { text-decoration: line-through; }

docs/typography/text-transform/index.html

+14
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,20 @@ <h1 class="f4 ttu tracked fw6">Reference</h1>
119119

120120
TEXT TRANSFORM
121121

122+
Base:
123+
tt = text-transform
124+
125+
Modifiers
126+
c = capitalize
127+
l = lowercase
128+
u = uppercase
129+
n = none
130+
131+
Media Query Extensions:
132+
-ns = not-small
133+
-m = medium
134+
-l = large
135+
122136
*/
123137

124138
.ttc { text-transform: capitalize; }

0 commit comments

Comments
 (0)