jekyll-theme-eventually 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.
@@ -0,0 +1,226 @@
1
+ ///
2
+ /// Eventually 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
+ /* Form */
8
+
9
+ form {
10
+ margin: 0 0 _size(element-margin) 0;
11
+
12
+ .message {
13
+ @include icon;
14
+ @include vendor('transition', (
15
+ 'opacity #{_duration(transition)} ease-in-out',
16
+ 'transform #{_duration(transition)} ease-in-out'
17
+ ));
18
+ @include vendor('transform', 'scale(1.05)');
19
+ height: _size(element-height);
20
+ line-height: _size(element-height);
21
+ opacity: 0;
22
+
23
+ &:before {
24
+ margin-right: 0.5em;
25
+ }
26
+
27
+ &.visible {
28
+ @include vendor('transform', 'scale(1)');
29
+ opacity: 1;
30
+ }
31
+
32
+ &.success {
33
+ color: _palette(positive, bg);
34
+
35
+ &:before {
36
+ content: '\f00c';
37
+ }
38
+ }
39
+
40
+ &.failure {
41
+ color: _palette(negative, bg);
42
+
43
+ &:before {
44
+ content: '\f119';
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ label {
51
+ color: _palette(fg-bold);
52
+ display: block;
53
+ font-size: 0.9em;
54
+ font-weight: _font(weight-bold);
55
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
56
+ }
57
+
58
+ @include keyframes(focus) {
59
+ 0% { @include vendor('transform', 'scale(1)'); }
60
+ 50% { @include vendor('transform', 'scale(1.025)'); }
61
+ 100% { @include vendor('transform', 'scale(1)'); }
62
+ }
63
+
64
+ input[type="text"],
65
+ input[type="password"],
66
+ input[type="email"],
67
+ select,
68
+ textarea {
69
+ @include vendor('appearance', 'none');
70
+ @include vendor('transform', 'scale(1)');
71
+ @include vendor('transition', (
72
+ 'border-color #{_duration(transition)} ease',
73
+ 'background-color #{_duration(transition)} ease'
74
+ ));
75
+ background-color: transparent;
76
+ border-radius: _size(border-radius);
77
+ border: none;
78
+ border: solid _size(border-width) _palette(border);
79
+ color: inherit;
80
+ display: block;
81
+ outline: 0;
82
+ padding: 0 1em;
83
+ text-decoration: none;
84
+ width: 100%;
85
+
86
+ &:invalid {
87
+ box-shadow: none;
88
+ }
89
+
90
+ &:focus {
91
+ @include vendor('animation', 'focus 0.1s');
92
+ background-color: _palette(border-bg);
93
+ border-color: _palette(accent, bg);
94
+ }
95
+ }
96
+
97
+ select {
98
+ 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='#{_palette(border)}' /></svg>");
99
+ background-size: 1.25rem;
100
+ background-repeat: no-repeat;
101
+ background-position: calc(100% - 1rem) center;
102
+ height: _size(element-height);
103
+ padding-right: _size(element-height);
104
+ text-overflow: ellipsis;
105
+
106
+ option {
107
+ color: _palette(fg-bold);
108
+ background: _palette(bg);
109
+ }
110
+
111
+ &:focus {
112
+ &::-ms-value {
113
+ background-color: transparent;
114
+ }
115
+ }
116
+
117
+ &::-ms-expand {
118
+ display: none;
119
+ }
120
+ }
121
+
122
+ input[type="text"],
123
+ input[type="password"],
124
+ input[type="email"],
125
+ select {
126
+ height: _size(element-height);
127
+ }
128
+
129
+ textarea {
130
+ padding: 0.75em 1em;
131
+ }
132
+
133
+ input[type="checkbox"],
134
+ input[type="radio"], {
135
+ @include vendor('appearance', 'none');
136
+ display: block;
137
+ float: left;
138
+ margin-right: -2em;
139
+ opacity: 0;
140
+ width: 1em;
141
+ z-index: -1;
142
+
143
+ & + label {
144
+ @include icon;
145
+ color: _palette(fg);
146
+ cursor: pointer;
147
+ display: inline-block;
148
+ font-size: 1em;
149
+ font-weight: _font(weight);
150
+ padding-left: (_size(element-height) * 0.6) + 0.75em;
151
+ padding-right: 0.75em;
152
+ position: relative;
153
+
154
+ &:before {
155
+ background: _palette(border-bg);
156
+ border-radius: _size(border-radius);
157
+ border: solid _size(border-width) _palette(border);
158
+ content: '';
159
+ display: inline-block;
160
+ height: (_size(element-height) * 0.6);
161
+ left: 0;
162
+ line-height: (_size(element-height) * 0.575);
163
+ position: absolute;
164
+ text-align: center;
165
+ top: 0;
166
+ width: (_size(element-height) * 0.6);
167
+ }
168
+ }
169
+
170
+ &:checked + label {
171
+ &:before {
172
+ background: _palette(accent, bg);
173
+ border-color: _palette(accent, bg);
174
+ color: _palette(accent, fg-bold);
175
+ content: '\f00c';
176
+ }
177
+ }
178
+
179
+ &:focus + label {
180
+ &:before {
181
+ border-color: _palette(accent, bg);
182
+ box-shadow: 0 0 0 _size(border-width) _palette(accent, bg);
183
+ }
184
+ }
185
+ }
186
+
187
+ input[type="checkbox"] {
188
+ & + label {
189
+ &:before {
190
+ border-radius: _size(border-radius);
191
+ }
192
+ }
193
+ }
194
+
195
+ input[type="radio"] {
196
+ & + label {
197
+ &:before {
198
+ border-radius: 100%;
199
+ }
200
+ }
201
+ }
202
+
203
+ ::-webkit-input-placeholder {
204
+ color: _palette(fg-light) !important;
205
+ opacity: 1.0;
206
+ }
207
+
208
+ :-moz-placeholder {
209
+ color: _palette(fg-light) !important;
210
+ opacity: 1.0;
211
+ }
212
+
213
+ ::-moz-placeholder {
214
+ color: _palette(fg-light) !important;
215
+ opacity: 1.0;
216
+ }
217
+
218
+ :-ms-input-placeholder {
219
+ color: _palette(fg-light) !important;
220
+ opacity: 1.0;
221
+ }
222
+
223
+ .formerize-placeholder {
224
+ color: _palette(fg-light) !important;
225
+ opacity: 1.0;
226
+ }
@@ -0,0 +1,17 @@
1
+ ///
2
+ /// Eventually 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
+ /* Icon */
8
+
9
+ .icon {
10
+ @include icon;
11
+ border-bottom: none;
12
+ position: relative;
13
+
14
+ > .label {
15
+ display: none;
16
+ }
17
+ }
@@ -0,0 +1,32 @@
1
+ ///
2
+ /// Eventually 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
+ /* Icons */
8
+
9
+ ul.icons {
10
+ cursor: default;
11
+ list-style: none;
12
+ padding-left: 0;
13
+
14
+ li {
15
+ display: inline-block;
16
+ padding: 0 1em 0 0;
17
+
18
+ &:last-child {
19
+ padding-right: 0;
20
+ }
21
+
22
+ .icon {
23
+ &:before {
24
+ font-size: 1.25em;
25
+ }
26
+ }
27
+
28
+ a {
29
+ color: inherit;
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,27 @@
1
+ ///
2
+ /// Eventually 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
+ /* List */
8
+
9
+ ol {
10
+ list-style: decimal;
11
+ margin: 0 0 _size(element-margin) 0;
12
+ padding-left: 1.25em;
13
+
14
+ li {
15
+ padding-left: 0.25em;
16
+ }
17
+ }
18
+
19
+ ul {
20
+ list-style: disc;
21
+ margin: 0 0 _size(element-margin) 0;
22
+ padding-left: 1em;
23
+
24
+ li {
25
+ padding-left: 0.5em;
26
+ }
27
+ }
@@ -0,0 +1,59 @@
1
+ ///
2
+ /// Eventually 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
+ p {
17
+ color: _palette(fg-light);
18
+ position: relative;
19
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
20
+ }
21
+
22
+ h2 + p {
23
+ font-size: 1.25em;
24
+ margin-top: (_size(element-margin) * -0.5);
25
+ line-height: 1.5em;
26
+ }
27
+
28
+ h3 + p {
29
+ font-size: 1.1em;
30
+ margin-top: (_size(element-margin) * -0.4);
31
+ line-height: 1.5em;
32
+ }
33
+
34
+ h4 + p,
35
+ h5 + p,
36
+ h6 + p {
37
+ font-size: 0.9em;
38
+ margin-top: (_size(element-margin) * -0.3);
39
+ line-height: 1.5em;
40
+ }
41
+
42
+ @include breakpoint('<=medium') {
43
+ br {
44
+ display: none;
45
+ }
46
+ }
47
+
48
+ @include breakpoint('<=small') {
49
+ br {
50
+ display: inline;
51
+ }
52
+ }
53
+
54
+ @include breakpoint('<=xsmall') {
55
+ br {
56
+ display: none;
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,49 @@
1
+ @charset "utf-8";
2
+
3
+ @import 'libs/vars';
4
+ @import 'libs/functions';
5
+ @import 'libs/mixins';
6
+ @import 'libs/vendor';
7
+ @import 'libs/breakpoints';
8
+ @import 'font-awesome.min.css';
9
+ @import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
10
+
11
+ /*
12
+ Eventually by HTML5 UP
13
+ html5up.net | @ajlkn
14
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
15
+ */
16
+
17
+ // Breakpoints.
18
+
19
+ @include breakpoints((
20
+ xlarge: ( 1281px, 1680px ),
21
+ large: ( 981px, 1280px ),
22
+ medium: ( 737px, 980px ),
23
+ small: ( 481px, 736px ),
24
+ xsmall: ( 361px, 480px ),
25
+ xxsmall: ( null, 360px ),
26
+ short: '(max-height: 640px)'
27
+ ));
28
+
29
+ // Base.
30
+
31
+ @import 'base/reset';
32
+ @import 'base/page';
33
+ @import 'base/bg';
34
+ @import 'base/typography';
35
+
36
+ // Components.
37
+
38
+ @import 'components/section';
39
+ @import 'components/icon';
40
+ @import 'components/list';
41
+ @import 'components/icons';
42
+ @import 'components/form';
43
+ @import 'components/button';
44
+
45
+ // Layout.
46
+
47
+ @import 'layout/header';
48
+ @import 'layout/signup-form';
49
+ @import 'layout/footer';
@@ -0,0 +1,74 @@
1
+ ///
2
+ /// Eventually 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
+ /* Footer */
8
+
9
+ #footer {
10
+ @include vendor('transition', 'opacity 0.5s ease-in-out');
11
+ bottom: 4em;
12
+ color: _palette(fg-light);
13
+ left: 4em;
14
+ opacity: 0.5;
15
+ position: absolute;
16
+
17
+ .icons {
18
+ margin: 0 0 (_size(element-margin) * 0.25) 0;
19
+ }
20
+
21
+ .copyright {
22
+ font-size: 0.8em;
23
+ list-style: none;
24
+ padding: 0;
25
+
26
+ li {
27
+ border-left: solid 1px _palette(border2);
28
+ display: inline-block;
29
+ line-height: 1em;
30
+ margin: 0 0 0 0.75em;
31
+ padding: 0 0 0 0.75em;
32
+
33
+ &:first-child {
34
+ border-left: 0;
35
+ margin-left: 0;
36
+ padding-left: 0;
37
+ }
38
+ }
39
+
40
+ a {
41
+ color: inherit;
42
+ }
43
+ }
44
+
45
+ &:hover {
46
+ opacity: 1;
47
+ }
48
+
49
+ > :last-child {
50
+ margin-bottom: 0;
51
+ }
52
+
53
+ @include breakpoint('<=xlarge') {
54
+ bottom: 3.5em;
55
+ left: 3.5em;
56
+ }
57
+
58
+ @include breakpoint('<=small') {
59
+ bottom: 2em;
60
+ left: 2em;
61
+ }
62
+
63
+ @include breakpoint('<=xxsmall') {
64
+ bottom: 1.25em;
65
+ left: 1.25em;
66
+ }
67
+
68
+ @include breakpoint('short') {
69
+ bottom: auto;
70
+ left: auto;
71
+ margin: (_size(element-margin) * 0.5) 0 0 0;
72
+ position: relative;
73
+ }
74
+ }
@@ -0,0 +1,37 @@
1
+ ///
2
+ /// Eventually 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
+ /* Header */
8
+
9
+ #header {
10
+ h1 {
11
+ font-size: 3.25em;
12
+ margin: 0 0 (_size(element-margin) * 0.275) 0;
13
+ }
14
+
15
+ p {
16
+ font-size: 1.35em;
17
+ line-height: 1.65em;
18
+ }
19
+
20
+ a {
21
+ color: inherit;
22
+ }
23
+
24
+ @include breakpoint('<=small') {
25
+ h1 {
26
+ font-size: 2em;
27
+ }
28
+
29
+ p {
30
+ font-size: 1em;
31
+ }
32
+ }
33
+
34
+ @include breakpoint('<=xsmall') {
35
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
36
+ }
37
+ }
@@ -0,0 +1,50 @@
1
+ ///
2
+ /// Eventually 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
+ /* Signup Form */
8
+
9
+ #signup-form {
10
+ @include vendor('display', 'flex');
11
+ position: relative;
12
+
13
+ input[type="text"],
14
+ input[type="password"],
15
+ input[type="email"] {
16
+ width: 18em;
17
+ }
18
+
19
+ > * {
20
+ margin: 0 0 0 1em;
21
+ }
22
+
23
+ > :first-child {
24
+ margin: 0 0 0 0;
25
+ }
26
+
27
+ @include breakpoint('<=xsmall') {
28
+ @include vendor('flex-direction', 'column');
29
+
30
+ input[type="type"],
31
+ input[type="password"],
32
+ input[type="email"] {
33
+ width: 100%;
34
+ }
35
+
36
+ > * {
37
+ margin: 1.25em 0 0 0;
38
+ }
39
+
40
+ .message {
41
+ bottom: -1.5em;
42
+ font-size: 0.9em;
43
+ height: 1em;
44
+ left: 0;
45
+ line-height: inherit;
46
+ margin-top: 0;
47
+ position: absolute;
48
+ }
49
+ }
50
+ }