materialized-jekyll 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,321 @@
1
+ // ==========================================================================
2
+ // Materialize variables
3
+ // ==========================================================================
4
+ //
5
+ // Table of Contents:
6
+ //
7
+ // 1. Colors
8
+ // 2. Badges
9
+ // 3. Buttons
10
+ // 4. Cards
11
+ // 5. Collapsible
12
+ // 6. Chips
13
+ // 7. Date Picker
14
+ // 8. Dropdown
15
+ // 10. Forms
16
+ // 11. Global
17
+ // 12. Grid
18
+ // 13. Navigation Bar
19
+ // 14. Side Navigation
20
+ // 15. Photo Slider
21
+ // 16. Spinners | Loaders
22
+ // 17. Tabs
23
+ // 18. Tables
24
+ // 19. Toasts
25
+ // 20. Typography
26
+ // 21. Footer
27
+ // 22. Flow Text
28
+ // 23. Collections
29
+ // 24. Progress Bar
30
+
31
+
32
+
33
+ // 1. Colors
34
+ // ==========================================================================
35
+
36
+ $primary-color: color("materialize-teal", "base") !default;
37
+ $primary-color-light: lighten($primary-color, 15%) !default;
38
+
39
+ $secondary-color: color("materialize-teal", "lighten-1") !default;
40
+ $success-color: color("green", "base") !default;
41
+ $error-color: color("red", "base") !default;
42
+ $link-color: $secondary-color !default;
43
+
44
+
45
+ // 2. Badges
46
+ // ==========================================================================
47
+
48
+ $badge-bg-color: $secondary-color !default;
49
+ $badge-height: 22px !default;
50
+
51
+
52
+ // 3. Buttons
53
+ // ==========================================================================
54
+
55
+ // Shared styles
56
+ $button-border: none !default;
57
+ $button-background-focus: lighten($secondary-color, 4%) !default;
58
+ $button-font-size: 1rem !default;
59
+ $button-icon-font-size: 1.3rem !default;
60
+ $button-height: 36px !default;
61
+ $button-padding: 0 2rem !default;
62
+ $button-radius: 2px !default;
63
+
64
+ // Disabled styles
65
+ $button-disabled-background: #DFDFDF !default;
66
+ $button-disabled-color: #9F9F9F !default;
67
+
68
+ // Raised buttons
69
+ $button-raised-background: $secondary-color !default;
70
+ $button-raised-background-hover: lighten($button-raised-background, 5%) !default;
71
+ $button-raised-color: #fff !default;
72
+
73
+ // Large buttons
74
+ $button-large-icon-font-size: 1.6rem !default;
75
+ $button-large-height: $button-height * 1.5 !default;
76
+
77
+ // Flat buttons
78
+ $button-flat-color: #343434 !default;
79
+ $button-flat-disabled-color: lighten(#999, 10%) !default;
80
+
81
+ // Floating buttons
82
+ $button-floating-background: $secondary-color !default;
83
+ $button-floating-background-hover: $button-floating-background !default;
84
+ $button-floating-color: #fff !default;
85
+ $button-floating-size: 40px !default;
86
+ $button-floating-large-size: 56px !default;
87
+ $button-floating-radius: 50% !default;
88
+
89
+
90
+ // 4. Cards
91
+ // ==========================================================================
92
+
93
+ $card-padding: 24px !default;
94
+ $card-bg-color: #fff !default;
95
+ $card-link-color: color("orange", "accent-2") !default;
96
+ $card-link-color-light: lighten($card-link-color, 20%) !default;
97
+
98
+
99
+ // 5. Collapsible
100
+ // ==========================================================================
101
+
102
+ $collapsible-height: 3rem !default;
103
+ $collapsible-line-height: $collapsible-height !default;
104
+ $collapsible-header-color: #fff !default;
105
+ $collapsible-border-color: #ddd !default;
106
+
107
+
108
+ // 6. Chips
109
+ // ==========================================================================
110
+
111
+ $chip-bg-color: #e4e4e4 !default;
112
+ $chip-border-color: #9e9e9e !default;
113
+ $chip-selected-color: #26a69a !default;
114
+ $chip-margin: 5px !default;
115
+
116
+
117
+ // 7. Date Picker
118
+ // ==========================================================================
119
+
120
+ $datepicker-weekday-bg: darken($secondary-color, 7%) !default;
121
+ $datepicker-date-bg: $secondary-color !default;
122
+ $datepicker-year: rgba(255, 255, 255, .4) !default;
123
+ $datepicker-focus: rgba(0,0,0, .05) !default;
124
+ $datepicker-selected: $secondary-color !default;
125
+ $datepicker-selected-outfocus: desaturate(lighten($secondary-color, 35%), 15%) !default;
126
+
127
+
128
+ // 8. Dropdown
129
+ // ==========================================================================
130
+
131
+ $dropdown-bg-color: #fff !default;
132
+ $dropdown-hover-bg-color: #eee !default;
133
+ $dropdown-color: $secondary-color !default;
134
+ $dropdown-item-height: 50px !default;
135
+
136
+
137
+ // 9. Fonts
138
+ // ==========================================================================
139
+
140
+ $roboto-font-path: "../fonts/roboto/" !default;
141
+
142
+
143
+ // 10. Forms
144
+ // ==========================================================================
145
+
146
+ // Text Inputs + Textarea
147
+ $input-height: 3rem !default;
148
+ $input-border-color: color("grey", "base") !default;
149
+ $input-border: 1px solid $input-border-color !default;
150
+ $input-background: #fff !default;
151
+ $input-error-color: $error-color !default;
152
+ $input-success-color: $success-color !default;
153
+ $input-focus-color: $secondary-color !default;
154
+ $input-font-size: 1rem !default;
155
+ $input-margin-bottom: 20px;
156
+ $input-margin: 0 0 $input-margin-bottom 0 !default;
157
+ $input-padding: 0 !default;
158
+ $input-transition: all .3s !default;
159
+ $label-font-size: .8rem !default;
160
+ $input-disabled-color: rgba(0,0,0, .26) !default;
161
+ $input-disabled-solid-color: #BDBDBD !default;
162
+ $input-disabled-border: 1px dotted $input-disabled-color !default;
163
+ $input-invalid-border: 1px solid $input-error-color !default;
164
+ $placeholder-text-color: lighten($input-border-color, 20%) !default;
165
+
166
+ // Radio Buttons
167
+ $radio-fill-color: $secondary-color !default;
168
+ $radio-empty-color: #5a5a5a !default;
169
+ $radio-border: 2px solid $radio-fill-color !default;
170
+
171
+ // Range
172
+ $range-height: 14px !default;
173
+ $range-width: 14px !default;
174
+ $track-height: 3px !default;
175
+
176
+ // Select
177
+ $select-border: 1px solid #f2f2f2 !default;
178
+ $select-background: rgba(255, 255, 255, 0.90) !default;
179
+ $select-focus: 1px solid lighten($secondary-color, 47%) !default;
180
+ $select-padding: 5px !default;
181
+ $select-radius: 2px !default;
182
+ $select-disabled-color: rgba(0,0,0,.3) !default;
183
+
184
+ // Switches
185
+ $switch-bg-color: $secondary-color !default;
186
+ $switch-checked-lever-bg: desaturate(lighten($secondary-color, 25%), 25%) !default;
187
+ $switch-unchecked-bg: #F1F1F1 !default;
188
+ $switch-unchecked-lever-bg: #818181 !default;
189
+ $switch-radius: 15px !default;
190
+
191
+
192
+ // 11. Global
193
+ // ==========================================================================
194
+
195
+ // Media Query Ranges
196
+ $small-screen-up: 601px !default;
197
+ $medium-screen-up: 993px !default;
198
+ $large-screen-up: 1201px !default;
199
+ $small-screen: 600px !default;
200
+ $medium-screen: 992px !default;
201
+ $large-screen: 1200px !default;
202
+
203
+ $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
204
+ $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
205
+ $extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default;
206
+ $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
207
+ $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
208
+ $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
209
+
210
+
211
+ // 12. Grid
212
+ // ==========================================================================
213
+
214
+ $num-cols: 12 !default;
215
+ $gutter-width: 1.5rem !default;
216
+ $element-top-margin: $gutter-width/3 !default;
217
+ $element-bottom-margin: ($gutter-width*2)/3 !default;
218
+
219
+
220
+ // 13. Navigation Bar
221
+ // ==========================================================================
222
+
223
+ $navbar-height: 64px !default;
224
+ $navbar-line-height: $navbar-height !default;
225
+ $navbar-height-mobile: 56px !default;
226
+ $navbar-line-height-mobile: $navbar-height-mobile !default;
227
+ $navbar-font-size: 1rem !default;
228
+ $navbar-font-color: #fff !default;
229
+ $navbar-brand-font-size: 2.1rem !default;
230
+
231
+ // 14. Side Navigation
232
+ // ==========================================================================
233
+
234
+ $sidenav-font-size: 14px !default;
235
+ $sidenav-font-color: rgba(0,0,0,.87) !default;
236
+ $sidenav-bg-color: #fff !default;
237
+ $sidenav-padding: 16px !default;
238
+ $sidenav-item-height: 48px !default;
239
+ $sidenav-line-height: $sidenav-item-height !default;
240
+
241
+
242
+ // 15. Photo Slider
243
+ // ==========================================================================
244
+
245
+ $slider-bg-color: color('grey', 'base') !default;
246
+ $slider-bg-color-light: color('grey', 'lighten-2') !default;
247
+ $slider-indicator-color: color('green', 'base') !default;
248
+
249
+
250
+ // 16. Spinners | Loaders
251
+ // ==========================================================================
252
+
253
+ $spinner-default-color: $secondary-color !default;
254
+
255
+
256
+ // 17. Tabs
257
+ // ==========================================================================
258
+
259
+ $tabs-underline-color: $primary-color-light !default;
260
+ $tabs-text-color: $primary-color !default;
261
+ $tabs-bg-color: #fff !default;
262
+
263
+
264
+ // 18. Tables
265
+ // ==========================================================================
266
+
267
+ $table-border-color: #d0d0d0 !default;
268
+ $table-striped-color: #f2f2f2 !default;
269
+
270
+
271
+ // 19. Toasts
272
+ // ==========================================================================
273
+
274
+ $toast-height: 48px !default;
275
+ $toast-color: #323232 !default;
276
+ $toast-text-color: #fff !default;
277
+
278
+
279
+ // 20. Typography
280
+ // ==========================================================================
281
+
282
+ $off-black: rgba(0, 0, 0, 0.87) !default;
283
+ // Header Styles
284
+ $h1-fontsize: 4.2rem !default;
285
+ $h2-fontsize: 3.56rem !default;
286
+ $h3-fontsize: 2.92rem !default;
287
+ $h4-fontsize: 2.28rem !default;
288
+ $h5-fontsize: 1.64rem !default;
289
+ $h6-fontsize: 1rem !default;
290
+
291
+
292
+ // 21. Footer
293
+ // ==========================================================================
294
+
295
+ $footer-bg-color: $primary-color !default;
296
+
297
+
298
+ // 22. Flow Text
299
+ // ==========================================================================
300
+
301
+ $range : $large-screen - $small-screen !default;
302
+ $intervals: 20 !default;
303
+ $interval-size: $range / $intervals !default;
304
+
305
+
306
+ // 23. Collections
307
+ // ==========================================================================
308
+
309
+ $collection-border-color: #e0e0e0 !default;
310
+ $collection-bg-color: #fff !default;
311
+ $collection-active-bg-color: $secondary-color !default;
312
+ $collection-active-color: lighten($secondary-color, 55%) !default;
313
+ $collection-hover-bg-color: #ddd !default;
314
+ $collection-link-color: $secondary-color !default;
315
+ $collection-line-height: 1.5rem !default;
316
+
317
+
318
+ // 24. Progress Bar
319
+ // ==========================================================================
320
+
321
+ $progress-bar-color: $secondary-color !default;
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "materialized-jekyll",
3
+ "version": "0.1.5",
4
+ "description": "This is a Jekyll theme built on top of minima and inspired by materialize-sass.",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+ssh://git@github.com/tinglu/materialized-jekyll.git"
12
+ },
13
+ "keywords": [
14
+ "materilize",
15
+ "jekyll",
16
+ "theme"
17
+ ],
18
+ "author": "tinglu",
19
+ "license": "MIT",
20
+ "bugs": {
21
+ "url": "https://github.com/tinglu/materialized-jekyll/issues"
22
+ },
23
+ "homepage": "https://github.com/tinglu/materialized-jekyll#readme",
24
+ "dependencies": {
25
+ "materialize-css": "^0.98.2"
26
+ }
27
+ }
@@ -0,0 +1,63 @@
1
+ // https://github.com/jwarby/jekyll-pygments-themes
2
+
3
+ .highlight .hll { background-color: #ffffcc }
4
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
5
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
6
+ .highlight .k { color: #000000; font-weight: bold } /* Keyword */
7
+ .highlight .o { color: #000000; font-weight: bold } /* Operator */
8
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
9
+ .highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
10
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
11
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
12
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
13
+ .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
14
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
15
+ .highlight .gh { color: #999999 } /* Generic.Heading */
16
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
17
+ .highlight .go { color: #888888 } /* Generic.Output */
18
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
19
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
20
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
21
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
22
+ .highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
23
+ .highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
24
+ .highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
25
+ .highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
26
+ .highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
27
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
28
+ .highlight .m { color: #009999 } /* Literal.Number */
29
+ .highlight .s { color: #d01040 } /* Literal.String */
30
+ .highlight .na { color: #008080 } /* Name.Attribute */
31
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
32
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
33
+ .highlight .no { color: #008080 } /* Name.Constant */
34
+ .highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
35
+ .highlight .ni { color: #800080 } /* Name.Entity */
36
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
37
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
38
+ .highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
39
+ .highlight .nn { color: #555555 } /* Name.Namespace */
40
+ .highlight .nt { color: #000080 } /* Name.Tag */
41
+ .highlight .nv { color: #008080 } /* Name.Variable */
42
+ .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
43
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
44
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
45
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
46
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
47
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
48
+ .highlight .sb { color: #d01040 } /* Literal.String.Backtick */
49
+ .highlight .sc { color: #d01040 } /* Literal.String.Char */
50
+ .highlight .sd { color: #d01040 } /* Literal.String.Doc */
51
+ .highlight .s2 { color: #d01040 } /* Literal.String.Double */
52
+ .highlight .se { color: #d01040 } /* Literal.String.Escape */
53
+ .highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
54
+ .highlight .si { color: #d01040 } /* Literal.String.Interpol */
55
+ .highlight .sx { color: #d01040 } /* Literal.String.Other */
56
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
57
+ .highlight .s1 { color: #d01040 } /* Literal.String.Single */
58
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
59
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
60
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
61
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
62
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
63
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,136 @@
1
+ .highlight code, .highlight pre {
2
+ color:#fdce93;
3
+ background-color:#3f3f3f;
4
+ }
5
+
6
+ .highlight .hll {
7
+ background-color:#222;
8
+ }
9
+
10
+ .highlight .err {
11
+ color:#e37170;
12
+ background-color:#3d3535;
13
+ }
14
+
15
+ .highlight .k {
16
+ color:#f0dfaf;
17
+ }
18
+
19
+ .highlight .p {
20
+ color:#41706f;
21
+ }
22
+
23
+ .highlight .cs {
24
+ color:#cd0000;
25
+ font-weight:700;
26
+ }
27
+
28
+ .highlight .gd {
29
+ color:#cd0000;
30
+ }
31
+
32
+ .highlight .ge {
33
+ color:#ccc;
34
+ font-style:italic;
35
+ }
36
+
37
+ .highlight .gr {
38
+ color:red;
39
+ }
40
+
41
+ .highlight .go {
42
+ color:gray;
43
+ }
44
+
45
+ .highlight .gs {
46
+ color:#ccc;
47
+ font-weight:700;
48
+ }
49
+
50
+ .highlight .gu {
51
+ color:purple;
52
+ font-weight:700;
53
+ }
54
+
55
+ .highlight .gt {
56
+ color:#0040D0;
57
+ }
58
+
59
+ .highlight .kc {
60
+ color:#dca3a3;
61
+ }
62
+
63
+ .highlight .kd {
64
+ color:#ffff86;
65
+ }
66
+
67
+ .highlight .kn {
68
+ color:#dfaf8f;
69
+ font-weight:700;
70
+ }
71
+
72
+ .highlight .kp {
73
+ color:#cdcf99;
74
+ }
75
+
76
+ .highlight .kr {
77
+ color:#cdcd00;
78
+ }
79
+
80
+ .highlight .ni {
81
+ color:#c28182;
82
+ }
83
+
84
+ .highlight .ne {
85
+ color:#c3bf9f;
86
+ font-weight:700;
87
+ }
88
+
89
+ .highlight .nn {
90
+ color:#8fbede;
91
+ }
92
+
93
+ .highlight .vi {
94
+ color:#ffffc7;
95
+ }
96
+
97
+ .highlight .c,.preview-zenburn .highlight .g,.preview-zenburn .highlight .cm,.preview-zenburn .highlight .cp,.preview-zenburn .highlight .c1 {
98
+ color:#7f9f7f;
99
+ }
100
+
101
+ .highlight .l,.preview-zenburn .highlight .x,.preview-zenburn .highlight .no,.preview-zenburn .highlight .nd,.preview-zenburn .highlight .nl,.preview-zenburn .highlight .nx,.preview-zenburn .highlight .py,.preview-zenburn .highlight .w {
102
+ color:#ccc;
103
+ }
104
+
105
+ .highlight .n,.preview-zenburn .highlight .nv,.preview-zenburn .highlight .vg {
106
+ color:#dcdccc;
107
+ }
108
+
109
+ .highlight .o,.preview-zenburn .highlight .ow {
110
+ color:#f0efd0;
111
+ }
112
+
113
+ .highlight .gh,.preview-zenburn .highlight .gp {
114
+ color:#dcdccc;
115
+ font-weight:700;
116
+ }
117
+
118
+ .highlight .gi,.preview-zenburn .highlight .kt {
119
+ color:#00cd00;
120
+ }
121
+
122
+ .highlight .ld,.preview-zenburn .highlight .s,.preview-zenburn .highlight .sb,.preview-zenburn .highlight .sc,.preview-zenburn .highlight .sd,.preview-zenburn .highlight .s2,.preview-zenburn .highlight .se,.preview-zenburn .highlight .sh,.preview-zenburn .highlight .si,.preview-zenburn .highlight .sx,.preview-zenburn .highlight .sr,.preview-zenburn .highlight .s1,.preview-zenburn .highlight .ss {
123
+ color:#cc9393;
124
+ }
125
+
126
+ .highlight .m,.preview-zenburn .highlight .mf,.preview-zenburn .highlight .mh,.preview-zenburn .highlight .mi,.preview-zenburn .highlight .mo,.preview-zenburn .highlight .il {
127
+ color:#8cd0d3;
128
+ }
129
+
130
+ .highlight .na,.preview-zenburn .highlight .nt {
131
+ color:#9ac39f;
132
+ }
133
+
134
+ .highlight .nb,.preview-zenburn .highlight .nc,.preview-zenburn .highlight .nf,.preview-zenburn .highlight .bp,.preview-zenburn .highlight .vc {
135
+ color:#efef8f;
136
+ }