jekyll-theme-consulting 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +437 -0
  3. data/README.md +96 -0
  4. data/_includes/banner.html +10 -0
  5. data/_includes/bouncing.svg +53 -0
  6. data/_includes/footer.html +39 -0
  7. data/_includes/head.html +10 -0
  8. data/_includes/header.html +10 -0
  9. data/_includes/navigation.html +22 -0
  10. data/_includes/scripts.html +8 -0
  11. data/_layouts/default.html +22 -0
  12. data/_layouts/home.html +6 -0
  13. data/_layouts/page.html +4 -0
  14. data/_layouts/post.html +13 -0
  15. data/_sass/base/_reset.scss +70 -0
  16. data/_sass/base/_typography.scss +140 -0
  17. data/_sass/components/_actions.scss +18 -0
  18. data/_sass/components/_box.scss +247 -0
  19. data/_sass/components/_button.scss +65 -0
  20. data/_sass/components/_container.scss +14 -0
  21. data/_sass/components/_form.scss +88 -0
  22. data/_sass/components/_icons.scss +44 -0
  23. data/_sass/components/_image.scss +37 -0
  24. data/_sass/components/_list.scss +25 -0
  25. data/_sass/components/_menu.scss +21 -0
  26. data/_sass/components/_poptrox.scss +121 -0
  27. data/_sass/components/_row.scss +21 -0
  28. data/_sass/components/_sections.scss +18 -0
  29. data/_sass/components/_table.scss +35 -0
  30. data/_sass/layout/_banner.scss +44 -0
  31. data/_sass/layout/_breakpoints.scss +358 -0
  32. data/_sass/layout/_footer.scss +44 -0
  33. data/_sass/layout/_header.scss +85 -0
  34. data/_sass/libs/_breakpoints.scss +223 -0
  35. data/_sass/libs/_functions.scss +90 -0
  36. data/_sass/libs/_html-grid.scss +149 -0
  37. data/_sass/libs/_mixins.scss +63 -0
  38. data/_sass/libs/_vars.scss +34 -0
  39. data/_sass/libs/_vendor.scss +376 -0
  40. data/_sass/main.scss +51 -0
  41. data/_sass/noscript.scss +25 -0
  42. data/assets/css/font-awesome.min.css +4 -0
  43. data/assets/css/images/arrow.svg +17 -0
  44. data/assets/css/images/banner.svg +206 -0
  45. data/assets/css/images/circles.svg +30 -0
  46. data/assets/css/images/falling.svg +37 -0
  47. data/assets/css/images/loader.gif +0 -0
  48. data/assets/css/images/overlay.png +0 -0
  49. data/assets/css/images/poptrox-closer.svg +6 -0
  50. data/assets/css/images/poptrox-nav.svg +6 -0
  51. data/assets/css/noscript.css +19 -0
  52. data/assets/css/styles.scss +4 -0
  53. data/assets/fonts/FontAwesome.otf +0 -0
  54. data/assets/fonts/fontawesome-webfont.eot +0 -0
  55. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  56. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  57. data/assets/fonts/fontawesome-webfont.woff +0 -0
  58. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  59. data/assets/images/bg-1.jpg +0 -0
  60. data/assets/images/bg-alt.jpg +0 -0
  61. data/assets/images/bg.jpg +0 -0
  62. data/assets/images/bouncing.svg +50 -0
  63. data/assets/images/favicon.ico +0 -0
  64. data/assets/images/fulls/01.jpg +0 -0
  65. data/assets/images/fulls/02.jpg +0 -0
  66. data/assets/images/fulls/03.jpg +0 -0
  67. data/assets/images/fulls/04.jpg +0 -0
  68. data/assets/images/fulls/05.jpg +0 -0
  69. data/assets/images/fulls/06.jpg +0 -0
  70. data/assets/images/fulls/07.jpg +0 -0
  71. data/assets/images/fulls/08.jpg +0 -0
  72. data/assets/images/logo.svg +21 -0
  73. data/assets/images/pic01.jpg +0 -0
  74. data/assets/images/pic02.jpg +0 -0
  75. data/assets/images/screenshot.jpg +0 -0
  76. data/assets/images/thumbs/01.jpg +0 -0
  77. data/assets/images/thumbs/02.jpg +0 -0
  78. data/assets/images/thumbs/03.jpg +0 -0
  79. data/assets/images/thumbs/04.jpg +0 -0
  80. data/assets/images/thumbs/05.jpg +0 -0
  81. data/assets/images/thumbs/06.jpg +0 -0
  82. data/assets/images/thumbs/07.jpg +0 -0
  83. data/assets/images/thumbs/08.jpg +0 -0
  84. data/assets/js/breakpoints.min.js +2 -0
  85. data/assets/js/browser.min.js +2 -0
  86. data/assets/js/jquery.min.js +2 -0
  87. data/assets/js/jquery.poptrox.min.js +2 -0
  88. data/assets/js/jquery.scrolly.min.js +2 -0
  89. data/assets/js/main.js +106 -0
  90. data/assets/js/util.js +587 -0
  91. metadata +175 -0
@@ -0,0 +1,88 @@
1
+ /* Form */
2
+
3
+ form {
4
+ label {
5
+ display: block;
6
+ margin: 0 0 0.5em 0;
7
+ }
8
+
9
+ input[type="text"],
10
+ input[type="email"],
11
+ input[type="password"],
12
+ select,
13
+ textarea {
14
+ @include vendor('transition', 'background-color 0.35s ease-in-out');
15
+ -webkit-appearance: none;
16
+ display: block;
17
+ border: 0;
18
+ background: #f1f1f1;
19
+ width: 100%;
20
+ padding: 0.75em;
21
+
22
+ &:focus {
23
+ background-color: _palette(bg-light);
24
+ }
25
+ }
26
+
27
+ input[type="text"],
28
+ input[type="email"],
29
+ input[type="password"],
30
+ select {
31
+ line-height: 1em;
32
+ }
33
+
34
+ select {
35
+ background-size: 1.25em;
36
+ background-repeat: no-repeat;
37
+ background-position: calc(100% - 1em) center;
38
+ padding-right: 1.25em;
39
+ text-overflow: ellipsis;
40
+ background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#5a5959' /></svg>");
41
+
42
+ option {
43
+ color: _palette(fg);
44
+ background: _palette(bg);
45
+ }
46
+
47
+ &:focus {
48
+ &::-ms-value {
49
+ background-color: transparent;
50
+ }
51
+ }
52
+
53
+ &::-ms-expand {
54
+ display: none;
55
+ }
56
+ }
57
+
58
+ textarea {
59
+ min-height: 12em;
60
+ }
61
+
62
+ ::-webkit-input-placeholder {
63
+ color: _palette(fg-light) !important;
64
+ }
65
+
66
+ :-moz-placeholder {
67
+ color: _palette(fg-light) !important;
68
+ }
69
+
70
+ ::-moz-placeholder {
71
+ color: _palette(fg-light) !important;
72
+ }
73
+
74
+ :-ms-input-placeholder {
75
+ color: _palette(fg-light) !important;
76
+ }
77
+
78
+ ::-moz-focus-inner {
79
+ border: 0;
80
+ }
81
+
82
+ ul {
83
+ &.actions {
84
+ margin-bottom: 0;
85
+ text-align: center;
86
+ }
87
+ }
88
+ }
@@ -0,0 +1,44 @@
1
+ /* Icons */
2
+
3
+ ul.icons {
4
+ cursor: default;
5
+ list-style: none;
6
+ padding-left: 0;
7
+
8
+ li {
9
+ display: inline-block;
10
+ padding-left: 0;
11
+ margin-top: 0;
12
+ }
13
+
14
+ a {
15
+ display: inline-block;
16
+ width: 2.5em;
17
+ height: 2.5em;
18
+ line-height: 2.5em;
19
+ text-align: center;
20
+ border: 0;
21
+ }
22
+ }
23
+
24
+ /* Icons */
25
+
26
+ .icon {
27
+ text-decoration: none;
28
+
29
+ &:before {
30
+ display: inline-block;
31
+ font-family: FontAwesome;
32
+ font-size: 1.25em;
33
+ text-decoration: none;
34
+ font-style: normal;
35
+ font-weight: normal;
36
+ line-height: 1;
37
+ -webkit-font-smoothing: antialiased;
38
+ -moz-osx-font-smoothing: grayscale;
39
+ }
40
+
41
+ > .label {
42
+ display: none;
43
+ }
44
+ }
@@ -0,0 +1,37 @@
1
+ /* Image */
2
+
3
+ .image {
4
+ display: inline-block;
5
+ border: 0;
6
+
7
+ img {
8
+ display: block;
9
+ width: 100%;
10
+ }
11
+
12
+ &.featured {
13
+ display: block;
14
+ width: 100%;
15
+ margin: 0 0 2em 0;
16
+ }
17
+
18
+ &.fit {
19
+ display: block;
20
+ width: 100%;
21
+ }
22
+
23
+ &.left {
24
+ float: left;
25
+ margin: 0 2em 2em 0;
26
+ }
27
+
28
+ &.centered {
29
+ display: block;
30
+ margin: 0 0 2em 0;
31
+
32
+ img {
33
+ margin: 0 auto;
34
+ width: auto;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,25 @@
1
+ /* List */
2
+
3
+ ul {
4
+ list-style: disc;
5
+ padding-left: 1em;
6
+
7
+ li {
8
+ padding-left: 1.5em;
9
+ margin-top: 1.5em;
10
+
11
+ &:first-child {
12
+ margin-top: 0;
13
+ }
14
+ }
15
+ }
16
+
17
+ ol {
18
+ list-style: decimal;
19
+ padding-left: 1.25em;
20
+
21
+ li {
22
+ padding-left: 1.25em;
23
+ margin-top: 1.5em;
24
+ }
25
+ }
@@ -0,0 +1,21 @@
1
+ /* Menu */
2
+
3
+ ul.menu {
4
+ cursor: default;
5
+ list-style: none;
6
+ padding-left: 0;
7
+
8
+ li {
9
+ display: inline-block;
10
+ line-height: 1em;
11
+ border-left: solid 1px #dad9d9;
12
+ padding: 0 0 0 0.5em;
13
+ margin: 0 0 0 0.5em;
14
+
15
+ &:first-child {
16
+ border-left: 0;
17
+ padding-left: 0;
18
+ margin-left: 0;
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,121 @@
1
+ /* Poptrox */
2
+
3
+ .poptrox-popup {
4
+ @include vendor('box-sizing', 'content-box');
5
+ background: #fff;
6
+ padding-bottom: 3em;
7
+
8
+ .loader {
9
+ width: 48px;
10
+ height: 48px;
11
+ background: url('images/loader.gif');
12
+ position: absolute;
13
+ top: 50%;
14
+ left: 50%;
15
+ margin: -24px 0 0 -24px;
16
+ }
17
+
18
+ .caption {
19
+ position: absolute;
20
+ bottom: 0;
21
+ left: 0;
22
+ background: #fff;
23
+ width: 100%;
24
+ height: 3em;
25
+ line-height: 3em;
26
+ text-align: center;
27
+ cursor: default;
28
+ z-index: 1;
29
+ }
30
+
31
+ .nav-next,
32
+ .nav-previous {
33
+ @include vendor('transition', 'opacity 0.5s ease-in-out');
34
+ position: absolute;
35
+ top: 0;
36
+ width: 50%;
37
+ height: 100%;
38
+ opacity: 0;
39
+ cursor: pointer;
40
+ background: rgba(0, 0, 0, 0.01);
41
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
42
+
43
+ &:before {
44
+ content: '';
45
+ position: absolute;
46
+ width: 96px;
47
+ height: 64px;
48
+ background: url('images/poptrox-nav.svg');
49
+ top: calc(50% - 1.5em);
50
+ margin: -32px 0 0 0;
51
+ }
52
+ }
53
+
54
+ &:hover {
55
+ .nav-next,
56
+ .nav-previous {
57
+ opacity: 0.5;
58
+
59
+ &:hover {
60
+ opacity: 1.0;
61
+ }
62
+ }
63
+ }
64
+
65
+ .nav-next {
66
+ right: 0;
67
+
68
+ &:before {
69
+ right: 0;
70
+ }
71
+ }
72
+
73
+ .nav-previous {
74
+ left: 0;
75
+
76
+ &:before {
77
+ @include vendor('transform', 'scaleX(-1)');
78
+ left: 0;
79
+ -ms-filter: "FlipH";
80
+ filter: FlipH;
81
+ }
82
+ }
83
+
84
+ .closer {
85
+ @include vendor('transition', 'opacity 0.5s ease-in-out');
86
+ position: absolute;
87
+ top: 0;
88
+ right: 0;
89
+ width: 64px;
90
+ height: 64px;
91
+ text-indent: -9999px;
92
+ z-index: 2;
93
+ opacity: 0;
94
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
95
+
96
+ &:before {
97
+ @include vendor('transition', 'background-color 0.5s ease-in-out');
98
+ content: '';
99
+ display: block;
100
+ position: absolute;
101
+ right: 16px;
102
+ top: 16px;
103
+ width: 40px;
104
+ height: 40px;
105
+ border-radius: 100%;
106
+ box-shadow: inset 0 0 0 1px #fff;
107
+ background: rgba(255, 255, 255, 0.1) url('images/poptrox-closer.svg') center center;
108
+ color: #fff !important;
109
+ }
110
+ }
111
+
112
+ &:hover {
113
+ .closer {
114
+ opacity: 0.5;
115
+
116
+ &:hover {
117
+ opacity: 1.0;
118
+ }
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,21 @@
1
+ /* Row */
2
+
3
+ .row {
4
+ @include html-grid((40px, 40px));
5
+
6
+ @include breakpoint('<=wide') {
7
+ @include html-grid((40px, 40px), 'wide');
8
+ }
9
+
10
+ @include breakpoint('<=normal') {
11
+ @include html-grid((40px, 40px), 'normal');
12
+ }
13
+
14
+ @include breakpoint('<=narrow') {
15
+ @include html-grid((30px, 30px), 'narrow');
16
+ }
17
+
18
+ @include breakpoint('<=mobile') {
19
+ @include html-grid((20px, 20px), 'mobile');
20
+ }
21
+ }
@@ -0,0 +1,18 @@
1
+ /* Sections/Article */
2
+
3
+ section, article {
4
+ margin-bottom: 3em;
5
+ }
6
+
7
+ section > :last-child,
8
+ article > :last-child,
9
+ section:last-child,
10
+ article:last-child {
11
+ margin-bottom: 0;
12
+ }
13
+
14
+ .row > {
15
+ section, article {
16
+ margin-bottom: 0;
17
+ }
18
+ }
@@ -0,0 +1,35 @@
1
+ /* Table */
2
+
3
+ .table-wrapper {
4
+ width: 100%;
5
+ overflow-x: auto;
6
+ -webkit-overflow-scrolling: touch;
7
+ }
8
+
9
+ table {
10
+ width: 100%;
11
+
12
+ tbody {
13
+ tr {
14
+ border-top: solid 1px #eae9e9;
15
+
16
+ &:first-child {
17
+ border-top: 0;
18
+ }
19
+ }
20
+ }
21
+
22
+ td {
23
+ padding: 0.75em 1.25em 0.75em 1.25em;
24
+ }
25
+
26
+ th {
27
+ text-align: left;
28
+ font-weight: 400;
29
+ padding: 0.75em 1.25em 0.75em 1.25em;
30
+ }
31
+
32
+ thead {
33
+ background: _palette(bg);
34
+ }
35
+ }
@@ -0,0 +1,44 @@
1
+ /* Banner */
2
+
3
+ #banner {
4
+ position: relative;
5
+ color: _palette(fg);
6
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
7
+ text-align: center;
8
+ background: _palette(bg) url('images/banner.svg') bottom center no-repeat;
9
+ padding: 5em 0 5em 0;
10
+ margin: 0;
11
+ background-size: 125% auto;
12
+
13
+ .button {
14
+ color: _palette(accent);
15
+ text-shadow: 0 0 0.5px _palette(bg-light);
16
+ }
17
+
18
+ header {
19
+ margin: 0 0 2em 0;
20
+
21
+ h2 {
22
+ font-weight: 400;
23
+ font-size: 1.75em;
24
+ letter-spacing: 8px;
25
+ }
26
+ }
27
+
28
+ p {
29
+ margin: 0;
30
+ }
31
+
32
+ footer {
33
+ margin: 2em 0 0 0;
34
+ }
35
+
36
+ a {
37
+ color: inherit;
38
+ border-bottom-color: _palette(border);
39
+
40
+ &:hover {
41
+ border-bottom-color: _palette(border-light);
42
+ }
43
+ }
44
+ }