-
Notifications
You must be signed in to change notification settings - Fork 0
/
b3grid.html
326 lines (315 loc) · 12.6 KB
/
b3grid.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
<title>B3Grid Demo</title>
<meta name="description" content="Blueprint Grid B3Grid demo." />
<!-- Icons -->
<link rel="shortcut icon" href="source/icons/bpg48.png" type="image/x-icon" />
<link rel="icon" href="source/icons/bpg.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="source/icons/bpg100.png" />
<!-- CORE CSS -->
<link href="source/brutalist.min.css" type="text/css" rel="stylesheet" media="all"/>
<link href="source/blueprintgrid.css" type="text/css" rel="stylesheet" media="all"/>
<style>
.block-wrap .block { border: 2px solid #333; padding: 1.25em; background: #e6e6e6; }
.brick-wrap .brick { border: 2px solid #3B0B0B; background: #610B0B;}
.tiles li { border: 2px solid #6e6e6e; outline: 3px solid #e6e6e6; background: #efefef; padding: 0.5em;}
</style>
</head>
<body class="infinitile">
<div class="block-wrap bw100 center" style="margin-bottom: 2em; margin-top: 2em;">
<div class="block bw50 blueprint box-s-k b-s-k charcoal-b rounded">
<h1 class="courier"><i class="bi bi-grid"></i> B3Grid</h1>
<h2 class="flow-text lucida">Flexbox-based grid.</h2>
<strong><a href="https://github.com/pinecreativelabs/Blueprint-Grid/wiki/B3Grid" target="_blank" class="btn charcoal rice-t invert-h">Documentation »</a></strong>
<p class="spacer"></p>
</div>
</div>
<!-- Base Widths -->
<h2 class="lucida heavy blueprint navy-t-s" id="bw">Base Widths</h2>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block bw100">.bw100</div>
<div class="block bw95">.bw95</div>
<div class="block bw5" style="padding-left: 0; padding-right: 0;">.bw5</div>
<div class="block bw90">.bw90</div>
<div class="block bw10">.bw10</div>
<div class="block bw85">.bw85</div>
<div class="block bw15">.bw15</div>
<div class="block bw80">.bw80</div>
<div class="block bw20">.bw20</div>
<div class="block bw75">.bw75</div>
<div class="block bw25">.bw25</div>
<div class="block bw70">.bw70</div>
<div class="block bw30">.bw30</div>
<div class="block bw65">.bw65</div>
<div class="block bw35">.bw35</div>
<div class="block bw60">.bw60</div>
<div class="block bw40">.bw40</div>
<div class="block bw55">.bw55</div>
<div class="block bw45">.bw45</div>
<div class="block bw50">.bw50</div>
<div class="block bw50">.bw50</div>
<div class="block bw34">.bw33 / .bw34<br /><span class="smaller">.bw-one-third</span></div>
<div class="block bw66">.bw66 / .bw67<br /><span class="smaller">.bw-two-thirds</span></div>
</div>
<p class="spacer"></p>
<!-- Viewport Base Heights -->
<h2 class="lucida heavy blueprint navy-t-s" id="bh">Base Heights</h2>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block bh20">.bh20</div>
<div class="block bh25">.bh25</div>
<div class="block bh33">.bh33 / .bh34<br /><span class="smaller">.bh-one-third</span></div>
<div class="block bh50">.bh50</div>
<div class="block bh67">.bh66 / .bh67<br /><span class="smaller">.bh-two-thirds</span></div>
<div class="block bh75">.bh75</div>
<div class="block bh100">.bh100</div>
</div>
<p class="spacer"></p>
<!-- Block Growth -->
<h2 class="lucida heavy blueprint navy-t-s" id="growths">Block Growth</h2>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g0">.g0</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g1">.g1</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g2">.g2</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g3">.g3</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g4">.g4</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g5">.g5</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<div class="block-wrap flow-text charcoal-t lucida center bold">
<div class="block g6">.g6</div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
<p class="spacer"></p>
<!-- Quick Widths -->
<h2 class="lucida heavy blueprint navy-t-s" id="quickies">Quick Widths</h2>
<p class="courier bold flow-text bold river">.full</p>
<div class="block-wrap full flow-text charcoal-t lucida center bold">
<div class="block">.block</div>
</div>
<p class="courier bold flow-text bold river">.halves</p>
<div class="block-wrap halves flow-text charcoal-t lucida center bold">
<div class="block">.block</div>
<div class="block">.block</div>
</div>
<p class="courier bold flow-text bold river">.thirds</p>
<div class="block-wrap thirds flow-text charcoal-t lucida center bold">
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
</div>
<p class="courier bold flow-text bold river">.quarters</p>
<div class="block-wrap quarters flow-text charcoal-t lucida center bold">
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
</div>
<p class="courier bold flow-text bold river">.fifths</p>
<div class="block-wrap fifths flow-text charcoal-t lucida center bold">
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
</div>
<p class="courier bold flow-text bold river">.sixths</p>
<div class="block-wrap sixths flow-text charcoal-t lucida center bold">
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
<div class="block">.block</div>
</div>
<p class="spacer"></p>
<!-- BRICKS -->
<h2 class="lucida heavy blueprint navy-t-s" id="bricks">Bricks</h2>
<p class="courier bold flow-text bold">Default bricks with specified width on one brick.</p>
<div class="brick-wrap white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick bw25">.brick.bw25</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p> </p>
<p class="courier bold flow-text bold">Same as above with <em>.fifths</em> quick-width applied.</p>
<div class="brick-wrap fifths white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick bw25">.brick.bw25</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p class="spacer"></p>
<!-- TILES -->
<h2 class="lucida heavy blueprint navy-t-s" id="tiles">Tiles</h2>
<p class="courier bold flow-text bold">.tiles.padded</p>
<ul class="tiles padded flow-text bold charcoal-t grey-t-s lucida">
<li>Tile 1</li>
<li>Tile 2</li>
<li>Tile 3</li>
<li>Tile 4</li>
<li>Tile 5</li>
<li>Tile 6</li>
</ul>
<p> </p>
<p class="courier bold flow-text bold">.tiles.quarters</p>
<ul class="tiles quarters flow-text bold charcoal-t grey-t-s lucida">
<li>Tile 1</li>
<li>Tile 2</li>
<li>Tile 3</li>
<li><a href="#" class="blue-h">Tile 4 <small>(LINKED)</small></a></li>
<li>Tile 5</li>
<li><a href="#" class="blue-h">Tile 6 <small>(LINKED)</small></a></li>
</ul>
<p class="spacer"></p>
<!-- Spacing -->
<h2 class="lucida heavy blueprint navy-t-s" id="spacing">Spacing</h2>
<p class="courier bold flow-text bold river">.around</p>
<div class="brick-wrap around white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p class="courier bold flow-text bold river">.between</p>
<div class="brick-wrap between white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p class="courier bold flow-text bold river">.evenly</p>
<div class="brick-wrap evenly white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p class="spacer"></p>
<!-- Alignment -->
<h2 class="lucida heavy blueprint navy-t-s" id="align">Alignment</h2>
<p class="courier bold flow-text bold river">.center / .middle</p>
<div class="brick-wrap b100 bh25 center sand white-t lucida flow-text">
<div class="brick">.center .brick</div>
</div>
<p class="courier bold flow-text bold river">.start / .top</p>
<div class="brick-wrap b100 bh25 start sand white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p class="courier bold flow-text bold river">.end / .bottom</p>
<div class="brick-wrap b100 bh25 end sand white-t lucida flow-text">
<div class="brick">.brick</div>
<div class="brick">.brick</div>
<div class="brick">.brick</div>
</div>
<p class="courier bold flow-text bold river">.baseline</p>
<div class="brick-wrap b100 bh25 center sand white-t lucida flow-text">
<div class="brick">.brick<br /><small>line 2<br />line 3</small></div>
<div class="brick baseline">.brick.baseline</div>
<div class="brick">.brick<br /><small>line 2<br />line 3</small></div>
</div>
<p class="courier bold flow-text bold river">.stretch</p>
<div class="brick-wrap b100 bh25 center stretch sand white-t lucida flow-text">
<div class="brick">.brick<br /><small>line 2<br />line 3</small></div>
<div class="brick">.brick</div>
<div class="brick">.brick<br /><small>line 2<br />line 3</small></div>
</div>
<p class="spacer"></p>
<!-- Direction and Ordering -->
<h2 class="lucida heavy blueprint navy-t-s" id="direction">Direction & Ordering</h2>
<p class="courier bold flow-text bold river">.row-rev</p>
<div class="brick-wrap row-rev white-t lucida flow-text">
<div class="brick">brick 1</div>
<div class="brick">brick 2</div>
<div class="brick">brick 3</div>
<div class="brick">brick 4</div>
<div class="brick">brick 5</div>
</div>
<p class="courier bold flow-text bold river">.col</p>
<div class="brick-wrap col white-t lucida flow-text">
<div class="brick">brick 1</div>
<div class="brick">brick 2</div>
<div class="brick">brick 3</div>
<div class="brick">brick 4</div>
<div class="brick">brick 5</div>
</div>
<p class="courier bold flow-text bold river">.col-rev</p>
<div class="brick-wrap col-rev white-t lucida flow-text">
<div class="brick">brick 1</div>
<div class="brick">brick 2</div>
<div class="brick">brick 3</div>
<div class="brick">brick 4</div>
<div class="brick">brick 5</div>
</div>
<p class="courier bold flow-text bold river">.featured / .first / .last</p>
<div class="brick-wrap white-t lucida flow-text">
<div class="brick last">.last</div>
<div class="brick">brick 1</div>
<div class="brick">brick 2</div>
<div class="brick">brick 3</div>
<div class="brick">brick 4</div>
<div class="brick">brick 5</div>
<div class="brick first">.first</div>
<div class="brick featured">.featured</div><!-- appears before .first -->
</div>
<!-- Containers -->
<h2 class="lucida heavy blueprint navy-t-s" id="containers">Containers</h2>
<div class="container flow-text center lucida river white-t navy-t-s">.container</div>
<p class="padded"></p>
<div class="container-960 flow-text center lucida river white-t navy-t-s">.container-960</div>
<p class="padded"></p>
<div class="container-1200 flow-text center lucida river white-t navy-t-s">.container-1200</div>
<p class="padded"></p>
<div class="container-1600 flow-text center lucida river white-t navy-t-s">.container-1600</div>
<p class="padded"></p>
<div class="container-fluid flow-text center lucida river white-t navy-t-s">.container-fluid</div>
<p class="spacer"></p>
<div class="container-960 center bold lucida">
<ul class="tiles center">
<li><a href="responsive.html">Responsive Demo</a></li>
<li><a href="panes.html">Panes Demo</a></li>
</ul>
</div>
<p class="spacer"></p>
<p class="spacer"></p>
</body>
</html>