jekyll-theme-drop 0.1.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 (86) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +437 -0
  3. data/README.md +96 -0
  4. data/_includes/banner.html +12 -0
  5. data/_includes/footer.html +39 -0
  6. data/_includes/head.html +7 -0
  7. data/_includes/header.html +10 -0
  8. data/_includes/scripts.html +8 -0
  9. data/_layouts/default.html +22 -0
  10. data/_layouts/home.html +6 -0
  11. data/_layouts/page.html +4 -0
  12. data/_layouts/post.html +4 -0
  13. data/_sass/base/_reset.scss +70 -0
  14. data/_sass/base/_typography.scss +140 -0
  15. data/_sass/components/_actions.scss +18 -0
  16. data/_sass/components/_box.scss +151 -0
  17. data/_sass/components/_button.scss +49 -0
  18. data/_sass/components/_container.scss +15 -0
  19. data/_sass/components/_form.scss +88 -0
  20. data/_sass/components/_icons.scss +44 -0
  21. data/_sass/components/_image.scss +37 -0
  22. data/_sass/components/_list.scss +25 -0
  23. data/_sass/components/_menu.scss +21 -0
  24. data/_sass/components/_poptrox.scss +120 -0
  25. data/_sass/components/_row.scss +21 -0
  26. data/_sass/components/_sections.scss +18 -0
  27. data/_sass/components/_table.scss +35 -0
  28. data/_sass/layout/_banner.scss +44 -0
  29. data/_sass/layout/_breakpoints.scss +358 -0
  30. data/_sass/layout/_footer.scss +44 -0
  31. data/_sass/layout/_header.scss +85 -0
  32. data/_sass/libs/_breakpoints.scss +223 -0
  33. data/_sass/libs/_functions.scss +90 -0
  34. data/_sass/libs/_html-grid.scss +149 -0
  35. data/_sass/libs/_mixins.scss +63 -0
  36. data/_sass/libs/_vars.scss +22 -0
  37. data/_sass/libs/_vendor.scss +376 -0
  38. data/_sass/main.scss +51 -0
  39. data/_sass/noscript.scss +25 -0
  40. data/assets/css/font-awesome.min.css +4 -0
  41. data/assets/css/images/arrow.svg +11 -0
  42. data/assets/css/images/banner.svg +54 -0
  43. data/assets/css/images/loader.gif +0 -0
  44. data/assets/css/images/overlay.png +0 -0
  45. data/assets/css/images/poptrox-closer.svg +6 -0
  46. data/assets/css/images/poptrox-nav.svg +6 -0
  47. data/assets/css/noscript.css +19 -0
  48. data/assets/css/styles.scss +4 -0
  49. data/assets/fonts/FontAwesome.otf +0 -0
  50. data/assets/fonts/fontawesome-webfont.eot +0 -0
  51. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  52. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  53. data/assets/fonts/fontawesome-webfont.woff +0 -0
  54. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  55. data/assets/images/bg-alt.jpg +0 -0
  56. data/assets/images/bg.jpg +0 -0
  57. data/assets/images/drop.svg +99 -0
  58. data/assets/images/drop_background.svg +110 -0
  59. data/assets/images/drop_bouncing.svg +125 -0
  60. data/assets/images/fulls/01.jpg +0 -0
  61. data/assets/images/fulls/02.jpg +0 -0
  62. data/assets/images/fulls/03.jpg +0 -0
  63. data/assets/images/fulls/04.jpg +0 -0
  64. data/assets/images/fulls/05.jpg +0 -0
  65. data/assets/images/fulls/06.jpg +0 -0
  66. data/assets/images/fulls/07.jpg +0 -0
  67. data/assets/images/fulls/08.jpg +0 -0
  68. data/assets/images/pic01.jpg +0 -0
  69. data/assets/images/pic02.jpg +0 -0
  70. data/assets/images/screenshot.jpg +0 -0
  71. data/assets/images/thumbs/01.jpg +0 -0
  72. data/assets/images/thumbs/02.jpg +0 -0
  73. data/assets/images/thumbs/03.jpg +0 -0
  74. data/assets/images/thumbs/04.jpg +0 -0
  75. data/assets/images/thumbs/05.jpg +0 -0
  76. data/assets/images/thumbs/06.jpg +0 -0
  77. data/assets/images/thumbs/07.jpg +0 -0
  78. data/assets/images/thumbs/08.jpg +0 -0
  79. data/assets/js/breakpoints.min.js +2 -0
  80. data/assets/js/browser.min.js +2 -0
  81. data/assets/js/jquery.min.js +2 -0
  82. data/assets/js/jquery.poptrox.min.js +2 -0
  83. data/assets/js/jquery.scrolly.min.js +2 -0
  84. data/assets/js/main.js +105 -0
  85. data/assets/js/util.js +587 -0
  86. metadata +170 -0
@@ -0,0 +1,70 @@
1
+ // Reset.
2
+ // Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
3
+
4
+ html, body, div, span, applet, object,
5
+ iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
6
+ pre, a, abbr, acronym, address, big, cite,
7
+ code, del, dfn, em, img, ins, kbd, q, s, samp,
8
+ small, strike, strong, sub, sup, tt, var, b,
9
+ u, i, center, dl, dt, dd, ol, ul, li, fieldset,
10
+ form, label, legend, table, caption, tbody,
11
+ tfoot, thead, tr, th, td, article, aside,
12
+ canvas, details, embed, figure, figcaption,
13
+ footer, header, hgroup, menu, nav, output, ruby,
14
+ section, summary, time, mark, audio, video {
15
+ margin: 0;
16
+ padding: 0;
17
+ border: 0;
18
+ font-size: 100%;
19
+ font: inherit;
20
+ vertical-align: baseline;
21
+ }
22
+
23
+ article, aside, details, figcaption, figure,
24
+ footer, header, hgroup, menu, nav, section {
25
+ display: block;
26
+ }
27
+
28
+ body {
29
+ line-height: 1;
30
+ }
31
+
32
+ ol, ul {
33
+ list-style:none;
34
+ }
35
+
36
+ blockquote, q {
37
+ quotes: none;
38
+
39
+ &:before,
40
+ &:after {
41
+ content: '';
42
+ content: none;
43
+ }
44
+ }
45
+
46
+ table {
47
+ border-collapse: collapse;
48
+ border-spacing: 0;
49
+ }
50
+
51
+ body {
52
+ -webkit-text-size-adjust: none;
53
+ }
54
+
55
+ mark {
56
+ background-color: transparent;
57
+ color: inherit;
58
+ }
59
+
60
+ input::-moz-focus-inner {
61
+ border: 0;
62
+ padding: 0;
63
+ }
64
+
65
+ input, select, textarea {
66
+ -moz-appearance: none;
67
+ -webkit-appearance: none;
68
+ -ms-appearance: none;
69
+ appearance: none;
70
+ }
@@ -0,0 +1,140 @@
1
+ /* Basic */
2
+
3
+ // Set box model to border-box.
4
+ // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
5
+ html {
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ *, *:before, *:after {
10
+ box-sizing: inherit;
11
+ }
12
+
13
+ body {
14
+ background-color: #183026;
15
+ background-image: url('images/overlay.png'), url('../images/bg.jpg');
16
+ background-repeat: repeat, no-repeat;
17
+ background-size: auto, cover;
18
+ background-position: top left, center 0;
19
+ background-attachment: fixed, fixed;
20
+ font-family: 'Source Sans Pro', sans-serif;
21
+ font-size: 18pt;
22
+ line-height: 1.75em;
23
+ font-weight: 300;
24
+ letter-spacing: 1px;
25
+ color: #3a3939;
26
+ text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25);
27
+ -webkit-text-stroke: 0.25px;
28
+
29
+ &.is-scroll {
30
+ background-attachment: scroll, scroll;
31
+ background-size: auto, 100% auto;
32
+ }
33
+
34
+ // Stops initial animations until page loads.
35
+ &.is-preload {
36
+ *, *:before, *:after {
37
+ @include vendor('animation', 'none !important');
38
+ @include vendor('transition', 'none !important');
39
+ }
40
+ }
41
+
42
+ }
43
+
44
+ input, textarea, select {
45
+ font-family: 'Source Sans Pro', sans-serif;
46
+ font-size: 18pt;
47
+ line-height: 1.75em;
48
+ font-weight: 300;
49
+ letter-spacing: 1px;
50
+ color: #3a3939;
51
+ text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25);
52
+ -webkit-text-stroke: 0.25px;
53
+ }
54
+
55
+ h1, h2, h3, h4, h5, h6 {
56
+ font-weight: 400;
57
+ text-transform: uppercase;
58
+ line-height: 1.75em;
59
+ }
60
+
61
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
62
+ color: inherit;
63
+ text-decoration: none;
64
+ }
65
+
66
+ h2 {
67
+ font-size: 1.25em;
68
+ letter-spacing: 8px;
69
+ }
70
+
71
+ h3 {
72
+ font-size: 1em;
73
+ letter-spacing: 5px;
74
+ }
75
+
76
+ strong, b {
77
+ font-weight: 400;
78
+ }
79
+
80
+ em, i {
81
+ font-style: italic;
82
+ }
83
+
84
+ a {
85
+ @include vendor('transition', ('border-color 0.35s ease-in-out', 'color 0.35s ease-in-out'));
86
+ color: #35b88f;
87
+ text-shadow: 0 0 0.5px rgba(53, 184, 143, 0.25);
88
+ text-decoration: none;
89
+ border-bottom: dotted 1px rgba(53, 184, 143, 0.5);
90
+
91
+ &:hover {
92
+ border-bottom-color: rgba(53, 184, 143, 0);
93
+ }
94
+ }
95
+
96
+ sub {
97
+ position: relative;
98
+ top: 0.5em;
99
+ font-size: 0.8em;
100
+ }
101
+
102
+ sup {
103
+ position: relative;
104
+ top: -0.5em;
105
+ font-size: 0.8em;
106
+ }
107
+
108
+ hr {
109
+ border: 0;
110
+ border-top: solid 1px #dad9d9;
111
+ margin: 2em 0 2em 0;
112
+ }
113
+
114
+ blockquote {
115
+ border-left: solid 0.5em #eae9e9;
116
+ padding: 1em 0 1em 2em;
117
+ font-style: italic;
118
+ }
119
+
120
+ p, ul, ol, dl, table {
121
+ margin-bottom: 1em;
122
+ }
123
+
124
+ header {
125
+ margin-bottom: 1em;
126
+
127
+ p {
128
+ display: block;
129
+ margin: 0.5em 0 0 0;
130
+ padding: 0 0 1.5em 0;
131
+ }
132
+ }
133
+
134
+ footer {
135
+ margin-top: 1em;
136
+ }
137
+
138
+ br.clear {
139
+ clear: both;
140
+ }
@@ -0,0 +1,18 @@
1
+ /* Actions */
2
+
3
+ ul.actions {
4
+ cursor: default;
5
+ list-style: none;
6
+ padding-left: 0;
7
+
8
+ li {
9
+ display: inline-block;
10
+ margin: 0 0 0 0.5em;
11
+ padding-left: 0;
12
+ margin-top: 0;
13
+
14
+ &:first-child {
15
+ margin-left: 0;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,151 @@
1
+ /* Box */
2
+
3
+ .box {
4
+ position: relative;
5
+ margin-top: 9em;
6
+ margin-bottom: 0;
7
+
8
+ &:after {
9
+ content: '';
10
+ display: block;
11
+ position: absolute;
12
+ top: -9em;
13
+ left: 50%;
14
+ height: 9em;
15
+ border-left: solid 1px #fff;
16
+ }
17
+
18
+ &:before {
19
+ content: '';
20
+ display: block;
21
+ width: 90px;
22
+ height: 66px;
23
+ position: absolute;
24
+ left: 50%;
25
+ top: -4.5em;
26
+ margin-left: -45px;
27
+ margin-top: -33px;
28
+ background: url('images/arrow.svg') no-repeat;
29
+ }
30
+
31
+ :last-child {
32
+ margin-bottom: 0;
33
+ }
34
+
35
+ &.style1 {
36
+ background: #fff;
37
+ padding: 3em;
38
+
39
+ .image {
40
+ display: block;
41
+ position: absolute;
42
+ top: 0;
43
+ width: 50%;
44
+ height: 100%;
45
+ background: #152E33;
46
+ overflow: hidden;
47
+
48
+ img {
49
+ position: absolute;
50
+ top: 0;
51
+ height: 100%;
52
+ width: auto;
53
+ }
54
+ }
55
+
56
+ .inner {
57
+ > :last-child {
58
+ margin: 0;
59
+ }
60
+ }
61
+
62
+ &.right {
63
+ .image {
64
+ left: 0;
65
+
66
+ img {
67
+ right: 0;
68
+ }
69
+ }
70
+
71
+ .inner {
72
+ margin-left: 50%;
73
+ padding-left: 3em;
74
+ }
75
+ }
76
+
77
+ &.left {
78
+ .image {
79
+ right: 0;
80
+
81
+ img {
82
+ left: 0;
83
+ }
84
+ }
85
+
86
+ .inner {
87
+ margin-right: 50%;
88
+ padding-right: 3em;
89
+ }
90
+ }
91
+ }
92
+
93
+ &.style2 {
94
+ text-align: center;
95
+
96
+ header {
97
+ display: inline-block;
98
+ background: #fff;
99
+ padding: 2em 3em 2em 3em;
100
+ margin: 0;
101
+
102
+ p {
103
+ padding: 0;
104
+ }
105
+ }
106
+
107
+ .inner {
108
+ position: relative;
109
+ padding: 40px 0 0px 0;
110
+
111
+ &:after {
112
+ content: '';
113
+ display: block;
114
+ position: absolute;
115
+ top: 0;
116
+ left: 50%;
117
+ height: 100%;
118
+ border-left: solid 1px #fff;
119
+ }
120
+
121
+ .row {
122
+ position: relative;
123
+
124
+ &:before {
125
+ content: '';
126
+ display: block;
127
+ position: absolute;
128
+ top: 50%;
129
+ left: 20px;
130
+ width: calc(100% - 40px);
131
+ border-bottom: solid 1px #fff;
132
+ }
133
+ }
134
+
135
+ .image {
136
+ position: relative;
137
+ z-index: 1;
138
+ padding: 20px;
139
+ }
140
+ }
141
+ }
142
+
143
+ &.style3 {
144
+ background: #fff;
145
+ padding: 3em;
146
+
147
+ header {
148
+ text-align: center;
149
+ }
150
+ }
151
+ }
@@ -0,0 +1,49 @@
1
+ /* Button */
2
+
3
+ input[type="button"],
4
+ input[type="submit"],
5
+ input[type="reset"],
6
+ button,
7
+ .button {
8
+ @include vendor('transition', ('background-color 0.35s ease-in-out', 'color 0.35s ease-in-out'));
9
+ -webkit-appearance: none;
10
+ position: relative;
11
+ display: inline-block;
12
+ border: 0;
13
+ background: #35b88f;
14
+ color: #fff;
15
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
16
+ cursor: pointer;
17
+ text-decoration: none;
18
+ outline: 0;
19
+ padding: 1em 3em 1em 3em;
20
+ text-align: center;
21
+ border-radius: 3em;
22
+ font-weight: 400;
23
+
24
+ &:hover {
25
+ background: #45c89f;
26
+ }
27
+
28
+ &.style2 {
29
+ color: #3a3939;
30
+ background: #fff;
31
+ box-shadow: inset 0 0 0 1px #fff;
32
+
33
+ &:hover {
34
+ background: rgba(255, 255, 255, 0.1);
35
+ color: #fff !important;
36
+ text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25) !important;
37
+ }
38
+ }
39
+
40
+ &.style3 {
41
+ background: none;
42
+ color: #3a3939;
43
+ box-shadow: inset 0 0 0 1px #dad9d9;
44
+
45
+ &:hover {
46
+ background: rgba(58, 57, 57, 0.025);
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,15 @@
1
+ /* Container */
2
+
3
+ .container {
4
+ margin: 0 auto;
5
+ max-width: 100%;
6
+ width: 1140px;
7
+
8
+ @include breakpoint('<=wide') {
9
+ width: 960px;
10
+ }
11
+
12
+ @include breakpoint('<=normal') {
13
+ width: 95%;
14
+ }
15
+ }
@@ -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: #f8f8f8;
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: #3a3939;
44
+ background: #ffffff;
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: #5a5959 !important;
64
+ }
65
+
66
+ :-moz-placeholder {
67
+ color: #5a5959 !important;
68
+ }
69
+
70
+ ::-moz-placeholder {
71
+ color: #5a5959 !important;
72
+ }
73
+
74
+ :-ms-input-placeholder {
75
+ color: #5a5959 !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
+ }