jekyll-theme-consulting 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contact.html +2 -2
  3. data/_includes/contact_form.html +5 -3
  4. data/_includes/head.html +10 -1
  5. data/_includes/scripts.html +9 -20
  6. data/_includes/search.html +8 -6
  7. data/_sass/large.scss +49 -0
  8. data/_sass/large/base/_page.scss +0 -0
  9. data/_sass/large/base/_reset.scss +0 -0
  10. data/_sass/large/base/_typography.scss +15 -0
  11. data/_sass/large/components/_actions.scss +0 -0
  12. data/_sass/large/components/_box.scss +0 -0
  13. data/_sass/large/components/_button.scss +0 -0
  14. data/_sass/large/components/_contact.scss +0 -0
  15. data/_sass/large/components/_facts.scss +0 -0
  16. data/_sass/large/components/_features.scss +0 -0
  17. data/_sass/large/components/_form.scss +0 -0
  18. data/_sass/large/components/_icon.scss +0 -0
  19. data/_sass/large/components/_icons.scss +0 -0
  20. data/_sass/large/components/_image.scss +0 -0
  21. data/_sass/large/components/_list.scss +0 -0
  22. data/_sass/large/components/_mini-posts.scss +0 -0
  23. data/_sass/large/components/_pagination.scss +0 -0
  24. data/_sass/large/components/_posts.scss +12 -0
  25. data/_sass/large/components/_row.scss +9 -0
  26. data/_sass/large/components/_section.scss +0 -0
  27. data/_sass/large/components/_table.scss +0 -0
  28. data/_sass/large/layout/_banner.scss +0 -0
  29. data/_sass/large/layout/_footer.scss +0 -0
  30. data/_sass/large/layout/_header.scss +0 -0
  31. data/_sass/large/layout/_main.scss +23 -0
  32. data/_sass/large/layout/_menu.scss +0 -0
  33. data/_sass/large/layout/_sidebar.scss +0 -0
  34. data/_sass/large/layout/_wrapper.scss +0 -0
  35. data/_sass/main.scss +27 -47
  36. data/_sass/main/base/_page.scss +33 -0
  37. data/_sass/main/base/_reset.scss +67 -0
  38. data/_sass/main/base/_typography.scss +200 -0
  39. data/_sass/main/components/_actions.scss +57 -0
  40. data/_sass/main/components/_box.scss +20 -0
  41. data/_sass/main/components/_button.scss +79 -0
  42. data/_sass/main/components/_contact.scss +41 -0
  43. data/_sass/main/components/_facts.scss +143 -0
  44. data/_sass/main/components/_features.scss +99 -0
  45. data/_sass/main/components/_form.scss +253 -0
  46. data/_sass/main/components/_icon.scss +27 -0
  47. data/_sass/main/components/_icons.scss +29 -0
  48. data/_sass/main/components/_image.scss +72 -0
  49. data/_sass/main/components/_list.scss +50 -0
  50. data/_sass/main/components/_mini-posts.scss +25 -0
  51. data/_sass/main/components/_pagination.scss +52 -0
  52. data/_sass/main/components/_posts.scss +54 -0
  53. data/_sass/main/components/_row.scss +3 -0
  54. data/_sass/main/components/_section.scss +47 -0
  55. data/_sass/main/components/_table.scss +75 -0
  56. data/_sass/main/layout/_banner.scss +66 -0
  57. data/_sass/{layout → main/layout}/_footer.scss +1 -7
  58. data/_sass/main/layout/_header.scss +65 -0
  59. data/_sass/main/layout/_main.scss +26 -0
  60. data/_sass/main/layout/_menu.scss +155 -0
  61. data/_sass/main/layout/_sidebar.scss +235 -0
  62. data/_sass/main/layout/_wrapper.scss +7 -0
  63. data/_sass/medium.scss +48 -0
  64. data/_sass/medium/base/_page.scss +0 -0
  65. data/_sass/medium/base/_reset.scss +0 -0
  66. data/_sass/medium/base/_typography.scss +5 -0
  67. data/_sass/medium/components/_actions.scss +0 -0
  68. data/_sass/medium/components/_box.scss +0 -0
  69. data/_sass/medium/components/_button.scss +0 -0
  70. data/_sass/medium/components/_contact.scss +0 -0
  71. data/_sass/medium/components/_facts.scss +0 -0
  72. data/_sass/medium/components/_features.scss +31 -0
  73. data/_sass/medium/components/_form.scss +0 -0
  74. data/_sass/medium/components/_icon.scss +0 -0
  75. data/_sass/medium/components/_icons.scss +0 -0
  76. data/_sass/medium/components/_image.scss +0 -0
  77. data/_sass/medium/components/_list.scss +0 -0
  78. data/_sass/medium/components/_mini-posts.scss +0 -0
  79. data/_sass/medium/components/_pagination.scss +0 -0
  80. data/_sass/medium/components/_posts.scss +0 -0
  81. data/_sass/medium/components/_row.scss +7 -0
  82. data/_sass/medium/components/_section.scss +0 -0
  83. data/_sass/medium/components/_table.scss +0 -0
  84. data/_sass/medium/layout/_banner.scss +0 -0
  85. data/_sass/medium/layout/_footer.scss +0 -0
  86. data/_sass/medium/layout/_header.scss +0 -0
  87. data/_sass/medium/layout/_main.scss +0 -0
  88. data/_sass/medium/layout/_menu.scss +0 -0
  89. data/_sass/medium/layout/_sidebar.scss +0 -0
  90. data/_sass/medium/layout/_wrapper.scss +0 -0
  91. data/_sass/small.scss +50 -0
  92. data/_sass/small/base/_page.scss +6 -0
  93. data/_sass/small/base/_reset.scss +0 -0
  94. data/_sass/small/base/_typography.scss +18 -0
  95. data/_sass/small/components/_actions.scss +0 -0
  96. data/_sass/small/components/_box.scss +0 -0
  97. data/_sass/small/components/_button.scss +0 -0
  98. data/_sass/small/components/_contact.scss +0 -0
  99. data/_sass/small/components/_facts.scss +45 -0
  100. data/_sass/small/components/_features.scss +29 -0
  101. data/_sass/small/components/_form.scss +0 -0
  102. data/_sass/small/components/_icon.scss +0 -0
  103. data/_sass/small/components/_icons.scss +0 -0
  104. data/_sass/small/components/_image.scss +0 -0
  105. data/_sass/small/components/_list.scss +0 -0
  106. data/_sass/small/components/_mini-posts.scss +0 -0
  107. data/_sass/small/components/_pagination.scss +15 -0
  108. data/_sass/small/components/_posts.scss +59 -0
  109. data/_sass/small/components/_row.scss +11 -0
  110. data/_sass/small/components/_section.scss +0 -0
  111. data/_sass/small/components/_table.scss +0 -0
  112. data/_sass/small/layout/_banner.scss +11 -0
  113. data/_sass/small/layout/_footer.scss +0 -0
  114. data/_sass/small/layout/_header.scss +0 -0
  115. data/_sass/small/layout/_main.scss +16 -0
  116. data/_sass/small/layout/_menu.scss +0 -0
  117. data/_sass/small/layout/_sidebar.scss +0 -0
  118. data/_sass/small/layout/_wrapper.scss +0 -0
  119. data/{_sass/components/_cookieconsent.scss → assets/css/cookieconsent.css} +4 -2
  120. data/assets/css/fontawesome-all.min.css +1 -1
  121. data/assets/css/large.scss +5 -0
  122. data/assets/css/medium.scss +5 -0
  123. data/assets/css/small.scss +5 -0
  124. data/assets/js/cookieconsent.style.min.js +1 -0
  125. metadata +118 -30
  126. data/_sass/base/_page.scss +0 -48
  127. data/_sass/base/_reset.scss +0 -76
  128. data/_sass/base/_typography.scss +0 -241
  129. data/_sass/components/_actions.scss +0 -63
  130. data/_sass/components/_box.scss +0 -26
  131. data/_sass/components/_button.scss +0 -85
  132. data/_sass/components/_contact.scss +0 -47
  133. data/_sass/components/_facts.scss +0 -183
  134. data/_sass/components/_features.scss +0 -155
  135. data/_sass/components/_form.scss +0 -259
  136. data/_sass/components/_icon.scss +0 -33
  137. data/_sass/components/_icons.scss +0 -35
  138. data/_sass/components/_image.scss +0 -78
  139. data/_sass/components/_list.scss +0 -56
  140. data/_sass/components/_mini-posts.scss +0 -31
  141. data/_sass/components/_pagination.scss +0 -70
  142. data/_sass/components/_posts.scss +0 -124
  143. data/_sass/components/_row.scss +0 -31
  144. data/_sass/components/_section.scss +0 -53
  145. data/_sass/components/_table.scss +0 -81
  146. data/_sass/layout/_banner.scss +0 -78
  147. data/_sass/layout/_header.scss +0 -71
  148. data/_sass/layout/_main.scss +0 -58
  149. data/_sass/layout/_menu.scss +0 -161
  150. data/_sass/layout/_sidebar.scss +0 -241
  151. data/_sass/layout/_wrapper.scss +0 -13
@@ -0,0 +1,26 @@
1
+ /* Main */
2
+
3
+ #main {
4
+ @include vendor('flex-grow', '1');
5
+ @include vendor('flex-shrink', '1');
6
+ width: 100%;
7
+
8
+ > .inner {
9
+ margin: 0 auto;
10
+ max-width: 110em;
11
+
12
+ > section {
13
+ @include padding(6em, 6em);
14
+ border-top: solid 2px _palette(border);
15
+
16
+ &:first-of-type {
17
+ border-top: 0 !important;
18
+ }
19
+ }
20
+
21
+ #header {
22
+ padding: 2em 6em 1em 6em;
23
+ margin: 0;
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,155 @@
1
+ /* Menu */
2
+
3
+ #menu, #results {
4
+ ul {
5
+ @include vendor('user-select', 'none');
6
+ color: _palette(fg-bold);
7
+ font-family: _font(family-heading);
8
+ font-family: _font(weight-heading-alt);
9
+ letter-spacing: _font(kerning-heading);
10
+ list-style: none;
11
+ margin-bottom: 0;
12
+ padding: 0;
13
+ text-transform: uppercase;
14
+
15
+ a, span {
16
+ border-bottom: 0;
17
+ color: inherit;
18
+ cursor: pointer;
19
+ display: block;
20
+ font-size: 0.9em;
21
+ padding: 0.625em 0;
22
+
23
+ &:hover {
24
+ color: _palette(accent);
25
+ }
26
+
27
+ &.opener {
28
+ @include vendor('transition', 'color #{_duration(transition)} ease-in-out');
29
+ @include icon(false, solid);
30
+ -webkit-tap-highlight-color: rgba(255,255,255,0);
31
+ position: relative;
32
+
33
+ &:before {
34
+ @include vendor('transition', (
35
+ 'color #{_duration(transition)} ease-in-out',
36
+ 'transform #{_duration(transition)} ease-in-out'
37
+ ));
38
+ color: _palette(fg-light);
39
+ content: '\f078';
40
+ position: absolute;
41
+ right: 0;
42
+ }
43
+
44
+ &:hover {
45
+ &:before {
46
+ color: _palette(accent);
47
+ }
48
+ }
49
+
50
+ &.active {
51
+ & + ul {
52
+ display: block;
53
+ }
54
+
55
+ &:before {
56
+ @include vendor('transform', 'rotate(-180deg)');
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ > ul {
64
+ > li {
65
+ position: relative;
66
+ border-top: solid 1px _palette(border);
67
+ margin: 0.5em 0 0 0;
68
+ padding: 0.5em 0 0 0;
69
+
70
+ > ul {
71
+ color: _palette(fg-light);
72
+ display: none;
73
+ margin: 0.5em 0 1.5em 0;
74
+ padding-left: 1em;
75
+
76
+ a, span {
77
+ font-size: 0.8em;
78
+ }
79
+
80
+ > li {
81
+ margin: 0.125em 0 0 0;
82
+ padding: 0.125em 0 0 0;
83
+ }
84
+ }
85
+
86
+ &:first-child {
87
+ border-top: 0;
88
+ margin-top: 0;
89
+ padding-top: 0;
90
+ }
91
+
92
+ &::before {
93
+ border-left: 6px solid transparent;
94
+ content: "";
95
+ display: block;
96
+ position: absolute;
97
+ left: -1em;
98
+ top: 0;
99
+ height: 100%;
100
+ }
101
+
102
+ &.current::before, &:hover::before {
103
+ border-left: 6px solid _palette(accent);
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ /* Inverted */
110
+
111
+ .inverted #menu, .inverted #results {
112
+ ul {
113
+ color: _palette(fg-bold-inverted);
114
+
115
+ a, span {
116
+ color: inherit;
117
+
118
+ &:hover {
119
+ color: _palette(accent-inverted);
120
+ }
121
+
122
+ &.opener {
123
+ &:before {
124
+ color: _palette(fg-light-inverted);
125
+ }
126
+
127
+ &:hover {
128
+ &:before {
129
+ color: _palette(accent-inverted);
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+
136
+ > ul {
137
+ > li {
138
+ border-top: solid 1px _palette(border-inverted);
139
+
140
+ > ul {
141
+ color: _palette(fg-light-inverted);
142
+ }
143
+
144
+ &:first-child {
145
+ border-top: 0;
146
+ margin-top: 0;
147
+ padding-top: 0;
148
+ }
149
+
150
+ &.current::before, &:hover::before {
151
+ border-left: 6px solid _palette(accent-inverted);
152
+ }
153
+ }
154
+ }
155
+ }
@@ -0,0 +1,235 @@
1
+ /* Sidebar */
2
+
3
+ #search {
4
+ form {
5
+ @include icon(false, solid);
6
+ position: relative;
7
+ margin-left: 4em;
8
+
9
+ input[type="text"] {
10
+ padding-right: _size(element-height);
11
+ }
12
+ }
13
+ }
14
+
15
+ #sidebar {
16
+ $pad: 1.5em / 0.9;
17
+
18
+ @include vendor('flex-grow', '0');
19
+ @include vendor('flex-shrink', '0');
20
+ @include vendor('transition', (
21
+ 'margin-left 0.5s ease',
22
+ 'box-shadow 0.5s ease'
23
+ ));
24
+
25
+ z-index: _misc(z-index-base);
26
+ position: fixed;
27
+ left: 0;
28
+ top: 0;
29
+ width: _size(sidebar-width-alt);
30
+ height: 100%;
31
+ box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
32
+ background-color: _palette(bg-alt);
33
+ font-size: 0.9em;
34
+
35
+ h2 {
36
+ font-size: (1.25em / 0.9);
37
+ }
38
+
39
+ > .inner {
40
+ -webkit-overflow-scrolling: touch;
41
+ overflow-x: hidden;
42
+ overflow-y: auto;
43
+ position: absolute;
44
+ left: 0;
45
+ top: 0;
46
+ padding: $pad 0 $pad 0;
47
+ width: _size(sidebar-width-alt);
48
+ height: 100%;
49
+ display: flex;
50
+ flex-direction: column;
51
+ justify-content: space-between;
52
+
53
+ > * {
54
+ flex: 0;
55
+ border-bottom: 0;
56
+ margin: 0;
57
+ padding: 0 $pad 0 $pad;
58
+
59
+ > :last-child {
60
+ margin-bottom: 0;
61
+ }
62
+
63
+ &:last-child {
64
+ margin-bottom: 0;
65
+ padding-bottom: 0;
66
+ }
67
+ }
68
+
69
+ > #menu {
70
+ flex: 1;
71
+ }
72
+
73
+ > #results {
74
+ top: 0;
75
+ flex: 1;
76
+ overflow-y: auto;
77
+ padding-left: 4em;
78
+ }
79
+
80
+ > .alt {
81
+ background-color: darken(_palette(bg-alt), 2);
82
+ border-bottom: solid 2px _palette(border);
83
+ margin: ($pad * -1) 0 0 ($pad * -1);
84
+ padding: $pad;
85
+ }
86
+ }
87
+
88
+ .toggle {
89
+ @include icon(false, solid);
90
+ @include vendor('transition', 'left 0.5s ease');
91
+ -webkit-tap-highlight-color: rgba(255,255,255,0);
92
+ position: fixed;
93
+ left: 0;
94
+ border: 0;
95
+ display: block;
96
+ width: 6em;
97
+ height: 6.25em;
98
+ outline: 0;
99
+ overflow: hidden;
100
+ line-height: 6.25em;
101
+ text-align: center;
102
+ text-indent: 6em;
103
+ z-index: _misc(z-index-base);
104
+
105
+ &#sidebar-toggle-button {
106
+ top:0;
107
+ }
108
+
109
+ &#sidebar-search-button {
110
+ top:6.25em;
111
+ }
112
+
113
+ &#sidebar-logo-button {
114
+ top:12.5em;
115
+ }
116
+
117
+ &:before {
118
+ position: absolute;
119
+ left: 0;
120
+ top: 0;
121
+ width: inherit;
122
+ height: inherit;
123
+ margin-left: (-0.875em / 2);
124
+ font-size: 1.5rem;
125
+ line-height: inherit;
126
+ text-indent: 0;
127
+ }
128
+
129
+ &#sidebar-toggle-button:before {
130
+ content: '\f0c9';
131
+ }
132
+
133
+ &#sidebar-search-button:before {
134
+ content: '\f002';
135
+ }
136
+
137
+ &#sidebar-logo-button:before {
138
+ display: none;
139
+ content: '';
140
+ }
141
+
142
+ &#sidebar-logo-button svg {
143
+ position: absolute;
144
+ top: 20%;
145
+ left: 4%;
146
+ width: 60%;
147
+ height: 60%;
148
+ font-size: 1.5rem;
149
+ line-height: inherit;
150
+ text-indent: 0;
151
+ fill: _palette(accent);
152
+ }
153
+ }
154
+
155
+ &.inactive {
156
+ margin-left: (_size(sidebar-width-alt) * -1);
157
+ box-shadow: none;
158
+ }
159
+
160
+ body.is-preload & {
161
+ display: none;
162
+ }
163
+ }
164
+
165
+ /* Inverted */
166
+
167
+ .inverted #search {
168
+ form {
169
+ &:before {
170
+ color: _palette(fg);
171
+ }
172
+
173
+ input[type="text"] {
174
+ color: _palette(fg);
175
+ }
176
+ }
177
+ }
178
+
179
+ #sidebar.inverted {
180
+ background-color: _palette(bg-inverted);
181
+
182
+ header.major > :last-child {
183
+ border-bottom: solid 3px _palette(fg-inverted);
184
+ }
185
+
186
+ a.toggle {
187
+ color: _palette(accent-inverted);
188
+
189
+ &:hover {
190
+ color: _palette(accent-cp);
191
+ }
192
+
193
+ &#sidebar-logo-button svg {
194
+ fill: _palette(accent-inverted);
195
+ stroke: _palette(accent-inverted);
196
+ }
197
+
198
+ &#sidebar-logo-button:hover svg {
199
+ fill: _palette(accent-cp);
200
+ stroke: _palette(accent-cp);
201
+ }
202
+ }
203
+
204
+ > .inner {
205
+
206
+ > * {
207
+ border-bottom: 0;
208
+ }
209
+
210
+ > .alt {
211
+ background-color: darken(_palette(bg-inverted), 2);
212
+ border-bottom: solid 2px _palette(border-inverted);
213
+ }
214
+ }
215
+ }
216
+
217
+ #sidebar.inverted.inactive {
218
+ a.toggle {
219
+ color: _palette(accent);
220
+
221
+ &:hover {
222
+ color: _palette(accent);
223
+ }
224
+
225
+ &#sidebar-logo-button svg {
226
+ fill: _palette(accent);
227
+ stroke: _palette(accent);
228
+ }
229
+
230
+ &#sidebar-logo-button:hover svg {
231
+ fill: _palette(accent);
232
+ stroke: _palette(accent);
233
+ }
234
+ }
235
+ }
@@ -0,0 +1,7 @@
1
+ /* Wrapper */
2
+
3
+ #wrapper {
4
+ @include vendor('display', 'flex');
5
+ @include vendor('flex-direction', 'row-reverse');
6
+ min-height: 100vh;
7
+ }
data/_sass/medium.scss ADDED
@@ -0,0 +1,48 @@
1
+ @import 'libs/vars';
2
+ @import 'libs/functions';
3
+ @import 'libs/mixins';
4
+ @import 'libs/vendor';
5
+ @import 'libs/breakpoints';
6
+ @import 'libs/html-grid';
7
+
8
+ // Breakpoints.
9
+
10
+ @include breakpoints((
11
+ medium: ( 737px, 980px )
12
+ ));
13
+
14
+ // Base.
15
+
16
+ @import 'medium/base/reset';
17
+ @import 'medium/base/page';
18
+ @import 'medium/base/typography';
19
+
20
+ // Component.
21
+
22
+ @import 'medium/components/row';
23
+ @import 'medium/components/section';
24
+ @import 'medium/components/form';
25
+ @import 'medium/components/box';
26
+ @import 'medium/components/icon';
27
+ @import 'medium/components/image';
28
+ @import 'medium/components/list';
29
+ @import 'medium/components/actions';
30
+ @import 'medium/components/icons';
31
+ @import 'medium/components/contact';
32
+ @import 'medium/components/pagination';
33
+ @import 'medium/components/table';
34
+ @import 'medium/components/button';
35
+ @import 'medium/components/mini-posts';
36
+ @import 'medium/components/features';
37
+ @import 'medium/components/facts';
38
+ @import 'medium/components/posts';
39
+
40
+ // Layout.
41
+
42
+ @import 'medium/layout/wrapper';
43
+ @import 'medium/layout/main';
44
+ @import 'medium/layout/sidebar';
45
+ @import 'medium/layout/header';
46
+ @import 'medium/layout/banner';
47
+ @import 'medium/layout/footer';
48
+ @import 'medium/layout/menu';