fortyone-jekyll-theme 1.0.0

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 (75) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +63 -0
  3. data/README.md +71 -0
  4. data/_includes/footer.html +105 -0
  5. data/_includes/head.html +9 -0
  6. data/_includes/header.html +30 -0
  7. data/_includes/tiles.html +28 -0
  8. data/_layouts/allposts.html +17 -0
  9. data/_layouts/alltags.html +59 -0
  10. data/_layouts/home.html +55 -0
  11. data/_layouts/landing.html +39 -0
  12. data/_layouts/page.html +17 -0
  13. data/_layouts/post.html +36 -0
  14. data/_sass/base/_page.scss +38 -0
  15. data/_sass/base/_typography.scss +173 -0
  16. data/_sass/components/_box.scss +25 -0
  17. data/_sass/components/_button.scss +132 -0
  18. data/_sass/components/_contact-method.scss +23 -0
  19. data/_sass/components/_form.scss +224 -0
  20. data/_sass/components/_icon.scss +50 -0
  21. data/_sass/components/_image.scss +62 -0
  22. data/_sass/components/_list.scss +148 -0
  23. data/_sass/components/_section.scss +69 -0
  24. data/_sass/components/_spotlights.scss +119 -0
  25. data/_sass/components/_table.scss +81 -0
  26. data/_sass/components/_tiles.scss +183 -0
  27. data/_sass/fortyone-jekyll-theme.scss +1 -0
  28. data/_sass/ie8.scss +50 -0
  29. data/_sass/ie9.scss +115 -0
  30. data/_sass/layout/_banner.scss +177 -0
  31. data/_sass/layout/_contact.scss +93 -0
  32. data/_sass/layout/_footer.scss +42 -0
  33. data/_sass/layout/_header.scss +248 -0
  34. data/_sass/layout/_main.scss +26 -0
  35. data/_sass/layout/_menu.scss +164 -0
  36. data/_sass/layout/_wrapper.scss +28 -0
  37. data/_sass/libs/_functions.scss +34 -0
  38. data/_sass/libs/_mixins.scss +56 -0
  39. data/_sass/libs/_skel.scss +585 -0
  40. data/_sass/libs/_vars.scss +47 -0
  41. data/_sass/main.scss +78 -0
  42. data/assets/css/font-awesome.min.css +4 -0
  43. data/assets/css/ie8.css +43 -0
  44. data/assets/css/ie9.css +94 -0
  45. data/assets/css/main.css +3916 -0
  46. data/assets/fonts/FontAwesome.otf +0 -0
  47. data/assets/fonts/fontawesome-webfont.eot +0 -0
  48. data/assets/fonts/fontawesome-webfont.svg +685 -0
  49. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  50. data/assets/fonts/fontawesome-webfont.woff +0 -0
  51. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  52. data/assets/images/banner.jpg +0 -0
  53. data/assets/images/forty.jpg +0 -0
  54. data/assets/images/pic01.jpg +0 -0
  55. data/assets/images/pic02.jpg +0 -0
  56. data/assets/images/pic03.jpg +0 -0
  57. data/assets/images/pic04.jpg +0 -0
  58. data/assets/images/pic05.jpg +0 -0
  59. data/assets/images/pic06.jpg +0 -0
  60. data/assets/images/pic07.jpg +0 -0
  61. data/assets/images/pic08.jpg +0 -0
  62. data/assets/images/pic09.jpg +0 -0
  63. data/assets/images/pic10.jpg +0 -0
  64. data/assets/images/pic11.jpg +0 -0
  65. data/assets/js/ie/.directory +3 -0
  66. data/assets/js/ie/backgroundsize.min.htc +7 -0
  67. data/assets/js/ie/html5shiv.js +8 -0
  68. data/assets/js/ie/respond.min.js +6 -0
  69. data/assets/js/jquery.min.js +5 -0
  70. data/assets/js/jquery.scrollex.min.js +2 -0
  71. data/assets/js/jquery.scrolly.min.js +2 -0
  72. data/assets/js/main.js +352 -0
  73. data/assets/js/skel.min.js +2 -0
  74. data/assets/js/util.js +587 -0
  75. metadata +146 -0
@@ -0,0 +1,69 @@
1
+ ///
2
+ /// Forty by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Section/Article */
8
+
9
+ section, article {
10
+ &.special {
11
+ text-align: center;
12
+ }
13
+ }
14
+
15
+ header {
16
+ &.major {
17
+ width: -moz-max-content;
18
+ width: -webkit-max-content;
19
+ width: -ms-max-content;
20
+ width: max-content;
21
+ margin-bottom: _size(element-margin);
22
+
23
+ > :first-child {
24
+ margin-bottom: 0;
25
+ width: calc(100% + 0.5em);
26
+
27
+ &:after {
28
+ content: '';
29
+ background-color: _palette(fg-bold);
30
+ display: block;
31
+ height: 2px;
32
+ margin: 0.325em 0 0.5em 0;
33
+ width: 100%;
34
+ }
35
+ }
36
+
37
+ > p {
38
+ font-size: 0.7em;
39
+ font-weight: _font(weight-bold);
40
+ letter-spacing: _font(letter-spacing-alt);
41
+ margin-bottom: 0;
42
+ text-transform: uppercase;
43
+ }
44
+
45
+ body.is-ie & {
46
+ > :first-child {
47
+ &:after {
48
+ max-width: 9em;
49
+ }
50
+ }
51
+
52
+ > h1 {
53
+ &:after {
54
+ max-width: 100% !important;
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ @include breakpoint(small) {
61
+ &.major {
62
+ > p {
63
+ br {
64
+ display: none;
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,119 @@
1
+ ///
2
+ /// Forty by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Spotlights */
8
+
9
+ .spotlights {
10
+ border-top: 0 !important;
11
+
12
+ & + * {
13
+ border-top: 0 !important;
14
+ }
15
+
16
+ > section {
17
+ @include vendor('display', 'flex');
18
+ @include vendor('flex-direction', 'row');
19
+ background-color: desaturate(lighten(_palette(bg-alt), 2), 1);
20
+
21
+ > .image {
22
+ background-position: center center;
23
+ background-size: cover;
24
+ border-radius: 0;
25
+ display: block;
26
+ position: relative;
27
+ width: 30%;
28
+
29
+ img {
30
+ border-radius: 0;
31
+ display: block;
32
+ width: 100%;
33
+ }
34
+
35
+ &:before {
36
+ background: transparentize(_palette(bg), 0.1);
37
+ content: '';
38
+ display: block;
39
+ height: 100%;
40
+ left: 0;
41
+ opacity: 0;
42
+ position: absolute;
43
+ top: 0;
44
+ width: 100%;
45
+ }
46
+ }
47
+
48
+ > .content {
49
+ @include vendor('display', 'flex');
50
+ @include vendor('flex-direction', 'column');
51
+ @include vendor('justify-content', 'center');
52
+ @include vendor('align-items', 'center');
53
+ @include padding(2em, 3em);
54
+ width: 70%;
55
+
56
+ > .inner {
57
+ margin: 0 auto;
58
+ max-width: 100%;
59
+ width: _size(inner);
60
+ }
61
+ }
62
+
63
+ &:nth-child(2n) {
64
+ @include vendor('flex-direction', 'row-reverse');
65
+ background-color: desaturate(lighten(_palette(bg-alt), 4), 2);
66
+
67
+ > .content {
68
+ @include vendor('align-items', 'flex-end');
69
+ }
70
+ }
71
+ }
72
+
73
+ @include breakpoint(xlarge) {
74
+ > section {
75
+ > .image {
76
+ width: 40%;
77
+ }
78
+
79
+ > .content {
80
+ width: 60%;
81
+ }
82
+ }
83
+ }
84
+
85
+ @include breakpoint(large) {
86
+ > section {
87
+ > .image {
88
+ width: 45%;
89
+ }
90
+
91
+ > .content {
92
+ width: 55%;
93
+ }
94
+ }
95
+ }
96
+
97
+ @include breakpoint(medium) {
98
+ > section {
99
+ display: block;
100
+
101
+ > .image {
102
+ width: 100%;
103
+ }
104
+
105
+ > .content {
106
+ @include padding(4em, 3em);
107
+ width: 100%;
108
+ }
109
+ }
110
+ }
111
+
112
+ @include breakpoint(small) {
113
+ > section {
114
+ > .content {
115
+ @include padding(3em, 1.5em);
116
+ }
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,81 @@
1
+ ///
2
+ /// Forty by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Table */
8
+
9
+ .table-wrapper {
10
+ -webkit-overflow-scrolling: touch;
11
+ overflow-x: auto;
12
+ }
13
+
14
+ table {
15
+ margin: 0 0 _size(element-margin) 0;
16
+ width: 100%;
17
+
18
+ tbody {
19
+ tr {
20
+ border: solid 1px _palette(border);
21
+ border-left: 0;
22
+ border-right: 0;
23
+
24
+ &:nth-child(2n + 1) {
25
+ background-color: _palette(border-bg);
26
+ }
27
+ }
28
+ }
29
+
30
+ td {
31
+ padding: 0.75em 0.75em;
32
+ }
33
+
34
+ th {
35
+ color: _palette(fg-bold);
36
+ font-size: 0.9em;
37
+ font-weight: _font(weight-bold);
38
+ padding: 0 0.75em 0.75em 0.75em;
39
+ text-align: left;
40
+ }
41
+
42
+ thead {
43
+ border-bottom: solid 2px _palette(border);
44
+ }
45
+
46
+ tfoot {
47
+ border-top: solid 2px _palette(border);
48
+ }
49
+
50
+ &.alt {
51
+ border-collapse: separate;
52
+
53
+ tbody {
54
+ tr {
55
+ td {
56
+ border: solid 1px _palette(border);
57
+ border-left-width: 0;
58
+ border-top-width: 0;
59
+
60
+ &:first-child {
61
+ border-left-width: 1px;
62
+ }
63
+ }
64
+
65
+ &:first-child {
66
+ td {
67
+ border-top-width: 1px;
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ thead {
74
+ border-bottom: 0;
75
+ }
76
+
77
+ tfoot {
78
+ border-top: 0;
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,183 @@
1
+ ///
2
+ /// Forty by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Tiles */
8
+
9
+ .tiles {
10
+ @include vendor('display', 'flex');
11
+ @include vendor('flex-wrap', 'wrap');
12
+ border-top: 0 !important;
13
+
14
+ & + * {
15
+ border-top: 0 !important;
16
+ }
17
+
18
+ article {
19
+ @include vendor('align-items', 'center');
20
+ @include vendor('display', 'flex');
21
+ @include vendor('transition', (
22
+ 'transform 0.25s ease',
23
+ 'opacity 0.25s ease',
24
+ 'filter 1s ease',
25
+ '-webkit-filter 1s ease'
26
+ ));
27
+ @include padding(4em, 4em);
28
+ background-position: center;
29
+ background-repeat: no-repeat;
30
+ background-size: cover;
31
+ cursor: default;
32
+ height: 40vh;
33
+ max-height: 40em;
34
+ min-height: 23em;
35
+ overflow: hidden;
36
+ position: relative;
37
+ width: 40%;
38
+
39
+ .image {
40
+ display: none;
41
+ }
42
+
43
+ header {
44
+ position: relative;
45
+ z-index: 3;
46
+ }
47
+
48
+ h3 {
49
+ font-size: 1.75em;
50
+
51
+ a {
52
+ &:hover {
53
+ color: inherit !important;
54
+ }
55
+ }
56
+ }
57
+
58
+ .link.primary {
59
+ border: 0;
60
+ height: 100%;
61
+ left: 0;
62
+ position: absolute;
63
+ top: 0;
64
+ width: 100%;
65
+ z-index: 4;
66
+ }
67
+
68
+ &:before {
69
+ @include vendor('transition', 'opacity 0.5s ease');
70
+ bottom: 0;
71
+ content: '';
72
+ display: block;
73
+ height: 100%;
74
+ left: 0;
75
+ opacity: 0.85;
76
+ position: absolute;
77
+ width: 100%;
78
+ z-index: 2;
79
+ }
80
+
81
+ &:after {
82
+ background-color: transparentize(_palette(bg), 0.75);
83
+ content: '';
84
+ display: block;
85
+ height: 100%;
86
+ left: 0;
87
+ position: absolute;
88
+ top: 0;
89
+ width: 100%;
90
+ z-index: 1;
91
+ }
92
+
93
+ &:hover {
94
+ &:before {
95
+ opacity: 0;
96
+ }
97
+ }
98
+
99
+ &.is-transitioning {
100
+ @include vendor('transform', 'scale(0.95)');
101
+ @include vendor('filter', 'blur(0.5em)');
102
+ opacity: 0;
103
+ }
104
+
105
+ &:nth-child(4n - 1),
106
+ &:nth-child(4n - 2) {
107
+ width: 60%;
108
+ }
109
+
110
+ &:nth-child(6n - 5) {
111
+ &:before {
112
+ background-color: _palette(accent1);
113
+ }
114
+ }
115
+
116
+ &:nth-child(6n - 4) {
117
+ &:before {
118
+ background-color: _palette(accent2);
119
+ }
120
+ }
121
+
122
+ &:nth-child(6n - 3) {
123
+ &:before {
124
+ background-color: _palette(accent3);
125
+ }
126
+ }
127
+
128
+ &:nth-child(6n - 2) {
129
+ &:before {
130
+ background-color: _palette(accent4);
131
+ }
132
+ }
133
+
134
+ &:nth-child(6n - 1) {
135
+ &:before {
136
+ background-color: _palette(accent5);
137
+ }
138
+ }
139
+
140
+ &:nth-child(6n) {
141
+ &:before {
142
+ background-color: _palette(accent6);
143
+ }
144
+ }
145
+ }
146
+
147
+ @include breakpoint(large) {
148
+ article {
149
+ @include padding(4em, 3em);
150
+ height: 30vh;
151
+ max-height: 30em;
152
+ min-height: 20em;
153
+ }
154
+ }
155
+
156
+ @include breakpoint(medium) {
157
+ article {
158
+ width: 50% !important;
159
+ }
160
+ }
161
+
162
+ @include breakpoint(small) {
163
+ article {
164
+ @include padding(3em, 1.5em);
165
+ height: 16em;
166
+ max-height: none;
167
+ min-height: 0;
168
+
169
+ h3 {
170
+ font-size: 1.5em;
171
+ }
172
+ }
173
+ }
174
+
175
+ @include breakpoint(xsmall) {
176
+ display: block;
177
+
178
+ article {
179
+ height: 20em;
180
+ width: 100% !important;
181
+ }
182
+ }
183
+ }