steve-for-jekyll 1.0.2 → 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.
@@ -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";
@@ -1,222 +1,222 @@
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
- }
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
+ }