jekyll-theme-lucas-minima 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,103 @@
1
+ // Mixins
2
+ // ---------------------------------------/
3
+
4
+ @mixin border-radius($radius) {
5
+ -webkit-border-radius: $radius;
6
+ -moz-border-radius: $radius;
7
+ border-radius: $radius;
8
+ }
9
+
10
+ @mixin transition($value) {
11
+ -webkit-transition: $value;
12
+ -moz-transition: $value;
13
+ transition: $value;
14
+ }
15
+
16
+ // Clearfix
17
+ //
18
+ // Clears floats via mixin (avoid using as a class).
19
+
20
+ @mixin clearfix {
21
+ &:before {
22
+ display: table;
23
+ content: "";
24
+ }
25
+
26
+ &:after {
27
+ display: table;
28
+ clear: both;
29
+ content: "";
30
+ }
31
+ }
32
+
33
+ // media querie tools
34
+
35
+ @mixin media_max($screen_width) {
36
+ @media (max-width: $screen_width) { @content; }
37
+ }
38
+
39
+ @mixin media_min($screen_width) {
40
+ @media (min-width: $screen_width) { @content; }
41
+ }
42
+
43
+ @mixin media_larger_than_mobile {
44
+ @media (min-width: 600px) { @content; }
45
+ }
46
+
47
+ @mixin media_mobile {
48
+ @media (max-width: 600px) { @content; }
49
+ }
50
+
51
+ // type utilities
52
+
53
+ @mixin sans {
54
+ font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
55
+ }
56
+
57
+ @mixin sans_light {
58
+ @include sans;
59
+ font-weight: 300;
60
+ }
61
+
62
+ @mixin sans_regular {
63
+ @include sans;
64
+ font-weight: 400;
65
+ }
66
+
67
+ @mixin sans_bold {
68
+ @include sans;
69
+ font-weight: 700;
70
+ }
71
+
72
+ @mixin sans_extrabold {
73
+ @include sans;
74
+ font-weight: 800;
75
+ }
76
+
77
+ @mixin serif {
78
+ font-family: "Lora", "Minion Pro", Palatino, Georgia, serif;
79
+ }
80
+
81
+ @mixin serif_regular {
82
+ @include serif;
83
+ font-weight: 400;
84
+ }
85
+
86
+ @mixin serif_bold {
87
+ @include serif;
88
+ font-weight: 700;
89
+ }
90
+
91
+ // layout
92
+
93
+ @mixin section_border {
94
+ border-top: 4px solid #c7c7c7;
95
+ border-bottom: 2px solid #c7c7c7;
96
+ padding: .2rem 0 .4rem;
97
+ }
98
+
99
+ @mixin section_border_thin {
100
+ border-top: 1px solid #c7c7c7;
101
+ border-bottom: 1px solid #c7c7c7;
102
+ padding: .2rem 0 .2rem;
103
+ }
@@ -0,0 +1,426 @@
1
+ // Normalize styles
2
+ // ---------------------------------------/
3
+
4
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
5
+
6
+ /**
7
+ * 1. Set default font family to sans-serif.
8
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
9
+ * without disabling user zoom.
10
+ */
11
+
12
+ html {
13
+ font-family: sans-serif; /* 1 */
14
+ text-size-adjust: 100%; /* 2 */
15
+ }
16
+
17
+ /**
18
+ * Remove default margin.
19
+ */
20
+
21
+ body {
22
+ margin: 0;
23
+ }
24
+
25
+ /* HTML5 display definitions
26
+ ========================================================================== */
27
+
28
+ /**
29
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
30
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
31
+ * and Firefox.
32
+ * Correct `block` display not defined for `main` in IE 11.
33
+ */
34
+
35
+ article,
36
+ aside,
37
+ details,
38
+ figcaption,
39
+ figure,
40
+ footer,
41
+ header,
42
+ hgroup,
43
+ main,
44
+ menu,
45
+ nav,
46
+ section,
47
+ summary {
48
+ display: block;
49
+ }
50
+
51
+ /**
52
+ * 1. Correct `inline-block` display not defined in IE 8/9.
53
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
54
+ */
55
+
56
+ audio,
57
+ canvas,
58
+ progress,
59
+ video {
60
+ display: inline-block; /* 1 */
61
+ vertical-align: baseline; /* 2 */
62
+ }
63
+
64
+ /**
65
+ * Prevent modern browsers from displaying `audio` without controls.
66
+ * Remove excess height in iOS 5 devices.
67
+ */
68
+
69
+ audio:not([controls]) {
70
+ display: none;
71
+ height: 0;
72
+ }
73
+
74
+ /**
75
+ * Address `[hidden]` styling not present in IE 8/9/10.
76
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
77
+ */
78
+
79
+ [hidden],
80
+ template {
81
+ display: none;
82
+ }
83
+
84
+ /* Links
85
+ ========================================================================== */
86
+
87
+ /**
88
+ * Remove the gray background color from active links in IE 10.
89
+ */
90
+
91
+ a {
92
+ background-color: transparent;
93
+ }
94
+
95
+ /**
96
+ * Improve readability of focused elements when they are also in an
97
+ * active/hover state.
98
+ */
99
+
100
+ a:active,
101
+ a:hover {
102
+ outline: 0;
103
+ }
104
+
105
+ /* Text-level semantics
106
+ ========================================================================== */
107
+
108
+ /**
109
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
110
+ */
111
+
112
+ abbr[title] {
113
+ border-bottom: 1px dotted;
114
+ }
115
+
116
+ /**
117
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
118
+ */
119
+
120
+ b,
121
+ strong {
122
+ font-weight: bold;
123
+ }
124
+
125
+ /**
126
+ * Address styling not present in Safari and Chrome.
127
+ */
128
+
129
+ dfn {
130
+ font-style: italic;
131
+ }
132
+
133
+ /**
134
+ * Address variable `h1` font-size and margin within `section` and `article`
135
+ * contexts in Firefox 4+, Safari, and Chrome.
136
+ */
137
+
138
+ h1 {
139
+ font-size: 2em;
140
+ margin: 0.67em 0;
141
+ }
142
+
143
+ /**
144
+ * Address styling not present in IE 8/9.
145
+ */
146
+
147
+ mark {
148
+ background: #ff0;
149
+ color: #000;
150
+ }
151
+
152
+ /**
153
+ * Address inconsistent and variable font size in all browsers.
154
+ */
155
+
156
+ small {
157
+ font-size: 80%;
158
+ }
159
+
160
+ /**
161
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
162
+ */
163
+
164
+ sub,
165
+ sup {
166
+ font-size: 75%;
167
+ line-height: 0;
168
+ position: relative;
169
+ vertical-align: baseline;
170
+ }
171
+
172
+ sup {
173
+ top: -0.5em;
174
+ }
175
+
176
+ sub {
177
+ bottom: -0.25em;
178
+ }
179
+
180
+ /* Embedded content
181
+ ========================================================================== */
182
+
183
+ /**
184
+ * Remove border when inside `a` element in IE 8/9/10.
185
+ */
186
+
187
+ img {
188
+ border: 0;
189
+ }
190
+
191
+ /**
192
+ * Correct overflow not hidden in IE 9/10/11.
193
+ */
194
+
195
+ svg:not(:root) {
196
+ overflow: hidden;
197
+ }
198
+
199
+ /* Grouping content
200
+ ========================================================================== */
201
+
202
+ /**
203
+ * Address margin not present in IE 8/9 and Safari.
204
+ */
205
+
206
+ figure {
207
+ margin: 1em 40px;
208
+ }
209
+
210
+ /**
211
+ * Address differences between Firefox and other browsers.
212
+ */
213
+
214
+ hr {
215
+ box-sizing: content-box;
216
+ height: 0;
217
+ }
218
+
219
+ /**
220
+ * Contain overflow in all browsers.
221
+ */
222
+
223
+ pre {
224
+ overflow: auto;
225
+ }
226
+
227
+ /**
228
+ * Address odd `em`-unit font size rendering in all browsers.
229
+ */
230
+
231
+ code,
232
+ kbd,
233
+ pre,
234
+ samp {
235
+ font-family: monospace, monospace;
236
+ font-size: 1em;
237
+ }
238
+
239
+ /* Forms
240
+ ========================================================================== */
241
+
242
+ /**
243
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
244
+ * styling of `select`, unless a `border` property is set.
245
+ */
246
+
247
+ /**
248
+ * 1. Correct color not being inherited.
249
+ * Known issue: affects color of disabled elements.
250
+ * 2. Correct font properties not being inherited.
251
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
252
+ */
253
+
254
+ button,
255
+ input,
256
+ optgroup,
257
+ select,
258
+ textarea {
259
+ color: inherit; /* 1 */
260
+ font: inherit; /* 2 */
261
+ margin: 0; /* 3 */
262
+ }
263
+
264
+ /**
265
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
266
+ */
267
+
268
+ button {
269
+ overflow: visible;
270
+ }
271
+
272
+ /**
273
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
274
+ * All other form control elements do not inherit `text-transform` values.
275
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
276
+ * Correct `select` style inheritance in Firefox.
277
+ */
278
+
279
+ button,
280
+ select {
281
+ text-transform: none;
282
+ }
283
+
284
+ /**
285
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
286
+ * and `video` controls.
287
+ * 2. Correct inability to style clickable `input` types in iOS.
288
+ * 3. Improve usability and consistency of cursor style between image-type
289
+ * `input` and others.
290
+ */
291
+
292
+ button,
293
+ html input[type="button"], /* 1 */
294
+ input[type="reset"],
295
+ input[type="submit"] {
296
+ -webkit-appearance: button; /* 2 */
297
+ cursor: pointer; /* 3 */
298
+ }
299
+
300
+ /**
301
+ * Re-set default cursor for disabled elements.
302
+ */
303
+
304
+ button[disabled],
305
+ html input[disabled] {
306
+ cursor: default;
307
+ }
308
+
309
+ /**
310
+ * Remove inner padding and border in Firefox 4+.
311
+ */
312
+
313
+ button::-moz-focus-inner,
314
+ input::-moz-focus-inner {
315
+ border: 0;
316
+ padding: 0;
317
+ }
318
+
319
+ /**
320
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
321
+ * the UA stylesheet.
322
+ */
323
+
324
+ input {
325
+ line-height: normal;
326
+ }
327
+
328
+ /**
329
+ * It's recommended that you don't attempt to style these elements.
330
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
331
+ *
332
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
333
+ * 2. Remove excess padding in IE 8/9/10.
334
+ */
335
+
336
+ input[type="checkbox"],
337
+ input[type="radio"] {
338
+ box-sizing: border-box; /* 1 */
339
+ padding: 0; /* 2 */
340
+ }
341
+
342
+ /**
343
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
344
+ * `font-size` values of the `input`, it causes the cursor style of the
345
+ * decrement button to change from `default` to `text`.
346
+ */
347
+
348
+ input[type="number"]::-webkit-inner-spin-button,
349
+ input[type="number"]::-webkit-outer-spin-button {
350
+ height: auto;
351
+ }
352
+
353
+ /**
354
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
355
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
356
+ */
357
+
358
+ input[type="search"] {
359
+ -webkit-appearance: textfield; /* 1 */
360
+ box-sizing: content-box; /* 2 */
361
+ }
362
+
363
+ /**
364
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
365
+ * Safari (but not Chrome) clips the cancel button when the search input has
366
+ * padding (and `textfield` appearance).
367
+ */
368
+
369
+ input[type="search"]::-webkit-search-cancel-button,
370
+ input[type="search"]::-webkit-search-decoration {
371
+ -webkit-appearance: none;
372
+ }
373
+
374
+ /**
375
+ * Define consistent border, margin, and padding.
376
+ */
377
+
378
+ fieldset {
379
+ border: 1px solid #c0c0c0;
380
+ margin: 0 2px;
381
+ padding: 0.35em 0.625em 0.75em;
382
+ }
383
+
384
+ /**
385
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
386
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
387
+ */
388
+
389
+ legend {
390
+ border: 0; /* 1 */
391
+ padding: 0; /* 2 */
392
+ }
393
+
394
+ /**
395
+ * Remove default vertical scrollbar in IE 8/9/10/11.
396
+ */
397
+
398
+ textarea {
399
+ overflow: auto;
400
+ }
401
+
402
+ /**
403
+ * Don't inherit the `font-weight` (applied by a rule above).
404
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
405
+ */
406
+
407
+ optgroup {
408
+ font-weight: bold;
409
+ }
410
+
411
+ /* Tables
412
+ ========================================================================== */
413
+
414
+ /**
415
+ * Remove most spacing between table cells.
416
+ */
417
+
418
+ table {
419
+ border-collapse: collapse;
420
+ border-spacing: 0;
421
+ }
422
+
423
+ td,
424
+ th {
425
+ padding: 0;
426
+ }