personally-developed 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +121 -0
- data/_includes/footer.html +5 -0
- data/_includes/head.html +15 -0
- data/_includes/header.html +14 -0
- data/_includes/seo.html +1 -0
- data/_layouts/default.html +24 -0
- data/_layouts/home.html +35 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +16 -0
- data/_sass/personally-developed/_animate.scss +44 -0
- data/_sass/personally-developed/_archive.scss +21 -0
- data/_sass/personally-developed/_fonts.scss +25 -0
- data/_sass/personally-developed/_footer.scss +9 -0
- data/_sass/personally-developed/_header.scss +27 -0
- data/_sass/personally-developed/_layout.scss +75 -0
- data/_sass/personally-developed/_neat.scss +26 -0
- data/_sass/personally-developed/_posts.scss +39 -0
- data/_sass/personally-developed/_reboot.scss +473 -0
- data/_sass/personally-developed/_syntax.scss +84 -0
- data/_sass/personally-developed/_utilities.scss +13 -0
- data/_sass/personally-developed/_variables.scss +50 -0
- data/_sass/personally-developed/neat/functions/_neat-append-grid-visual.scss +21 -0
- data/_sass/personally-developed/neat/functions/_neat-column-default.scss +23 -0
- data/_sass/personally-developed/neat/functions/_neat-column-ratio.scss +24 -0
- data/_sass/personally-developed/neat/functions/_neat-column-width.scss +25 -0
- data/_sass/personally-developed/neat/functions/_neat-float-direction.scss +22 -0
- data/_sass/personally-developed/neat/functions/_neat-merge-defaults.scss +23 -0
- data/_sass/personally-developed/neat/functions/_neat-opposite-direction.scss +22 -0
- data/_sass/personally-developed/neat/functions/_neat-parse-columns.scss +22 -0
- data/_sass/personally-developed/neat/functions/_neat-parse-media.scss +20 -0
- data/_sass/personally-developed/neat/functions/_retrieve-neat-settings.scss +19 -0
- data/_sass/personally-developed/neat/mixins/_grid-collapse.scss +36 -0
- data/_sass/personally-developed/neat/mixins/_grid-column.scss +39 -0
- data/_sass/personally-developed/neat/mixins/_grid-container.scss +30 -0
- data/_sass/personally-developed/neat/mixins/_grid-media.scss +67 -0
- data/_sass/personally-developed/neat/mixins/_grid-push.scss +37 -0
- data/_sass/personally-developed/neat/mixins/_grid-shift.scss +36 -0
- data/_sass/personally-developed/neat/mixins/_grid-visual.scss +67 -0
- data/_sass/personally-developed/neat/settings/_settings.scss +74 -0
- data/_sass/personally-developed.scss +15 -0
- data/assets/js/main.min.js +1 -0
- data/assets/main.scss +4 -0
- metadata +129 -0
@@ -0,0 +1,473 @@
|
|
1
|
+
// Reboot (from Boostrap v4-dev)
|
2
|
+
// Bootstrap is licensed MIT. https://github.com/twbs/bootstrap
|
3
|
+
//
|
4
|
+
// Normalization of HTML elements, manually forked from Normalize.css to remove
|
5
|
+
// styles targeting irrelevant browsers while applying new styles.
|
6
|
+
//
|
7
|
+
// Normalize is licensed MIT. https://github.com/necolas/normalize.css
|
8
|
+
|
9
|
+
|
10
|
+
// Document
|
11
|
+
//
|
12
|
+
// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
|
13
|
+
// 2. Change the default font family in all browsers.
|
14
|
+
// 3. Correct the line height in all browsers.
|
15
|
+
// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
|
16
|
+
// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so
|
17
|
+
// we force a non-overlapping, non-auto-hiding scrollbar to counteract.
|
18
|
+
// 6. Change the default tap highlight to be completely transparent in iOS.
|
19
|
+
|
20
|
+
html {
|
21
|
+
box-sizing: border-box; // 1
|
22
|
+
font-family: sans-serif; // 2
|
23
|
+
line-height: 1.15; // 3
|
24
|
+
-ms-text-size-adjust: 100%; // 4
|
25
|
+
-webkit-text-size-adjust: 100%; // 4
|
26
|
+
-ms-overflow-style: scrollbar; // 5
|
27
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0); // 6
|
28
|
+
}
|
29
|
+
|
30
|
+
*,
|
31
|
+
*::before,
|
32
|
+
*::after {
|
33
|
+
box-sizing: inherit; // 1
|
34
|
+
}
|
35
|
+
|
36
|
+
// IE10+ doesn't honor `<meta name="viewport">` in some cases.
|
37
|
+
@at-root {
|
38
|
+
@-ms-viewport { width: device-width; }
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
// Body
|
43
|
+
//
|
44
|
+
// 1. Remove the margin in all browsers.
|
45
|
+
// 2. As a best practice, apply a default `background-color`.
|
46
|
+
|
47
|
+
body {
|
48
|
+
margin: 0; // 1
|
49
|
+
font-family: $font-family-base;
|
50
|
+
font-size: $font-size-base;
|
51
|
+
font-weight: $font-weight-base;
|
52
|
+
line-height: $line-height-base;
|
53
|
+
color: $pd-black;
|
54
|
+
background-color: $pd-off-white; // 2
|
55
|
+
}
|
56
|
+
|
57
|
+
// Suppress the focus outline on elements that cannot be accessed via keyboard.
|
58
|
+
// This prevents an unwanted focus outline from appearing around elements that
|
59
|
+
// might still respond to pointer events.
|
60
|
+
//
|
61
|
+
// Credit: https://github.com/suitcss/base
|
62
|
+
[tabindex="-1"]:focus {
|
63
|
+
outline: none !important;
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
// Content grouping
|
68
|
+
//
|
69
|
+
// 1. Add the correct box sizing in Firefox.
|
70
|
+
// 2. Show the overflow in Edge and IE.
|
71
|
+
|
72
|
+
hr {
|
73
|
+
box-sizing: content-box; // 1
|
74
|
+
height: 0; // 1
|
75
|
+
overflow: visible; // 2
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
//
|
80
|
+
// Typography
|
81
|
+
//
|
82
|
+
|
83
|
+
// Remove top margins from headings
|
84
|
+
//
|
85
|
+
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
|
86
|
+
// margin for easier control within type scales as it avoids margin collapsing.
|
87
|
+
h1, h2, h3, h4, h5, h6 {
|
88
|
+
margin-top: 0;
|
89
|
+
margin-bottom: .5rem;
|
90
|
+
}
|
91
|
+
|
92
|
+
// Reset margins on paragraphs
|
93
|
+
//
|
94
|
+
// Similarly, the top margin on `<p>`s get reset. However, we also reset the
|
95
|
+
// bottom margin to use `rem` units instead of `em`.
|
96
|
+
p {
|
97
|
+
margin-top: 0;
|
98
|
+
margin-bottom: 1rem;
|
99
|
+
}
|
100
|
+
|
101
|
+
// Abbreviations
|
102
|
+
//
|
103
|
+
// 1. Remove the bottom border in Firefox 39-.
|
104
|
+
// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
105
|
+
// 3. Add explicit cursor to indicate changed behavior.
|
106
|
+
// 4. Duplicate behavior to the data-* attribute for our tooltip plugin
|
107
|
+
|
108
|
+
abbr[title],
|
109
|
+
abbr[data-original-title] { // 4
|
110
|
+
text-decoration: underline; // 2
|
111
|
+
text-decoration: underline dotted; // 2
|
112
|
+
cursor: help; // 3
|
113
|
+
border-bottom: 0; // 1
|
114
|
+
}
|
115
|
+
|
116
|
+
address {
|
117
|
+
margin-bottom: 1rem;
|
118
|
+
font-style: normal;
|
119
|
+
line-height: inherit;
|
120
|
+
}
|
121
|
+
|
122
|
+
ol,
|
123
|
+
ul,
|
124
|
+
dl {
|
125
|
+
margin-top: 0;
|
126
|
+
margin-bottom: 1rem;
|
127
|
+
}
|
128
|
+
|
129
|
+
ol ol,
|
130
|
+
ul ul,
|
131
|
+
ol ul,
|
132
|
+
ul ol {
|
133
|
+
margin-bottom: 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
dt {
|
137
|
+
font-weight: $dt-font-weight;
|
138
|
+
}
|
139
|
+
|
140
|
+
dd {
|
141
|
+
margin-bottom: .5rem;
|
142
|
+
margin-left: 0; // Undo browser default
|
143
|
+
}
|
144
|
+
|
145
|
+
blockquote {
|
146
|
+
margin: 0 0 1rem;
|
147
|
+
}
|
148
|
+
|
149
|
+
dfn {
|
150
|
+
font-style: italic; // Add the correct font style in Android 4.3-
|
151
|
+
}
|
152
|
+
|
153
|
+
b,
|
154
|
+
strong {
|
155
|
+
font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari
|
156
|
+
}
|
157
|
+
|
158
|
+
small {
|
159
|
+
font-size: 80%; // Add the correct font size in all browsers
|
160
|
+
}
|
161
|
+
|
162
|
+
//
|
163
|
+
// Prevent `sub` and `sup` elements from affecting the line height in
|
164
|
+
// all browsers.
|
165
|
+
//
|
166
|
+
|
167
|
+
sub,
|
168
|
+
sup {
|
169
|
+
position: relative;
|
170
|
+
font-size: 75%;
|
171
|
+
line-height: 0;
|
172
|
+
vertical-align: baseline;
|
173
|
+
}
|
174
|
+
|
175
|
+
sub { bottom: -.25em; }
|
176
|
+
sup { top: -.5em; }
|
177
|
+
|
178
|
+
|
179
|
+
//
|
180
|
+
// Links
|
181
|
+
//
|
182
|
+
|
183
|
+
a {
|
184
|
+
color: $pd-dark-blue;
|
185
|
+
text-decoration: none;
|
186
|
+
background-color: transparent; // Remove the gray background on active links in IE 10.
|
187
|
+
-webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.
|
188
|
+
}
|
189
|
+
|
190
|
+
// And undo these styles for placeholder links/named anchors (without href)
|
191
|
+
// which have not been made explicitly keyboard-focusable (without tabindex).
|
192
|
+
// It would be more straightforward to just use a[href] in previous block, but that
|
193
|
+
// causes specificity issues in many other styles that are too complex to fix.
|
194
|
+
// See https://github.com/twbs/bootstrap/issues/19402
|
195
|
+
|
196
|
+
a:not([href]):not([tabindex]) {
|
197
|
+
color: inherit;
|
198
|
+
text-decoration: none;
|
199
|
+
|
200
|
+
&:focus {
|
201
|
+
outline: 0;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
|
206
|
+
//
|
207
|
+
// Code
|
208
|
+
//
|
209
|
+
|
210
|
+
pre,
|
211
|
+
code,
|
212
|
+
kbd,
|
213
|
+
samp {
|
214
|
+
font-family: monospace, monospace; // Correct the inheritance and scaling of font size in all browsers.
|
215
|
+
font-size: 1em; // Correct the odd `em` font sizing in all browsers.
|
216
|
+
}
|
217
|
+
|
218
|
+
pre {
|
219
|
+
// Remove browser default top margin
|
220
|
+
margin-top: 0;
|
221
|
+
// Reset browser default of `1em` to use `rem`s
|
222
|
+
margin-bottom: 1rem;
|
223
|
+
// Don't allow content to break outside
|
224
|
+
overflow: auto;
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
//
|
229
|
+
// Figures
|
230
|
+
//
|
231
|
+
|
232
|
+
figure {
|
233
|
+
// Apply a consistent margin strategy (matches our type styles).
|
234
|
+
margin: 0 0 1rem;
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
//
|
239
|
+
// Images and content
|
240
|
+
//
|
241
|
+
|
242
|
+
img {
|
243
|
+
vertical-align: middle;
|
244
|
+
border-style: none; // Remove the border on images inside links in IE 10-.
|
245
|
+
}
|
246
|
+
|
247
|
+
svg:not(:root) {
|
248
|
+
overflow: hidden; // Hide the overflow in IE
|
249
|
+
}
|
250
|
+
|
251
|
+
|
252
|
+
// Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
|
253
|
+
//
|
254
|
+
// In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
|
255
|
+
// DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
|
256
|
+
// However, they DO support removing the click delay via `touch-action: manipulation`.
|
257
|
+
// See:
|
258
|
+
// * https://v4-alpha.getbootstrap.com/content/reboot/#click-delay-optimization-for-touch
|
259
|
+
// * http://caniuse.com/#feat=css-touch-action
|
260
|
+
// * https://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
|
261
|
+
|
262
|
+
a,
|
263
|
+
area,
|
264
|
+
button,
|
265
|
+
[role="button"],
|
266
|
+
input,
|
267
|
+
label,
|
268
|
+
select,
|
269
|
+
summary,
|
270
|
+
textarea {
|
271
|
+
touch-action: manipulation;
|
272
|
+
}
|
273
|
+
|
274
|
+
|
275
|
+
//
|
276
|
+
// Tables
|
277
|
+
//
|
278
|
+
|
279
|
+
table {
|
280
|
+
border-collapse: collapse; // Prevent double borders
|
281
|
+
}
|
282
|
+
|
283
|
+
caption {
|
284
|
+
padding-top: $table-cell-padding;
|
285
|
+
padding-bottom: $table-cell-padding;
|
286
|
+
color: $pd-light-gray;
|
287
|
+
text-align: left;
|
288
|
+
caption-side: bottom;
|
289
|
+
}
|
290
|
+
|
291
|
+
th {
|
292
|
+
// Matches default `<td>` alignment
|
293
|
+
text-align: left;
|
294
|
+
}
|
295
|
+
|
296
|
+
|
297
|
+
//
|
298
|
+
// Forms
|
299
|
+
//
|
300
|
+
|
301
|
+
label {
|
302
|
+
// Allow labels to use `margin` for spacing.
|
303
|
+
display: inline-block;
|
304
|
+
margin-bottom: .5rem;
|
305
|
+
}
|
306
|
+
|
307
|
+
// Work around a Firefox/IE bug where the transparent `button` background
|
308
|
+
// results in a loss of the default `button` focus styles.
|
309
|
+
//
|
310
|
+
// Credit: https://github.com/suitcss/base/
|
311
|
+
button:focus {
|
312
|
+
outline: 1px dotted;
|
313
|
+
outline: 5px auto -webkit-focus-ring-color;
|
314
|
+
}
|
315
|
+
|
316
|
+
input,
|
317
|
+
button,
|
318
|
+
select,
|
319
|
+
optgroup,
|
320
|
+
textarea {
|
321
|
+
margin: 0; // Remove the margin in Firefox and Safari
|
322
|
+
font-family: inherit;
|
323
|
+
font-size: inherit;
|
324
|
+
line-height: inherit;
|
325
|
+
}
|
326
|
+
|
327
|
+
button,
|
328
|
+
input {
|
329
|
+
overflow: visible; // Show the overflow in Edge
|
330
|
+
}
|
331
|
+
|
332
|
+
button,
|
333
|
+
select {
|
334
|
+
text-transform: none; // Remove the inheritance of text transform in Firefox
|
335
|
+
}
|
336
|
+
|
337
|
+
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
338
|
+
// controls in Android 4.
|
339
|
+
// 2. Correct the inability to style clickable types in iOS and Safari.
|
340
|
+
button,
|
341
|
+
html [type="button"], // 1
|
342
|
+
[type="reset"],
|
343
|
+
[type="submit"] {
|
344
|
+
-webkit-appearance: button; // 2
|
345
|
+
}
|
346
|
+
|
347
|
+
// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
|
348
|
+
button::-moz-focus-inner,
|
349
|
+
[type="button"]::-moz-focus-inner,
|
350
|
+
[type="reset"]::-moz-focus-inner,
|
351
|
+
[type="submit"]::-moz-focus-inner {
|
352
|
+
padding: 0;
|
353
|
+
border-style: none;
|
354
|
+
}
|
355
|
+
|
356
|
+
input[type="radio"],
|
357
|
+
input[type="checkbox"] {
|
358
|
+
box-sizing: border-box; // 1. Add the correct box sizing in IE 10-
|
359
|
+
padding: 0; // 2. Remove the padding in IE 10-
|
360
|
+
|
361
|
+
// Apply a disabled cursor for radios and checkboxes.
|
362
|
+
//
|
363
|
+
// Note: Neither radios nor checkboxes can be readonly.
|
364
|
+
&:disabled {
|
365
|
+
cursor: not-allowed;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
|
370
|
+
input[type="date"],
|
371
|
+
input[type="time"],
|
372
|
+
input[type="datetime-local"],
|
373
|
+
input[type="month"] {
|
374
|
+
// Remove the default appearance of temporal inputs to avoid a Mobile Safari
|
375
|
+
// bug where setting a custom line-height prevents text from being vertically
|
376
|
+
// centered within the input.
|
377
|
+
// See https://bugs.webkit.org/show_bug.cgi?id=139848
|
378
|
+
// and https://github.com/twbs/bootstrap/issues/11266
|
379
|
+
-webkit-appearance: listbox;
|
380
|
+
}
|
381
|
+
|
382
|
+
textarea {
|
383
|
+
overflow: auto; // Remove the default vertical scrollbar in IE.
|
384
|
+
// Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
385
|
+
resize: vertical;
|
386
|
+
}
|
387
|
+
|
388
|
+
fieldset {
|
389
|
+
// Browsers set a default `min-width: min-content;` on fieldsets,
|
390
|
+
// unlike e.g. `<div>`s, which have `min-width: 0;` by default.
|
391
|
+
// So we reset that to ensure fieldsets behave more like a standard block element.
|
392
|
+
// See https://github.com/twbs/bootstrap/issues/12359
|
393
|
+
// and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
|
394
|
+
min-width: 0;
|
395
|
+
// Reset the default outline behavior of fieldsets so they don't affect page layout.
|
396
|
+
padding: 0;
|
397
|
+
margin: 0;
|
398
|
+
border: 0;
|
399
|
+
}
|
400
|
+
|
401
|
+
// 1. Correct the text wrapping in Edge and IE.
|
402
|
+
// 2. Correct the color inheritance from `fieldset` elements in IE.
|
403
|
+
legend {
|
404
|
+
display: block;
|
405
|
+
width: 100%;
|
406
|
+
max-width: 100%; // 1
|
407
|
+
padding: 0;
|
408
|
+
margin-bottom: .5rem;
|
409
|
+
font-size: 1.5rem;
|
410
|
+
line-height: inherit;
|
411
|
+
color: inherit; // 2
|
412
|
+
white-space: normal; // 1
|
413
|
+
}
|
414
|
+
|
415
|
+
progress {
|
416
|
+
vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
417
|
+
}
|
418
|
+
|
419
|
+
// Correct the cursor style of increment and decrement buttons in Chrome.
|
420
|
+
[type="number"]::-webkit-inner-spin-button,
|
421
|
+
[type="number"]::-webkit-outer-spin-button {
|
422
|
+
height: auto;
|
423
|
+
}
|
424
|
+
|
425
|
+
[type="search"] {
|
426
|
+
// This overrides the extra rounded corners on search inputs in iOS so that our
|
427
|
+
// `.form-control` class can properly style them. Note that this cannot simply
|
428
|
+
// be added to `.form-control` as it's not specific enough. For details, see
|
429
|
+
// https://github.com/twbs/bootstrap/issues/11586.
|
430
|
+
outline-offset: -2px; // 2. Correct the outline style in Safari.
|
431
|
+
-webkit-appearance: none;
|
432
|
+
}
|
433
|
+
|
434
|
+
//
|
435
|
+
// Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
436
|
+
//
|
437
|
+
|
438
|
+
[type="search"]::-webkit-search-cancel-button,
|
439
|
+
[type="search"]::-webkit-search-decoration {
|
440
|
+
-webkit-appearance: none;
|
441
|
+
}
|
442
|
+
|
443
|
+
//
|
444
|
+
// 1. Correct the inability to style clickable types in iOS and Safari.
|
445
|
+
// 2. Change font properties to `inherit` in Safari.
|
446
|
+
//
|
447
|
+
|
448
|
+
::-webkit-file-upload-button {
|
449
|
+
font: inherit; // 2
|
450
|
+
-webkit-appearance: button; // 1
|
451
|
+
}
|
452
|
+
|
453
|
+
//
|
454
|
+
// Correct element displays
|
455
|
+
//
|
456
|
+
|
457
|
+
output {
|
458
|
+
display: inline-block;
|
459
|
+
}
|
460
|
+
|
461
|
+
summary {
|
462
|
+
display: list-item; // Add the correct display in all browsers
|
463
|
+
}
|
464
|
+
|
465
|
+
template {
|
466
|
+
display: none; // Add the correct display in IE
|
467
|
+
}
|
468
|
+
|
469
|
+
// Always hide an element with the `hidden` HTML attribute (from PureCSS).
|
470
|
+
// Needed for proper display in IE 10-.
|
471
|
+
[hidden] {
|
472
|
+
display: none !important;
|
473
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/* Solarized Light
|
2
|
+
For use with Jekyll and Pygments
|
3
|
+
http://ethanschoonover.com/solarized
|
4
|
+
SOLARIZED HEX ROLE
|
5
|
+
--------- -------- ------------------------------------------
|
6
|
+
base01 #586e75 body text / default code / primary content
|
7
|
+
base1 #93a1a1 comments / secondary content
|
8
|
+
base3 #fdf6e3 background
|
9
|
+
orange #cb4b16 constants
|
10
|
+
red #dc322f regex, special keywords
|
11
|
+
blue #268bd2 reserved keywords
|
12
|
+
cyan #2aa198 strings, numbers
|
13
|
+
green #859900 operators, other keywords
|
14
|
+
*/
|
15
|
+
|
16
|
+
.highlight { background-color: #fdf6e3; color: #586e75 }
|
17
|
+
.highlight .c { color: #93a1a1 } /* Comment */
|
18
|
+
.highlight .err { color: #586e75 } /* Error */
|
19
|
+
.highlight .g { color: #586e75 } /* Generic */
|
20
|
+
.highlight .k { color: #859900 } /* Keyword */
|
21
|
+
.highlight .l { color: #586e75 } /* Literal */
|
22
|
+
.highlight .n { color: #586e75 } /* Name */
|
23
|
+
.highlight .o { color: #859900 } /* Operator */
|
24
|
+
.highlight .x { color: #cb4b16 } /* Other */
|
25
|
+
.highlight .p { color: #586e75 } /* Punctuation */
|
26
|
+
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
|
27
|
+
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
28
|
+
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
|
29
|
+
.highlight .cs { color: #859900 } /* Comment.Special */
|
30
|
+
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
31
|
+
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
32
|
+
.highlight .gr { color: #dc322f } /* Generic.Error */
|
33
|
+
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
34
|
+
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
35
|
+
.highlight .go { color: #586e75 } /* Generic.Output */
|
36
|
+
.highlight .gp { color: #586e75 } /* Generic.Prompt */
|
37
|
+
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
38
|
+
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
39
|
+
.highlight .gt { color: #586e75 } /* Generic.Traceback */
|
40
|
+
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
41
|
+
.highlight .kd { color: #268bd2 } /* Keyword.Declaration */
|
42
|
+
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
43
|
+
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
44
|
+
.highlight .kr { color: #268bd2 } /* Keyword.Reserved */
|
45
|
+
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
46
|
+
.highlight .ld { color: #586e75 } /* Literal.Date */
|
47
|
+
.highlight .m { color: #2aa198 } /* Literal.Number */
|
48
|
+
.highlight .s { color: #2aa198 } /* Literal.String */
|
49
|
+
.highlight .na { color: #586e75 } /* Name.Attribute */
|
50
|
+
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
51
|
+
.highlight .nc { color: #268bd2 } /* Name.Class */
|
52
|
+
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
53
|
+
.highlight .nd { color: #268bd2 } /* Name.Decorator */
|
54
|
+
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
55
|
+
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
56
|
+
.highlight .nf { color: #268bd2 } /* Name.Function */
|
57
|
+
.highlight .nl { color: #586e75 } /* Name.Label */
|
58
|
+
.highlight .nn { color: #586e75 } /* Name.Namespace */
|
59
|
+
.highlight .nx { color: #586e75 } /* Name.Other */
|
60
|
+
.highlight .py { color: #586e75 } /* Name.Property */
|
61
|
+
.highlight .nt { color: #268bd2 } /* Name.Tag */
|
62
|
+
.highlight .nv { color: #268bd2 } /* Name.Variable */
|
63
|
+
.highlight .ow { color: #859900 } /* Operator.Word */
|
64
|
+
.highlight .w { color: #586e75 } /* Text.Whitespace */
|
65
|
+
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
66
|
+
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
67
|
+
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
68
|
+
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
69
|
+
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
|
70
|
+
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
71
|
+
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
|
72
|
+
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
73
|
+
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
74
|
+
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
|
75
|
+
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
76
|
+
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
77
|
+
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
78
|
+
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
79
|
+
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
80
|
+
.highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
|
81
|
+
.highlight .vc { color: #268bd2 } /* Name.Variable.Class */
|
82
|
+
.highlight .vg { color: #268bd2 } /* Name.Variable.Global */
|
83
|
+
.highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
|
84
|
+
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Global Variables
|
2
|
+
// Colors
|
3
|
+
$pd-light-blue: #69C5FF;
|
4
|
+
$pd-dark-blue: #4BB7FC;
|
5
|
+
$pd-transparent-blue: rgba(125, 222, 255, 0.5);
|
6
|
+
$pd-orange: #EFAA4C;
|
7
|
+
$pd-yellow: #FDF6E3;
|
8
|
+
$pd-off-white: #FDFDFD;
|
9
|
+
$pd-black: #000000;
|
10
|
+
$pd-light-gray: #636c72;
|
11
|
+
|
12
|
+
// Fonts
|
13
|
+
$pd-font-family-sans-serif: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
|
14
|
+
$pd-font-family-monospace: 'Inconsolata', ;
|
15
|
+
$font-family-base: $pd-font-family-sans-serif !default;
|
16
|
+
|
17
|
+
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
18
|
+
$font-size-lg: 1.25rem !default;
|
19
|
+
$font-size-sm: .875rem !default;
|
20
|
+
$font-size-xs: .75rem !default;
|
21
|
+
|
22
|
+
$font-weight-normal: normal !default;
|
23
|
+
$font-weight-bold: bold !default;
|
24
|
+
|
25
|
+
$font-weight-base: $font-weight-normal !default;
|
26
|
+
$line-height-base: 1.5 !default;
|
27
|
+
|
28
|
+
$font-size-h1: 2.5rem !default;
|
29
|
+
$font-size-h2: 2rem !default;
|
30
|
+
$font-size-h3: 1.75rem !default;
|
31
|
+
$font-size-h4: 1.5rem !default;
|
32
|
+
$font-size-h5: 1.25rem !default;
|
33
|
+
$font-size-h6: 1rem !default;
|
34
|
+
|
35
|
+
$headings-margin-top: (1rem) !default;
|
36
|
+
$headings-margin-bottom: (1rem / 2) !default;
|
37
|
+
$headings-font-family: inherit !default;
|
38
|
+
$headings-font-weight: 500 !default;
|
39
|
+
$headings-line-height: 1.1 !default;
|
40
|
+
$headings-color: inherit !default;
|
41
|
+
|
42
|
+
$dt-font-weight: $font-weight-bold !default;
|
43
|
+
|
44
|
+
// Tables
|
45
|
+
$table-cell-padding: 0.75rem !default;
|
46
|
+
|
47
|
+
// Grid Settings
|
48
|
+
$large-neat-grid: (
|
49
|
+
media: 1000px,
|
50
|
+
);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/// Append attributes to a the `$_grid-visual` variable in `grid-visual` mixin
|
3
|
+
///
|
4
|
+
/// @argument {map} $grid
|
5
|
+
///
|
6
|
+
/// @argument {number (unitless) | null} $columns
|
7
|
+
///
|
8
|
+
/// @return {number}
|
9
|
+
///
|
10
|
+
/// @example scss
|
11
|
+
/// _neat-column-default($neat-grid, 4)
|
12
|
+
///
|
13
|
+
/// @access private
|
14
|
+
|
15
|
+
@function _neat-append-grid-visual($grid-visual-list, $attributes) {
|
16
|
+
@each $attribute in $attributes {
|
17
|
+
$grid-visual-list: append($grid-visual-list, $attribute, comma);
|
18
|
+
}
|
19
|
+
|
20
|
+
@return $grid-visual-list;
|
21
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/// Determine if a column count has been given.
|
3
|
+
/// If no columns have been given return the grid's total column count.
|
4
|
+
///
|
5
|
+
/// @argument {map} $grid
|
6
|
+
///
|
7
|
+
/// @argument {number (unitless) | null} $columns
|
8
|
+
///
|
9
|
+
/// @return {number}
|
10
|
+
///
|
11
|
+
/// @example scss
|
12
|
+
/// _neat-column-default($neat-grid, 4)
|
13
|
+
///
|
14
|
+
/// @access private
|
15
|
+
|
16
|
+
@function _neat-column-default($grid, $columns) {
|
17
|
+
@if $columns == null {
|
18
|
+
$_grid-columns: _retrieve-neat-setting($grid, columns);
|
19
|
+
@return $_grid-columns;
|
20
|
+
} @else {
|
21
|
+
@return $columns;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/// Determine the ratio of `$columns` to the total column count.
|
3
|
+
/// If `$columns` is more than one value, they are handed to
|
4
|
+
/// `_neat-parse-columns()` which will detirmine the total columns and use this
|
5
|
+
/// value instead of `total-columns`.
|
6
|
+
///
|
7
|
+
/// @argument {map} $grid
|
8
|
+
///
|
9
|
+
/// @argument {number | list} $columns
|
10
|
+
///
|
11
|
+
/// @return {number}
|
12
|
+
///
|
13
|
+
/// @example scss
|
14
|
+
/// _neat-column-ratio($grid, 3)
|
15
|
+
///
|
16
|
+
/// @access private
|
17
|
+
|
18
|
+
@function _neat-column-ratio($grid, $columns) {
|
19
|
+
@if length($columns) > 1 {
|
20
|
+
@return nth($columns, 1) / _neat-parse-columns($columns);
|
21
|
+
} @else if $columns {
|
22
|
+
@return $columns / _retrieve-neat-setting($grid, columns);
|
23
|
+
}
|
24
|
+
}
|