steve-for-jekyll 0.1.0 → 1.0.3
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.
- checksums.yaml +4 -4
- data/404.html +9 -0
- data/LICENSE.txt +21 -21
- data/README.md +154 -5
- data/_config.yml +70 -51
- data/_includes/blog/custom-widgets.html +3 -0
- data/_includes/blog/post.html +43 -47
- data/_includes/blog/sidebar.html +42 -39
- data/_includes/footer.html +11 -13
- data/_includes/footer/custom-text.html +5 -3
- data/_includes/header.html +17 -17
- data/_includes/header/menu.html +12 -12
- data/_includes/search-form.html +13 -17
- data/_layouts/archive.html +21 -25
- data/_layouts/default.html +18 -18
- data/_layouts/home.html +23 -0
- data/_layouts/page.html +15 -15
- data/_layouts/post.html +92 -96
- data/_sass/{steve.scss → steve-for-jekyll.scss} +51 -51
- data/_sass/steve/_base.scss +222 -248
- data/_sass/steve/_layout.scss +397 -380
- data/assets/css/screen.scss +34 -34
- data/assets/js/responsive-videos.js +79 -79
- metadata +84 -12
@@ -1,51 +1,51 @@
|
|
1
|
-
/*
|
2
|
-
Color Scheme
|
3
|
-
*/
|
4
|
-
|
5
|
-
$color__background-content: #fff !default; // posts, pages and sidebar background color.
|
6
|
-
$color__background-body: #e4f0f6 !default; // body background color
|
7
|
-
$color__text: #000112 !default; // body text color
|
8
|
-
|
9
|
-
$color__link: #4e9dd8 !default; // color for links and accents
|
10
|
-
$color__link-hover: #2361a7 !default; // alternate color for active or focused links and accents
|
11
|
-
|
12
|
-
$color__details: #939496 !default; // color for details such as borders and shadows
|
13
|
-
$color__details-lighter: #f0f1f4 !default; // lighter alternative for details
|
14
|
-
$color__details-darker: #6d6e70 !default; // darker alternative for details
|
15
|
-
|
16
|
-
/*
|
17
|
-
Typography
|
18
|
-
*/
|
19
|
-
|
20
|
-
$font__body: "Avenir Next", Corbel, "Fira Sans", "Trebuchet MS", Ubuntu, sans-serif !default; // used for the main, body typography
|
21
|
-
$font__headings: $font__body !default; // used for headings and feature elements
|
22
|
-
$font__code: "Cascadia Code", SFMono-Regular, Menlo, Consolas, "Fira Mono", "DejaVu Sans Mono", monospace !default; // used for pre-formatted text and code.
|
23
|
-
|
24
|
-
|
25
|
-
/*
|
26
|
-
Layout
|
27
|
-
*/
|
28
|
-
$layout__container-width: 1180px !default; // the width of the main content (content + sidebar)
|
29
|
-
$layout__gutter: 2rem !default; // the spacing unit between elements.
|
30
|
-
|
31
|
-
:root {
|
32
|
-
--color-bg: #{$color__background-content};
|
33
|
-
--color-body: #{$color__background-body};
|
34
|
-
--color-text: #{$color__text};
|
35
|
-
|
36
|
-
--color-link: #{$color__link};
|
37
|
-
--color-link-hover: #{$color__link-hover};
|
38
|
-
|
39
|
-
--color-details: #{$color__details};
|
40
|
-
--color-details-lighter: #{$color__details-lighter};
|
41
|
-
--color-details-darker: #{$color__details-darker};
|
42
|
-
|
43
|
-
--font: #{$font__body};
|
44
|
-
--font-headings: #{$font__headings};
|
45
|
-
--font-code: #{$font__code};
|
46
|
-
|
47
|
-
--container: #{$layout__container-width};
|
48
|
-
--gap: #{$layout__gutter};
|
49
|
-
}
|
50
|
-
|
51
|
-
@import "steve/base", "steve/layout", "steve/syntax";
|
1
|
+
/*
|
2
|
+
Color Scheme
|
3
|
+
*/
|
4
|
+
|
5
|
+
$color__background-content: #fff !default; // posts, pages and sidebar background color.
|
6
|
+
$color__background-body: #e4f0f6 !default; // body background color
|
7
|
+
$color__text: #000112 !default; // body text color
|
8
|
+
|
9
|
+
$color__link: #4e9dd8 !default; // color for links and accents
|
10
|
+
$color__link-hover: #2361a7 !default; // alternate color for active or focused links and accents
|
11
|
+
|
12
|
+
$color__details: #939496 !default; // color for details such as borders and shadows
|
13
|
+
$color__details-lighter: #f0f1f4 !default; // lighter alternative for details
|
14
|
+
$color__details-darker: #6d6e70 !default; // darker alternative for details
|
15
|
+
|
16
|
+
/*
|
17
|
+
Typography
|
18
|
+
*/
|
19
|
+
|
20
|
+
$font__body: "Avenir Next", Corbel, "Fira Sans", "Trebuchet MS", Ubuntu, sans-serif !default; // used for the main, body typography
|
21
|
+
$font__headings: $font__body !default; // used for headings and feature elements
|
22
|
+
$font__code: "Cascadia Code", SFMono-Regular, Menlo, Consolas, "Fira Mono", "DejaVu Sans Mono", monospace !default; // used for pre-formatted text and code.
|
23
|
+
|
24
|
+
|
25
|
+
/*
|
26
|
+
Layout
|
27
|
+
*/
|
28
|
+
$layout__container-width: 1180px !default; // the width of the main content (content + sidebar)
|
29
|
+
$layout__gutter: 2rem !default; // the spacing unit between elements.
|
30
|
+
|
31
|
+
:root {
|
32
|
+
--color-bg: #{$color__background-content};
|
33
|
+
--color-body: #{$color__background-body};
|
34
|
+
--color-text: #{$color__text};
|
35
|
+
|
36
|
+
--color-link: #{$color__link};
|
37
|
+
--color-link-hover: #{$color__link-hover};
|
38
|
+
|
39
|
+
--color-details: #{$color__details};
|
40
|
+
--color-details-lighter: #{$color__details-lighter};
|
41
|
+
--color-details-darker: #{$color__details-darker};
|
42
|
+
|
43
|
+
--font: #{$font__body};
|
44
|
+
--font-headings: #{$font__headings};
|
45
|
+
--font-code: #{$font__code};
|
46
|
+
|
47
|
+
--container: #{$layout__container-width};
|
48
|
+
--gap: #{$layout__gutter};
|
49
|
+
}
|
50
|
+
|
51
|
+
@import "steve/base", "steve/layout", "steve/syntax";
|
data/_sass/steve/_base.scss
CHANGED
@@ -1,248 +1,222 @@
|
|
1
|
-
/*
|
2
|
-
Resets
|
3
|
-
*/
|
4
|
-
|
5
|
-
body,
|
6
|
-
h1,
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
}
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
}
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
}
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
border-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
margin:
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
input[type="
|
184
|
-
input[type="
|
185
|
-
input[type="
|
186
|
-
input[type="
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
}
|
222
|
-
}
|
223
|
-
|
224
|
-
input[type="button"],
|
225
|
-
input[type="reset"],
|
226
|
-
input[type="submit"],
|
227
|
-
button {
|
228
|
-
box-shadow: inset 0 0 0 var(--color-details-lighter);
|
229
|
-
border-bottom: 3px solid var(--color-details-lighter);
|
230
|
-
color: var(--color-link);
|
231
|
-
transition-property: color, box-shadow, border-bottom-color;
|
232
|
-
transition-duration: 250ms;
|
233
|
-
transition-timing-function: ease;
|
234
|
-
padding-left: 10px;
|
235
|
-
padding-right: 10px;
|
236
|
-
|
237
|
-
&:hover,
|
238
|
-
&:focus {
|
239
|
-
cursor: pointer;
|
240
|
-
box-shadow: inset 0 -2.5em 0 var(--color-link);
|
241
|
-
border-bottom-color: var(--color-link-hover);
|
242
|
-
color: var(--color-details-lighter);
|
243
|
-
}
|
244
|
-
|
245
|
-
&:active {
|
246
|
-
box-shadow: inset 0 -2.5em 0 var(--color-link-hover);
|
247
|
-
}
|
248
|
-
}
|
1
|
+
/*
|
2
|
+
Resets
|
3
|
+
*/
|
4
|
+
|
5
|
+
body,
|
6
|
+
h1, h2, h3, h4, h5, h6,
|
7
|
+
p, blockquote, pre, hr,
|
8
|
+
dl, dd, ol, ul, figure {
|
9
|
+
margin: 0;
|
10
|
+
padding: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
/*
|
14
|
+
Basic styling
|
15
|
+
*/
|
16
|
+
|
17
|
+
html {
|
18
|
+
font-size: 16px;
|
19
|
+
}
|
20
|
+
|
21
|
+
body {
|
22
|
+
background-color: var(--color-body);
|
23
|
+
font-family: var(--font);
|
24
|
+
line-height: 1.5;
|
25
|
+
}
|
26
|
+
|
27
|
+
/*
|
28
|
+
Text Elements
|
29
|
+
*/
|
30
|
+
|
31
|
+
.content-body {
|
32
|
+
p, pre, blockquote,
|
33
|
+
dl, ul, ol,
|
34
|
+
figure, iframe, table,
|
35
|
+
.highlight {
|
36
|
+
margin-bottom: var(--gap);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
// Links
|
41
|
+
a {
|
42
|
+
color: var(--color-link);
|
43
|
+
text-decoration: none;
|
44
|
+
transition: color 250ms ease;
|
45
|
+
|
46
|
+
&:hover,
|
47
|
+
&:focus {
|
48
|
+
color: var(--color-link-hover);
|
49
|
+
text-decoration: underline;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
// Lists
|
54
|
+
ul, ol {
|
55
|
+
margin-left: var(--gap);
|
56
|
+
}
|
57
|
+
|
58
|
+
dl {
|
59
|
+
dt + dd {
|
60
|
+
margin-bottom: calc(var(--gap) / 2);
|
61
|
+
}
|
62
|
+
|
63
|
+
dt + dd + dt {
|
64
|
+
margin-top: calc(var(--gap) / 2);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
// Headings
|
69
|
+
h1, h2, h3, h4, h5, h6 {
|
70
|
+
line-height: 1.2;
|
71
|
+
font-family: var(--font-headings);
|
72
|
+
}
|
73
|
+
|
74
|
+
h1 {
|
75
|
+
font-size: 2rem;
|
76
|
+
}
|
77
|
+
|
78
|
+
h2 {
|
79
|
+
font-size: 1.5rem;
|
80
|
+
}
|
81
|
+
|
82
|
+
h3 {
|
83
|
+
font-size: 1.25rem;
|
84
|
+
}
|
85
|
+
|
86
|
+
h4 {
|
87
|
+
font-size: 1rem;
|
88
|
+
}
|
89
|
+
|
90
|
+
h5 {
|
91
|
+
font-size: 0.875rem;
|
92
|
+
}
|
93
|
+
|
94
|
+
h6 {
|
95
|
+
font-size: 0.75rem;
|
96
|
+
}
|
97
|
+
|
98
|
+
// Code
|
99
|
+
pre {
|
100
|
+
max-width: 100%;
|
101
|
+
overflow-x: auto;
|
102
|
+
}
|
103
|
+
|
104
|
+
// Media
|
105
|
+
img, iframe,
|
106
|
+
video, audio {
|
107
|
+
max-width: 100%;
|
108
|
+
border-radius: 3px;
|
109
|
+
box-shadow: 0 2px 5px var(--color-details);
|
110
|
+
}
|
111
|
+
|
112
|
+
// Tables
|
113
|
+
table {
|
114
|
+
border: 1px solid var(--color-details-lighter);
|
115
|
+
border-radius: 3px;
|
116
|
+
border-collapse: collapse;
|
117
|
+
color: var(--color-details-darker);
|
118
|
+
width: 100%;
|
119
|
+
|
120
|
+
th, td {
|
121
|
+
border-bottom: 1px solid var(--color-details-lighter);
|
122
|
+
padding: calc(var(--gap) / 4);
|
123
|
+
text-align: left;
|
124
|
+
}
|
125
|
+
|
126
|
+
th {
|
127
|
+
background: var(--color-details-lighter);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
// Quotes
|
132
|
+
|
133
|
+
blockquote {
|
134
|
+
border-left: 4px solid var(--color-details-lighter);
|
135
|
+
padding-left: calc(var(--gap) / 2);
|
136
|
+
padding-top: calc(var(--gap) / 4);
|
137
|
+
padding-bottom: calc(var(--gap) / 4);
|
138
|
+
font-style: italic;
|
139
|
+
color: var(--color-details-darker);
|
140
|
+
|
141
|
+
> :last-child {
|
142
|
+
margin-bottom: 0;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
// Horizontal rule
|
147
|
+
hr {
|
148
|
+
width: 250px;
|
149
|
+
height: 3px;
|
150
|
+
margin: calc(var(--gap) * 2) auto;
|
151
|
+
background-color: var(--color-details-lighter);
|
152
|
+
border: none;
|
153
|
+
border-radius: 3px;
|
154
|
+
}
|
155
|
+
|
156
|
+
// Forms
|
157
|
+
input[type="text"],
|
158
|
+
input[type="email"],
|
159
|
+
input[type="password"],
|
160
|
+
input[type="search"],
|
161
|
+
input[type="tel"],
|
162
|
+
input[type="number"],
|
163
|
+
input[type="color"],
|
164
|
+
input[type="button"],
|
165
|
+
input[type="reset"],
|
166
|
+
input[type="submit"],
|
167
|
+
textarea,
|
168
|
+
button {
|
169
|
+
-webkit-appearance: none;
|
170
|
+
-moz-appearance: none;
|
171
|
+
border: none;
|
172
|
+
border-radius: 0;
|
173
|
+
box-shadow: none;
|
174
|
+
background: var(--color-bg);
|
175
|
+
padding: 5px;
|
176
|
+
margin: 0;
|
177
|
+
font: inherit;
|
178
|
+
}
|
179
|
+
|
180
|
+
input[type="text"],
|
181
|
+
input[type="email"],
|
182
|
+
input[type="password"],
|
183
|
+
input[type="search"],
|
184
|
+
input[type="tel"],
|
185
|
+
input[type="number"],
|
186
|
+
input[type="color"],
|
187
|
+
textarea {
|
188
|
+
border-bottom: 3px dashed var(--color-details-lighter);
|
189
|
+
transition: border-bottom-color 250ms ease;
|
190
|
+
|
191
|
+
&:hover,
|
192
|
+
&:focus {
|
193
|
+
outline: none;
|
194
|
+
border-bottom-color: var(--color-link);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
input[type="button"],
|
199
|
+
input[type="reset"],
|
200
|
+
input[type="submit"],
|
201
|
+
button {
|
202
|
+
box-shadow: inset 0 0 0 var(--color-details-lighter);
|
203
|
+
border-bottom: 3px solid var(--color-details-lighter);
|
204
|
+
color: var(--color-link);
|
205
|
+
transition-property: color, box-shadow, border-bottom-color;
|
206
|
+
transition-duration: 250ms;
|
207
|
+
transition-timing-function: ease;
|
208
|
+
padding-left: 10px;
|
209
|
+
padding-right: 10px;
|
210
|
+
|
211
|
+
&:hover,
|
212
|
+
&:focus {
|
213
|
+
cursor: pointer;
|
214
|
+
box-shadow: inset 0 -2.5em 0 var(--color-link);
|
215
|
+
border-bottom-color: var(--color-link-hover);
|
216
|
+
color: var(--color-details-lighter);
|
217
|
+
}
|
218
|
+
|
219
|
+
&:active {
|
220
|
+
box-shadow: inset 0 -2.5em 0 var(--color-link-hover);
|
221
|
+
}
|
222
|
+
}
|