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
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ @include breakpoint('<=medium') {
2
+ h1 {
3
+ font-size: 3.25em;
4
+ }
5
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,31 @@
1
+ /* Features */
2
+
3
+ .features {
4
+ $gutter: _size(gutter);
5
+
6
+ @include breakpoint('<=medium') {
7
+ margin: 0 0 _size(element-margin) 0;
8
+ width: 100%;
9
+
10
+ article {
11
+ margin: 0 0 $gutter 0;
12
+ width: 100%;
13
+
14
+ .icon {
15
+ height: 8em;
16
+ line-height: 8em;
17
+ width: 8em;
18
+
19
+ &:before {
20
+ font-size: 2.25rem;
21
+ }
22
+
23
+ &:after {
24
+ height: 6em;
25
+ margin: -3em 0 0 -3em;
26
+ width: 6em;
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ /* Row */
2
+
3
+ .row {
4
+ @include breakpoint('<=medium') {
5
+ @include html-grid(1.5em, 'medium');
6
+ }
7
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/_sass/small.scss ADDED
@@ -0,0 +1,50 @@
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
+ small: ( 481px, 736px ),
12
+ xsmall: ( 361px, 480px ),
13
+ xxsmall: ( null, 360px )
14
+ ));
15
+
16
+ // Base.
17
+
18
+ @import 'small/base/reset';
19
+ @import 'small/base/page';
20
+ @import 'small/base/typography';
21
+
22
+ // Component.
23
+
24
+ @import 'small/components/row';
25
+ @import 'small/components/section';
26
+ @import 'small/components/form';
27
+ @import 'small/components/box';
28
+ @import 'small/components/icon';
29
+ @import 'small/components/image';
30
+ @import 'small/components/list';
31
+ @import 'small/components/actions';
32
+ @import 'small/components/icons';
33
+ @import 'small/components/contact';
34
+ @import 'small/components/pagination';
35
+ @import 'small/components/table';
36
+ @import 'small/components/button';
37
+ @import 'small/components/mini-posts';
38
+ @import 'small/components/features';
39
+ @import 'small/components/facts';
40
+ @import 'small/components/posts';
41
+
42
+ // Layout.
43
+
44
+ @import 'small/layout/wrapper';
45
+ @import 'small/layout/main';
46
+ @import 'small/layout/sidebar';
47
+ @import 'small/layout/header';
48
+ @import 'small/layout/banner';
49
+ @import 'small/layout/footer';
50
+ @import 'small/layout/menu';
@@ -0,0 +1,6 @@
1
+ // Ensures page width is always >=320px.
2
+ @include breakpoint('<=xsmall') {
3
+ html, body {
4
+ min-width: 320px;
5
+ }
6
+ }
File without changes
@@ -0,0 +1,18 @@
1
+ /* Type */
2
+
3
+ body, input, select, textarea {
4
+ @include breakpoint('<=xxsmall') {
5
+ font-size: 9pt;
6
+ }
7
+ }
8
+
9
+ @include breakpoint('<=small') {
10
+ h1 {
11
+ font-size: 2em;
12
+ line-height: 1.4;
13
+ }
14
+
15
+ h2 {
16
+ font-size: 1.5em;
17
+ }
18
+ }
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,45 @@
1
+ /* Facts */
2
+
3
+ .facts {
4
+ $gutter: 1px;
5
+
6
+ @include breakpoint('<=small') {
7
+ $gutter: _size(gutter) * 1.5;
8
+
9
+ article {
10
+ margin: 0;
11
+ padding: 0;
12
+ width: 50%;
13
+ }
14
+ }
15
+
16
+ @include breakpoint('<=xsmall') {
17
+ $gutter: _size(gutter) * 1.5;
18
+
19
+ article {
20
+
21
+ &:before {
22
+ display: none;
23
+ }
24
+
25
+ &:after {
26
+ width: 100%;
27
+ background: _palette(border);
28
+ bottom: ($gutter * -0.5);
29
+ content: '';
30
+ display: block;
31
+ height: 1px;
32
+ position: absolute;
33
+ right: 0;
34
+ }
35
+
36
+ &:last-child {
37
+ margin-bottom: 0;
38
+
39
+ &:after {
40
+ display: none;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,29 @@
1
+ /* Features */
2
+
3
+ .features {
4
+ $gutter: _size(gutter);
5
+
6
+ @include breakpoint('<=xsmall') {
7
+ article {
8
+ @include vendor('flex-direction', 'column');
9
+ @include vendor('align-items', 'flex-start');
10
+
11
+ .icon {
12
+ height: 6em;
13
+ line-height: 6em;
14
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
15
+ width: 6em;
16
+
17
+ &:before {
18
+ font-size: 1.5rem;
19
+ }
20
+
21
+ &:after {
22
+ height: 4em;
23
+ margin: -2em 0 0 -2em;
24
+ width: 4em;
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ /* Pagination */
2
+
3
+ ul.pagination {
4
+ @include breakpoint('<=xsmall') {
5
+ li {
6
+ &:nth-child(n+2):nth-last-child(n+2) {
7
+ display: none;
8
+ }
9
+
10
+ &:first-child {
11
+ padding-right: 0;
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,59 @@
1
+ /* Posts */
2
+
3
+ .posts {
4
+ $gutter: (_size(gutter) * 2);
5
+
6
+ @include breakpoint('<=small') {
7
+ $gutter: _size(gutter) * 1.5;
8
+
9
+ margin: 0 0 _size(element-margin) ($gutter * -1);
10
+ width: calc(100% + #{$gutter});
11
+
12
+ article {
13
+ margin: 0 0 $gutter $gutter;
14
+ width: calc(50% - #{$gutter});
15
+
16
+ &:before {
17
+ height: calc(100% + #{$gutter});
18
+ left: ($gutter * -0.5);
19
+ }
20
+
21
+ &:after {
22
+ bottom: ($gutter * -0.5);
23
+ width: calc(100% + #{$gutter});
24
+ }
25
+
26
+ &:nth-last-child(3) {
27
+ margin-bottom: $gutter;
28
+ }
29
+ }
30
+ }
31
+
32
+ @include breakpoint('<=xsmall') {
33
+ $gutter: _size(gutter) * 1.5;
34
+
35
+ margin: 0 0 _size(element-margin) 0;
36
+ width: 100%;
37
+
38
+ article {
39
+ margin: 0 0 $gutter 0;
40
+ width: 100%;
41
+
42
+ &:before {
43
+ display: none;
44
+ }
45
+
46
+ &:after {
47
+ width: 100%;
48
+ }
49
+
50
+ &:last-child {
51
+ margin-bottom: 0;
52
+
53
+ &:after {
54
+ display: none;
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,11 @@
1
+ /* Row */
2
+
3
+ .row {
4
+ @include breakpoint('<=small') {
5
+ @include html-grid(1.5em, 'small');
6
+ }
7
+
8
+ @include breakpoint('<=xsmall') {
9
+ @include html-grid(1.5em, 'xsmall');
10
+ }
11
+ }
File without changes
File without changes
@@ -0,0 +1,11 @@
1
+ /* Banner */
2
+
3
+ #banner {
4
+ @include orientation(portrait) {
5
+ @include breakpoint('<=xsmall') {
6
+ .image {
7
+ max-height: 35vh;
8
+ }
9
+ }
10
+ }
11
+ }
File without changes
File without changes
@@ -0,0 +1,16 @@
1
+ /* Main */
2
+
3
+ #main {
4
+ > .inner {
5
+ @include breakpoint('<=small') {
6
+ section {
7
+ padding: 1em 1em 1em 4em;
8
+ }
9
+ }
10
+
11
+ #header {
12
+ padding: 2em 4em 1em 4em;
13
+ margin: 0;
14
+ }
15
+ }
16
+ }
File without changes
File without changes
File without changes
@@ -78,10 +78,12 @@
78
78
  /* 2 basic types of window - floating / banner */
79
79
  .cc-window.cc-floating {
80
80
  padding: 2em;
81
- max-width: 24em; /* 1em == 16px therefore 24em == 384px */
81
+ width: 100%;
82
+ max-width: 100%; /* 1em == 16px therefore 24em == 384px */
82
83
  flex-direction: column;
83
84
  }
84
85
  .cc-window.cc-banner {
86
+ z-index: :10000;
85
87
  padding: 1em 1.8em;
86
88
  width: 100%;
87
89
  flex-direction: row;
@@ -199,7 +201,7 @@
199
201
  right: 1em;
200
202
  }
201
203
  .cc-bottom {
202
- bottom: 1em;
204
+ bottom: 0;
203
205
  }
204
206
 
205
207
  /* links that are direct decendants should be displayed as block */