kh-portfolio 0.1.3

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.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +81 -0
  4. data/_includes/nav.html +25 -0
  5. data/_includes/powered-by.html +5 -0
  6. data/_includes/social-media-connection-bar.html +27 -0
  7. data/_layouts/archive.html +35 -0
  8. data/_layouts/default.html +44 -0
  9. data/_layouts/page.html +14 -0
  10. data/_layouts/portfolio.html +29 -0
  11. data/_layouts/post.html +74 -0
  12. data/_layouts/project.html +51 -0
  13. data/_sass/_global.scss +32 -0
  14. data/_sass/_gruppo.scss +5 -0
  15. data/_sass/_post.scss +73 -0
  16. data/_sass/_project.scss +71 -0
  17. data/_sass/_variables.scss +8 -0
  18. data/_sass/materialize/LICENSE +21 -0
  19. data/_sass/materialize/README.md +48 -0
  20. data/_sass/materialize/all.scss +40 -0
  21. data/_sass/materialize/components/_buttons.scss +281 -0
  22. data/_sass/materialize/components/_cards.scss +187 -0
  23. data/_sass/materialize/components/_carousel.scss +85 -0
  24. data/_sass/materialize/components/_chips.scss +83 -0
  25. data/_sass/materialize/components/_collapsible.scss +90 -0
  26. data/_sass/materialize/components/_color.scss +412 -0
  27. data/_sass/materialize/components/_dropdown.scss +65 -0
  28. data/_sass/materialize/components/_global.scss +800 -0
  29. data/_sass/materialize/components/_grid.scss +147 -0
  30. data/_sass/materialize/components/_icons-material-design.scss +5 -0
  31. data/_sass/materialize/components/_materialbox.scss +42 -0
  32. data/_sass/materialize/components/_mixins.scss +5 -0
  33. data/_sass/materialize/components/_modal.scss +90 -0
  34. data/_sass/materialize/components/_navbar.scss +190 -0
  35. data/_sass/materialize/components/_normalize.scss +424 -0
  36. data/_sass/materialize/components/_prefixer.scss +384 -0
  37. data/_sass/materialize/components/_preloader.scss +334 -0
  38. data/_sass/materialize/components/_roboto.scss +28 -0
  39. data/_sass/materialize/components/_sideNav.scss +208 -0
  40. data/_sass/materialize/components/_slider.scss +92 -0
  41. data/_sass/materialize/components/_table_of_contents.scss +33 -0
  42. data/_sass/materialize/components/_tabs.scss +99 -0
  43. data/_sass/materialize/components/_toast.scss +65 -0
  44. data/_sass/materialize/components/_tooltip.scss +32 -0
  45. data/_sass/materialize/components/_typography.scss +61 -0
  46. data/_sass/materialize/components/_variables.scss +313 -0
  47. data/_sass/materialize/components/_waves.scss +177 -0
  48. data/_sass/materialize/components/date_picker/_default.date.scss +435 -0
  49. data/_sass/materialize/components/date_picker/_default.scss +201 -0
  50. data/_sass/materialize/components/date_picker/_default.time.scss +125 -0
  51. data/_sass/materialize/components/forms/_checkboxes.scss +220 -0
  52. data/_sass/materialize/components/forms/_file-input.scss +38 -0
  53. data/_sass/materialize/components/forms/_forms.scss +22 -0
  54. data/_sass/materialize/components/forms/_input-fields.scss +286 -0
  55. data/_sass/materialize/components/forms/_radio-buttons.scss +117 -0
  56. data/_sass/materialize/components/forms/_range.scss +159 -0
  57. data/_sass/materialize/components/forms/_select.scss +121 -0
  58. data/_sass/materialize/components/forms/_switches.scss +78 -0
  59. data/assets/fonts/gruppo/Gruppo-Regular.ttf +0 -0
  60. data/assets/fonts/gruppo/OFL.txt +93 -0
  61. data/assets/fonts/roboto/LICENSE.txt +202 -0
  62. data/assets/fonts/roboto/Roboto-Black.ttf +0 -0
  63. data/assets/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  64. data/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  65. data/assets/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  66. data/assets/fonts/roboto/Roboto-Italic.ttf +0 -0
  67. data/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  68. data/assets/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  69. data/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  70. data/assets/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  71. data/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  72. data/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  73. data/assets/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  74. data/assets/js/theme.js +8 -0
  75. data/assets/styles.scss +14 -0
  76. data/assets/syntax.scss +332 -0
  77. metadata +161 -0
@@ -0,0 +1,38 @@
1
+ /* File Input
2
+ ========================================================================== */
3
+
4
+ .file-field {
5
+ position: relative;
6
+
7
+ .file-path-wrapper {
8
+ overflow: hidden;
9
+ padding-left: 10px;
10
+ }
11
+
12
+ input.file-path { width: 100%; }
13
+
14
+ .btn {
15
+ float: left;
16
+ height: $input-height;
17
+ line-height: $input-height;
18
+ }
19
+
20
+ span {
21
+ cursor: pointer;
22
+ }
23
+
24
+ input[type=file] {
25
+ position: absolute;
26
+ top: 0;
27
+ right: 0;
28
+ left: 0;
29
+ bottom: 0;
30
+ width: 100%;
31
+ margin: 0;
32
+ padding: 0;
33
+ font-size: 20px;
34
+ cursor: pointer;
35
+ opacity: 0;
36
+ filter: alpha(opacity=0);
37
+ }
38
+ }
@@ -0,0 +1,22 @@
1
+ // Remove Focus Boxes
2
+ select:focus {
3
+ outline: $select-focus;
4
+ }
5
+
6
+ button:focus {
7
+ outline: none;
8
+ background-color: $button-background-focus;
9
+ }
10
+
11
+ label {
12
+ font-size: $label-font-size;
13
+ color: $input-border-color;
14
+ }
15
+
16
+ @import 'input-fields';
17
+ @import 'radio-buttons';
18
+ @import 'checkboxes';
19
+ @import 'switches';
20
+ @import 'select';
21
+ @import 'file-input';
22
+ @import 'range';
@@ -0,0 +1,286 @@
1
+ /* Text Inputs + Textarea
2
+ ========================================================================== */
3
+
4
+ /* Style Placeholders */
5
+
6
+ ::-webkit-input-placeholder {
7
+ color: $placeholder-text-color;
8
+ }
9
+
10
+ :-moz-placeholder { /* Firefox 18- */
11
+ color: $placeholder-text-color;
12
+ }
13
+
14
+ ::-moz-placeholder { /* Firefox 19+ */
15
+ color: $placeholder-text-color;
16
+ }
17
+
18
+ :-ms-input-placeholder {
19
+ color: $placeholder-text-color;
20
+ }
21
+
22
+ /* Text inputs */
23
+
24
+ input:not([type]),
25
+ input[type=text],
26
+ input[type=password],
27
+ input[type=email],
28
+ input[type=url],
29
+ input[type=time],
30
+ input[type=date],
31
+ input[type=datetime],
32
+ input[type=datetime-local],
33
+ input[type=tel],
34
+ input[type=number],
35
+ input[type=search],
36
+ textarea.materialize-textarea {
37
+
38
+ // General Styles
39
+ background-color: transparent;
40
+ border: none;
41
+ border-bottom: $input-border;
42
+ border-radius: 0;
43
+ outline: none;
44
+ height: $input-height;
45
+ width: 100%;
46
+ font-size: $input-font-size;
47
+ margin: $input-margin;
48
+ padding: $input-padding;
49
+ box-shadow: none;
50
+ box-sizing: content-box;
51
+ transition: $input-transition;
52
+
53
+ // Disabled input style
54
+ &:disabled,
55
+ &[readonly="readonly"] {
56
+ color: $input-disabled-color;
57
+ border-bottom: $input-disabled-border;
58
+ }
59
+
60
+ // Disabled label style
61
+ &:disabled+label,
62
+ &[readonly="readonly"]+label {
63
+ color: $input-disabled-color;
64
+ }
65
+
66
+ // Focused input style
67
+ &:focus:not([readonly]) {
68
+ border-bottom: 1px solid $input-focus-color;
69
+ box-shadow: 0 1px 0 0 $input-focus-color;
70
+ }
71
+
72
+ // Focused label style
73
+ &:focus:not([readonly])+label {
74
+ color: $input-focus-color;
75
+ }
76
+
77
+ // Valid Input Style
78
+ &.valid,
79
+ &:focus.valid {
80
+ border-bottom: 1px solid $input-success-color;
81
+ box-shadow: 0 1px 0 0 $input-success-color;
82
+ }
83
+
84
+ // Custom Success Message
85
+ &.valid + label:after,
86
+ &:focus.valid + label:after {
87
+ content: attr(data-success);
88
+ color: $input-success-color;
89
+ opacity: 1;
90
+ }
91
+
92
+ // Invalid Input Style
93
+ &.invalid,
94
+ &:focus.invalid {
95
+ border-bottom: $input-invalid-border;
96
+ box-shadow: 0 1px 0 0 $input-error-color;
97
+ }
98
+
99
+ // Custom Error message
100
+ &.invalid + label:after,
101
+ &:focus.invalid + label:after {
102
+ content: attr(data-error);
103
+ color: $input-error-color;
104
+ opacity: 1;
105
+ }
106
+
107
+ // Full width label when using validate for error messages
108
+ &.validate + label {
109
+ width: 100%;
110
+ pointer-events: none;
111
+ }
112
+
113
+ // Form Message Shared Styles
114
+ & + label:after {
115
+ display: block;
116
+ content: "";
117
+ position: absolute;
118
+ top: 60px;
119
+ opacity: 0;
120
+ transition: .2s opacity ease-out, .2s color ease-out;
121
+ }
122
+ }
123
+
124
+ // Styling for input field wrapper
125
+ .input-field {
126
+ // Inline styles
127
+ &.inline {
128
+ display: inline-block;
129
+ vertical-align: middle;
130
+ margin-left: 5px;
131
+
132
+ input,
133
+ .select-dropdown {
134
+ margin-bottom: 1rem;
135
+ }
136
+ }
137
+
138
+ // Gutter spacing
139
+ &.col {
140
+ label {
141
+ left: $gutter-width / 2;
142
+ }
143
+
144
+ .prefix ~ label,
145
+ .prefix ~ .validate ~ label {
146
+ width: calc(100% - 3rem - #{$gutter-width});
147
+ }
148
+ }
149
+
150
+ position: relative;
151
+ margin-top: 1rem;
152
+
153
+ label {
154
+ color: $input-border-color;
155
+ position: absolute;
156
+ top: 0.8rem;
157
+ left: 0;
158
+ font-size: 1rem;
159
+ cursor: text;
160
+ transition: .2s ease-out;
161
+ }
162
+
163
+ label.active {
164
+ font-size: $label-font-size;
165
+ transform: translateY(-140%);
166
+ }
167
+
168
+ // Prefix Icons
169
+ .prefix {
170
+ position: absolute;
171
+ width: $input-height;
172
+ font-size: 2rem;
173
+ transition: color .2s;
174
+
175
+ &.active { color: $input-focus-color; }
176
+ }
177
+
178
+ .prefix ~ input,
179
+ .prefix ~ textarea,
180
+ .prefix ~ label,
181
+ .prefix ~ .validate ~ label,
182
+ .prefix ~ .autocomplete-content {
183
+ margin-left: 3rem;
184
+ width: 92%;
185
+ width: calc(100% - 3rem);
186
+ }
187
+
188
+ .prefix ~ label { margin-left: 3rem; }
189
+
190
+ @media #{$medium-and-down} {
191
+ .prefix ~ input {
192
+ width: 86%;
193
+ width: calc(100% - 3rem);
194
+ }
195
+ }
196
+
197
+ @media #{$small-and-down} {
198
+ .prefix ~ input {
199
+ width: 80%;
200
+ width: calc(100% - 3rem);
201
+ }
202
+ }
203
+ }
204
+
205
+
206
+ /* Search Field */
207
+
208
+ .input-field input[type=search] {
209
+ display: block;
210
+ line-height: inherit;
211
+ padding-left: 4rem;
212
+ width: calc(100% - 4rem);
213
+
214
+ &:focus {
215
+ background-color: $input-background;
216
+ border: 0;
217
+ box-shadow: none;
218
+ color: #444;
219
+
220
+ & + label i,
221
+ & ~ .mdi-navigation-close,
222
+ & ~ .material-icons {
223
+ color: #444;
224
+ }
225
+ }
226
+
227
+ & + label {
228
+ left: 1rem;
229
+ }
230
+
231
+ & ~ .mdi-navigation-close,
232
+ & ~ .material-icons {
233
+ position: absolute;
234
+ top: 0;
235
+ right: 1rem;
236
+ color: transparent;
237
+ cursor: pointer;
238
+ font-size: 2rem;
239
+ transition: .3s color;
240
+ }
241
+ }
242
+
243
+
244
+ /* Textarea */
245
+
246
+ // Default textarea
247
+ textarea {
248
+ width: 100%;
249
+ height: $input-height;
250
+ background-color: transparent;
251
+
252
+ &.materialize-textarea {
253
+ overflow-y: hidden; /* prevents scroll bar flash */
254
+ padding: .8rem 0 1.6rem 0; /* prevents text jump on Enter keypress */
255
+ resize: none;
256
+ min-height: $input-height;
257
+ }
258
+ }
259
+
260
+ // For textarea autoresize
261
+ .hiddendiv {
262
+ display: none;
263
+ white-space: pre-wrap;
264
+ word-wrap: break-word;
265
+ overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */
266
+ padding-top: 1.2rem; /* prevents text jump on Enter keypress */
267
+ }
268
+
269
+
270
+ /* Autocomplete */
271
+ .autocomplete-content {
272
+ margin-top: -15px;
273
+ display: block;
274
+ opacity: 1;
275
+ position: static;
276
+
277
+ li {
278
+ .highlight { color: #444; }
279
+
280
+ img {
281
+ height: $dropdown-item-height - 10;
282
+ width: $dropdown-item-height - 10;
283
+ margin: 5px 15px;
284
+ }
285
+ }
286
+ }
@@ -0,0 +1,117 @@
1
+ /* Radio Buttons
2
+ ========================================================================== */
3
+
4
+ // Remove default Radio Buttons
5
+ [type="radio"]:not(:checked),
6
+ [type="radio"]:checked {
7
+ position: absolute;
8
+ left: -9999px;
9
+ opacity: 0;
10
+ }
11
+
12
+ [type="radio"]:not(:checked) + label,
13
+ [type="radio"]:checked + label {
14
+ position: relative;
15
+ padding-left: 35px;
16
+ cursor: pointer;
17
+ display: inline-block;
18
+ height: 25px;
19
+ line-height: 25px;
20
+ font-size: 1rem;
21
+ transition: .28s ease;
22
+
23
+ -khtml-user-select: none; /* webkit (konqueror) browsers */
24
+ user-select: none;
25
+ }
26
+
27
+ [type="radio"] + label:before,
28
+ [type="radio"] + label:after {
29
+ content: '';
30
+ position: absolute;
31
+ left: 0;
32
+ top: 0;
33
+ margin: 4px;
34
+ width: 16px;
35
+ height: 16px;
36
+ z-index: 0;
37
+ transition: .28s ease;
38
+ }
39
+
40
+ /* Unchecked styles */
41
+ [type="radio"]:not(:checked) + label:before,
42
+ [type="radio"]:not(:checked) + label:after,
43
+ [type="radio"]:checked + label:before,
44
+ [type="radio"]:checked + label:after,
45
+ [type="radio"].with-gap:checked + label:before,
46
+ [type="radio"].with-gap:checked + label:after {
47
+ border-radius: 50%;
48
+ }
49
+
50
+ [type="radio"]:not(:checked) + label:before,
51
+ [type="radio"]:not(:checked) + label:after {
52
+ border: 2px solid $radio-empty-color;
53
+ }
54
+
55
+ [type="radio"]:not(:checked) + label:after {
56
+ transform: scale(0);
57
+ }
58
+
59
+ /* Checked styles */
60
+ [type="radio"]:checked + label:before {
61
+ border: 2px solid transparent;
62
+ }
63
+
64
+ [type="radio"]:checked + label:after,
65
+ [type="radio"].with-gap:checked + label:before,
66
+ [type="radio"].with-gap:checked + label:after {
67
+ border: $radio-border;
68
+ }
69
+
70
+ [type="radio"]:checked + label:after,
71
+ [type="radio"].with-gap:checked + label:after {
72
+ background-color: $radio-fill-color;
73
+ }
74
+
75
+ [type="radio"]:checked + label:after {
76
+ transform: scale(1.02);
77
+ }
78
+
79
+ /* Radio With gap */
80
+ [type="radio"].with-gap:checked + label:after {
81
+ transform: scale(.5);
82
+ }
83
+
84
+ /* Focused styles */
85
+ [type="radio"].tabbed:focus + label:before {
86
+ box-shadow: 0 0 0 10px rgba(0,0,0,.1);
87
+ }
88
+
89
+ /* Disabled Radio With gap */
90
+ [type="radio"].with-gap:disabled:checked + label:before {
91
+ border: 2px solid $input-disabled-color;
92
+ }
93
+
94
+ [type="radio"].with-gap:disabled:checked + label:after {
95
+ border: none;
96
+ background-color: $input-disabled-color;
97
+ }
98
+
99
+ /* Disabled style */
100
+ [type="radio"]:disabled:not(:checked) + label:before,
101
+ [type="radio"]:disabled:checked + label:before {
102
+ background-color: transparent;
103
+ border-color: $input-disabled-color;
104
+ }
105
+
106
+ [type="radio"]:disabled + label {
107
+ color: $input-disabled-color;
108
+ }
109
+
110
+ [type="radio"]:disabled:not(:checked) + label:before {
111
+ border-color: $input-disabled-color;
112
+ }
113
+
114
+ [type="radio"]:disabled:checked + label:after {
115
+ background-color: $input-disabled-color;
116
+ border-color: $input-disabled-solid-color;
117
+ }