-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
444 lines (425 loc) · 16.7 KB
/
index.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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/default.min.css"
/>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/highlight.min.js"></script>
<link rel="stylesheet" href="/dist/css/smoojy.css" />
<title>Smoojy</title>
</head>
<body>
<nav class="nav">
<div class="nav-content">
<div class="nav-logo"><a href="/">Smoojy</a></div>
<ul class="nav-list">
<li class="nav-item"><a class="nav-link" href="#">Github</a></li>
<li class="nav-item"><a class="nav-link" href="#">About</a></li>
</ul>
</div>
</nav>
<section class="hero text">
<div class="hero-content">
<h1 class="hero-title font-lg">Smoojy</h1>
<p class="hero-description">
Build beautiful websites with ease using our powerful CSS framework.
</p>
<a href="#" class="btn">Get Started</a>
</div>
</section>
<div class="container-md pt-5 pb-5">
<!-- Grid -->
<section class="mb-3">
<h1 class="mb-2 font-xxl">Layout</h1>
<h2 class="mb-1 font-bold">Grid</h2>
<p class="font-lg mb-2">
Smoojy is using a standard 12 column fluid responsive grid system. The
grid helps you layout your page in an ordered, easy fashion. You can
also just specify columns and let the grid system determine what would
work best.
</p>
<h3 class="mb-2">Responsive grid</h3>
<div class="text-center">
<div class="grid">
<div class="col">Column 1</div>
<div class="col">Column 2</div>
<div class="col">Column 3</div>
<div class="col">Column 4</div>
<div class="col">Column 5</div>
<div class="col">Column 6</div>
<div class="col">Column 7</div>
<div class="col">Column 8</div>
<div class="col">Column 9</div>
<div class="col">Column 10</div>
<div class="col">Column 11</div>
<div class="col">Column 12</div>
</div>
</div>
<div class="mb-3">
<pre>
<code class="html">
<div class="grid">
<div class="col">Column 1</div>
<div class="col">Column 2</div>
<div class="col">Column 3</div>
<div class="col">Column 4</div>
<div class="col">Column 5</div>
<div class="col">Column 6</div>
<div class="col">Column 7</div>
<div class="col">Column 8</div>
<div class="col">Column 9</div>
<div class="col">Column 10</div>
<div class="col">Column 11</div>
<div class="col">Column 12</div>
</div>
</code>
</pre>
</div>
<div class="mb-3">
<h3 class="mb-2 mt-2">Responsive classes</h3>
<div class="grid">
<div class="col-12">col-12</div>
<div class="col-6">col-6</div>
<div class="col-6">col-6</div>
<div class="col-4">col-4</div>
<div class="col-4">col-4</div>
<div class="col-4">col-4</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
</div>
<pre>
<code class="html">
<div class="grid">
<div class="col-12">col-12</div>
<div class="col-6">col-6</div>
<div class="col-6">col-6</div>
<div class="col-4">col-4</div>
<div class="col-4">col-4</div>
<div class="col-4">col-4</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
<div class="col-3">col-3</div>
</div>
</code>
</pre>
</div>
</section>
<!-- Headings -->
<div class="mb-3">
<h1 class="mb-2 font-xxl">Typography</h1>
<h2 class="mb-1 font-bold">Headings</h2>
<p class="font-lg mb-2">
Typography sets default styles for headings, paragraphs, semantic
text, etc. Smoojy uses Roboto (provided by Google Fonts) as it's
default font with a base font size of 16px.
</p>
<div>
<h1>This is a very large heading.</h1>
<h2>This is a large heading.</h2>
<h3>This is a medium heading.</h3>
<h4>This is a moderate heading.</h4>
<h5>This is a small heading.</h5>
<h6>This is a tiny heading.</h6>
</div>
</div>
<pre>
<code class="html">
<h1>This is a very large heading.</h1>
<h2>This is a large heading.</h2>
<h3>This is a medium heading.</h3>
<h4>This is a moderate heading.</h4>
<h5>This is a small heading.</h5>
<h6>This is a tiny heading.</h6>
</code>
</pre>
<!-- font-size -->
<div class="mb-3">
<h2 class="mb-1 font-bold">Font Size</h2>
<p class="font-lg mb-2">
There are 3 font size options: small, medium and large.
</p>
<p class="font-sm">this is small font</p>
<p class="font-md">this is medium font</p>
<p class="font-lg">this is large font</p>
</div>
<pre>
<code class="html">
<p class="font-sm">this is small font</p>
<p class="font-md">this is medium font</p>
<p class="font-lg">this is large font</p>
</code>
</pre>
<!-- Componenets -->
<section class="mb-3">
<h1 class="mb-2 font-xxl">Componenets</h1>
<!-- Nav -->
<section>
<h2 class="mb-2 font-bold">Nav</h2>
<div class="mb-2">
<p class="font-lg mb-2">
To get started quickly, here is what a complete basic navbar looks
like:
</p>
<div>
<nav class="nav">
<div class="nav-content">
<div class="nav-logo"><a href="/">Logo</a></div>
<ul class="nav-list">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</nav>
</div>
<pre>
<code class="html">
<nav class="nav">
<div class="nav-content">
<div class="nav-logo"><a href="/">Logo</a></div>
<ul class="nav-list">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</nav>
</code>
</pre>
</div>
<div class="mb-2">
<h3 class="mb-2">Color</h3>
<p class="font-lg mb-2">The button comes in 7 different colors:</p>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-secondary">Secondary</button>
<button class="btn btn-info">Info</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-danger">Danger</button>
<button class="btn btn-dark text-light">Dark</button>
</div>
<pre>
<code class="html">
<button class="btn btn-primary">Primary</button>
<button class="btn btn-secondary">Secondary</button>
<button class="btn btn-info">info</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-danger">Danger</button>
<button class="btn btn-dark text-light">Dark</button>
</code>
</pre>
</section>
<h2 class="mb-2 font-bold">Buttons</h2>
<div class="mb-2">
<h3 class="mb-2">Size</h3>
<p class="font-lg mb-2">The button comes in 3 different sizes:</p>
<button class="btn btn-sm">Small</button>
<button class="btn">Default</button>
<button class="btn btn-lg">Large</button>
<pre>
<code class="html">
<button class="btn btn-sm">Small</button>
<button class="btn">Default</button>
<button class="btn btn-lg">Large</button>
</code>
</pre>
</div>
<div class="mb-2">
<h3 class="mb-2">Color</h3>
<p class="font-lg mb-2">The button comes in 7 different colors:</p>
<button class="btn btn-primary">Primary</button>
<button class="btn btn-secondary">Secondary</button>
<button class="btn btn-info">Info</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-danger">Danger</button>
<button class="btn btn-dark text-light">Dark</button>
</div>
<pre>
<code class="html">
<button class="btn btn-primary">Primary</button>
<button class="btn btn-secondary">Secondary</button>
<button class="btn btn-info">info</button>
<button class="btn btn-success">Success</button>
<button class="btn btn-warning">Warning</button>
<button class="btn btn-danger">Danger</button>
<button class="btn btn-dark text-light">Dark</button>
</code>
</pre>
</section>
<!-- Forms -->
<section class="mb-5">
<div class="mb-2 m-auto">
<h3 class="mb-1">Forms</h3>
<p class="mb-2">
Forms provide the most common control styles used in forms,
including input, textarea and select.
</p>
<form class="form">
<div class="row justify-space-between gap-1">
<div class="form-control">
<label for="name">Name:</label>
<input type="text" id="name" placeholder="Enter your name" />
</div>
<div class="form-control">
<label for="email">Email:</label>
<input type="email" id="email" placeholder="Enter your email" />
<span class="error">Please enter a valid email address</span>
</div>
</div>
<div class="form-control">
<label for="password">Password:</label>
<input
type="password"
id="password"
placeholder="Enter your password"
/>
</div>
<div class="form-control">
<label for="message">Message:</label>
<textarea
id="message"
placeholder="Enter your message"
rows="5"
></textarea>
</div>
<div class="form-control">
<label for="country">Country:</label>
<select id="country">
<option value="us">United States</option>
<option value="ca">Canada</option>
<option value="uk">United Kingdom</option>
</select>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
<pre>
<code class="html">
<form class="form">
<div class="row justify-space-between gap-1">
<div class="form-control">
<label for="name">Name:</label>
<input type="text" id="name" placeholder="Enter your name" />
</div>
<div class="form-control">
<label for="email">Email:</label>
<input type="email" id="email" placeholder="Enter your email" />
<span class="error">Please enter a valid email address</span>
</div>
</div>
<div class="form-control">
<label for="password">Password:</label>
<input
type="password"
id="password"
placeholder="Enter your password"
/>
</div>
<div class="form-control">
<label for="message">Message:</label>
<textarea
id="message"
placeholder="Enter your message"
rows="5"
></textarea>
</div>
<div class="form-control">
<label for="country">Country:</label>
<select id="country">
<option value="us">United States</option>
<option value="ca">Canada</option>
<option value="uk">United Kingdom</option>
</select>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</code>
</pre>
</section>
<!-- Lists -->
<h2>Lists</h2>
<section>
<ul class="list">
<li class="list-item">Item 1</li>
<li class="list-item">Item 2</li>
<li class="list-item">Item 3</li>
</ul>
<pre>
<code class="html">
<ul class="list">
<li class="list-item">Item 1</li>
<li class="list-item">Item 2</li>
<li class="list-item">Item 3</li>
</ul>
</code>
</pre>
</section>
<!-- Utilites -->
<section>
<h2 class="mb-2">Utilites</h2>
<div class="mb-5">
<p>
<strong class="mr-1">Margin:</strong
><code>m-{value} </code>, where
<code>{value}</code> ranges from 1 to 5. Controls the margin of
elements.
</p>
<p>
<strong class="mr-1">Padding:</strong> <code>.p-{value}</code>,
where <code>{value}</code> ranges from 1 to 5. Controls the padding
of elements.
</p>
</div>
<div class="mb-5">
<h4>Left/Right/Top/Bottom</h4>
<p>
For both margin and padding utilities, you can use the class format
<code>m{side}-{value}</code> or <code>.p{side}-{value}</code> to
apply the utility to a specific side (e.g., left, right, top,
bottom).
</p>
<p>
Replace <code>{side}</code> with <code>l</code>, <code>r</code>,
<code>t</code>, or <code>b</code> to indicate the left, right, top,
or bottom side respectively.
</p>
<p>
By using these utility classes, you can easily adjust the spacing
and positioning of elements without the need for writing custom CSS
rules for each scenario.
</p>
</div>
</section>
<script>
hljs.highlightAll();
</script>
</div>
</body>
</html>