jekyll-theme-so-simple-libre 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +329 -0
- data/LICENSE +21 -0
- data/README.md +1148 -0
- data/_data/authors.yml +16 -0
- data/_data/navigation.yml +14 -0
- data/_data/text.yml +193 -0
- data/_includes/documents-collection.html +19 -0
- data/_includes/entry-date.html +6 -0
- data/_includes/entry.html +38 -0
- data/_includes/footer-custom.html +3 -0
- data/_includes/footer.html +24 -0
- data/_includes/head-custom.html +5 -0
- data/_includes/head-feed.html +1 -0
- data/_includes/head-seo.html +1 -0
- data/_includes/head.html +47 -0
- data/_includes/masthead.html +18 -0
- data/_includes/navigation.html +17 -0
- data/_includes/page-author.html +37 -0
- data/_includes/page-categories.html +15 -0
- data/_includes/page-date.html +4 -0
- data/_includes/page-image.html +14 -0
- data/_includes/page-pagination.html +19 -0
- data/_includes/page-tags.html +15 -0
- data/_includes/posts-all.html +3 -0
- data/_includes/posts-category.html +3 -0
- data/_includes/posts-limit.html +5 -0
- data/_includes/posts-paginated.html +74 -0
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +16 -0
- data/_includes/responsive-embed +16 -0
- data/_includes/skip-links.html +8 -0
- data/_includes/social-share.html +6 -0
- data/_includes/talkyard-comments-provider.html +10 -0
- data/_includes/toc +9 -0
- data/_layouts/categories.html +81 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/default.html +21 -0
- data/_layouts/home.html +17 -0
- data/_layouts/page.html +30 -0
- data/_layouts/post.html +41 -0
- data/_layouts/posts.html +29 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +81 -0
- data/_sass/so-simple.scss +31 -0
- data/_sass/so-simple/_author.scss +47 -0
- data/_sass/so-simple/_base.scss +106 -0
- data/_sass/so-simple/_buttons.scss +64 -0
- data/_sass/so-simple/_entries.scss +194 -0
- data/_sass/so-simple/_functions.scss +4 -0
- data/_sass/so-simple/_global.scss +353 -0
- data/_sass/so-simple/_icons.scss +43 -0
- data/_sass/so-simple/_mixins.scss +5 -0
- data/_sass/so-simple/_notices.scss +57 -0
- data/_sass/so-simple/_page.scss +286 -0
- data/_sass/so-simple/_reset.scss +522 -0
- data/_sass/so-simple/_skin.scss +552 -0
- data/_sass/so-simple/_syntax-highlighting.scss +68 -0
- data/_sass/so-simple/_tables.scss +34 -0
- data/_sass/so-simple/_utilities.scss +7 -0
- data/_sass/so-simple/_variables.scss +98 -0
- data/_sass/so-simple/functions/_color.scss +21 -0
- data/_sass/so-simple/functions/_em.scss +7 -0
- data/_sass/so-simple/functions/_fluid-type.scss +33 -0
- data/_sass/so-simple/functions/_yiq.scss +38 -0
- data/_sass/so-simple/mixins/_clearfix.scss +32 -0
- data/_sass/so-simple/mixins/_float.scss +15 -0
- data/_sass/so-simple/mixins/_image.scss +38 -0
- data/_sass/so-simple/mixins/_lists.scss +9 -0
- data/_sass/so-simple/mixins/_text-truncate.scss +10 -0
- data/_sass/so-simple/utilities/_accessibility.scss +42 -0
- data/_sass/so-simple/utilities/_align.scss +60 -0
- data/_sass/so-simple/utilities/_animations.scss +99 -0
- data/_sass/so-simple/utilities/_clearfix.scss +7 -0
- data/_sass/so-simple/utilities/_float.scss +7 -0
- data/_sass/so-simple/utilities/_responsive-embed.scss +66 -0
- data/_sass/so-simple/utilities/_text.scss +48 -0
- data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/so-simple/vendor/breakpoint/_context.scss +95 -0
- data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/so-simple/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/so-simple/vendor/lity/_lity.scss +221 -0
- data/assets/css/main.scss +8 -0
- data/assets/css/skins/dark.scss +43 -0
- data/assets/css/skins/default.scss +44 -0
- data/assets/css/skins/light.scss +44 -0
- metadata +262 -0
@@ -0,0 +1,286 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Page
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.page-wrapper {
|
6
|
+
margin: 0 auto;
|
7
|
+
padding-left: 1em;
|
8
|
+
padding-right: 1em;
|
9
|
+
max-width: $main-sidebar-max-width;
|
10
|
+
}
|
11
|
+
|
12
|
+
.page-title {
|
13
|
+
@include fluid-type($min-vw, $max-vw, 48px, 60px);
|
14
|
+
margin-bottom: 0.5em;
|
15
|
+
font-family: $title-font-family;
|
16
|
+
font-weight: $page-title-weight;
|
17
|
+
font-style: italic;
|
18
|
+
letter-spacing: -2px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.page-image {
|
22
|
+
position: relative;
|
23
|
+
text-align: center;
|
24
|
+
margin-top: (-1 * $site-logo-height) / 2;
|
25
|
+
margin-bottom: 2em;
|
26
|
+
z-index: 1;
|
27
|
+
|
28
|
+
@include breakpoint($medium) {
|
29
|
+
margin-top: (-1.5 * $site-logo-height) / 2;
|
30
|
+
}
|
31
|
+
|
32
|
+
@include breakpoint($large) {
|
33
|
+
margin-top: (-2 * $site-logo-height) / 2;
|
34
|
+
}
|
35
|
+
|
36
|
+
img {
|
37
|
+
width: 100%;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.page-image-caption {
|
42
|
+
position: absolute;
|
43
|
+
bottom: 0;
|
44
|
+
right: 0;
|
45
|
+
margin: 0 auto;
|
46
|
+
padding: 0.25em 0.5em;
|
47
|
+
color: #fff;
|
48
|
+
font-size: 0.75rem;
|
49
|
+
background: #000;
|
50
|
+
text-align: right;
|
51
|
+
z-index: 5;
|
52
|
+
opacity: 0.5;
|
53
|
+
border-radius: 4px 0 0 0;
|
54
|
+
|
55
|
+
> * {
|
56
|
+
margin: 0;
|
57
|
+
padding: 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
a {
|
61
|
+
color: #fff;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.page-sidebar {
|
66
|
+
font-size: 0.75rem;
|
67
|
+
|
68
|
+
@include breakpoint($large) {
|
69
|
+
text-align: center;
|
70
|
+
}
|
71
|
+
|
72
|
+
.page-date,
|
73
|
+
.read-time {
|
74
|
+
font-family: $meta-font-family;
|
75
|
+
font-style: italic;
|
76
|
+
white-space: nowrap;
|
77
|
+
}
|
78
|
+
|
79
|
+
.read-time {
|
80
|
+
@include breakpoint($large) {
|
81
|
+
display: block;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.read-time + .page-date::before {
|
86
|
+
content: "\2022";
|
87
|
+
padding: 0 0.5em;
|
88
|
+
|
89
|
+
@include breakpoint($large) {
|
90
|
+
content: "";
|
91
|
+
padding: 0;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
.page-author {
|
97
|
+
@include clearfix;
|
98
|
+
display: -webkit-box;
|
99
|
+
display: -ms-flexbox;
|
100
|
+
display: flex;
|
101
|
+
-webkit-box-align: center;
|
102
|
+
-ms-flex-align: center;
|
103
|
+
align-items: center;
|
104
|
+
margin-bottom: 1em;
|
105
|
+
|
106
|
+
@include breakpoint($large) {
|
107
|
+
display: block;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
.page-taxonomies-title {
|
112
|
+
display: inline;
|
113
|
+
padding-right: 0.5em;
|
114
|
+
font-size: 1rem;
|
115
|
+
font-weight: normal;
|
116
|
+
text-transform: uppercase;
|
117
|
+
|
118
|
+
@include breakpoint($large) {
|
119
|
+
display: inline-block;
|
120
|
+
margin: 1.5em 0 0.5em;
|
121
|
+
padding: 0;
|
122
|
+
font-size: 0.75rem;
|
123
|
+
font-weight: normal;
|
124
|
+
text-transform: uppercase;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.page-taxonomies {
|
129
|
+
display: inline;
|
130
|
+
margin-right: 1em;
|
131
|
+
padding: 0;
|
132
|
+
list-style: none;
|
133
|
+
|
134
|
+
@include breakpoint($large) {
|
135
|
+
display: block;
|
136
|
+
margin: 0 0 1.5em 0;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.page-taxonomy {
|
141
|
+
display: inline;
|
142
|
+
|
143
|
+
&:not(:last-child)::after {
|
144
|
+
content: ", ";
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
.page-share {
|
149
|
+
margin-top: 2em;
|
150
|
+
margin-bottom: 2em;
|
151
|
+
}
|
152
|
+
|
153
|
+
.page-comments {
|
154
|
+
margin-bottom: 2em;
|
155
|
+
}
|
156
|
+
|
157
|
+
.page-pagination {
|
158
|
+
margin: 2em 0 1em;
|
159
|
+
clear: both;
|
160
|
+
|
161
|
+
@include breakpoint($large) {
|
162
|
+
display: -webkit-box;
|
163
|
+
display: -ms-flexbox;
|
164
|
+
display: flex;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.page-previous,
|
169
|
+
.page-next {
|
170
|
+
display: block;
|
171
|
+
-webkit-box-flex: 1;
|
172
|
+
-ms-flex: 1;
|
173
|
+
flex: 1;
|
174
|
+
text-decoration: none;
|
175
|
+
}
|
176
|
+
|
177
|
+
.page-next {
|
178
|
+
margin-top: 1em;
|
179
|
+
|
180
|
+
@include breakpoint($large) {
|
181
|
+
margin-top: 0;
|
182
|
+
text-align: right;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
.page-pagination-label {
|
187
|
+
margin: 0;
|
188
|
+
padding: 0;
|
189
|
+
font-size: 1rem;
|
190
|
+
}
|
191
|
+
|
192
|
+
.page-pagination-title {
|
193
|
+
margin: 0;
|
194
|
+
padding: 0;
|
195
|
+
font-family: $meta-font-family;
|
196
|
+
font-size: 0.9rem;
|
197
|
+
font-style: italic;
|
198
|
+
}
|
199
|
+
|
200
|
+
/*
|
201
|
+
Wide Layout Overrides
|
202
|
+
========================================================================== */
|
203
|
+
|
204
|
+
.layout--home,
|
205
|
+
.layout--posts,
|
206
|
+
.layout--categories,
|
207
|
+
.layout--tags,
|
208
|
+
.layout--category,
|
209
|
+
.layout--tag,
|
210
|
+
.layout--collection,
|
211
|
+
.layout--search {
|
212
|
+
.page-wrapper {
|
213
|
+
max-width: $main-max-width;
|
214
|
+
}
|
215
|
+
|
216
|
+
.page-title {
|
217
|
+
text-align: center;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
.layout--post {
|
222
|
+
.page-wrapper {
|
223
|
+
@include breakpoint($large) {
|
224
|
+
display: grid;
|
225
|
+
grid-column-gap: 3em;
|
226
|
+
grid-row-gap: 0;
|
227
|
+
grid-template-columns: 175px 1fr;
|
228
|
+
-webkit-box-pack: justify;
|
229
|
+
-ms-flex-pack: justify;
|
230
|
+
justify-content: space-between;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
.page-header {
|
235
|
+
@include breakpoint($large) {
|
236
|
+
grid-column: 1 / -1;
|
237
|
+
clear: both; // needed for floated layout
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
.page-sidebar {
|
242
|
+
margin-bottom: 1em;
|
243
|
+
|
244
|
+
@include breakpoint($large) {
|
245
|
+
float: left; // display: grid fallback
|
246
|
+
width: 18%; // display: grid fallback
|
247
|
+
}
|
248
|
+
|
249
|
+
@supports (display: grid) {
|
250
|
+
width: auto;
|
251
|
+
}
|
252
|
+
|
253
|
+
a {
|
254
|
+
color: inherit;
|
255
|
+
text-decoration: none;
|
256
|
+
|
257
|
+
&:hover {
|
258
|
+
text-decoration: underline;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
.page-content {
|
264
|
+
@include breakpoint($large) {
|
265
|
+
float: right; // display: grid fallback
|
266
|
+
width: 78%; // display: grid fallback
|
267
|
+
min-width: 0;
|
268
|
+
}
|
269
|
+
|
270
|
+
@supports (display: grid) {
|
271
|
+
width: auto;
|
272
|
+
margin: 0;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
.page-share {
|
277
|
+
// display: grid fallback
|
278
|
+
clear: both;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
.page--wide {
|
283
|
+
.page-wrapper {
|
284
|
+
max-width: $main-sidebar-max-width;
|
285
|
+
}
|
286
|
+
}
|
@@ -0,0 +1,522 @@
|
|
1
|
+
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Change the default font family in all browsers (opinionated).
|
5
|
+
* 2. Prevent adjustments of font size after orientation changes in
|
6
|
+
* IE on Windows Phone and in iOS.
|
7
|
+
*/
|
8
|
+
|
9
|
+
/* Document
|
10
|
+
========================================================================== */
|
11
|
+
|
12
|
+
html {
|
13
|
+
font-family: $base-font-family; /* 1 */
|
14
|
+
box-sizing: border-box;
|
15
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
16
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
17
|
+
}
|
18
|
+
|
19
|
+
*,
|
20
|
+
*::before,
|
21
|
+
*::after {
|
22
|
+
box-sizing: inherit;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Sections
|
26
|
+
========================================================================== */
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Remove the margin in all browsers (opinionated).
|
30
|
+
*/
|
31
|
+
|
32
|
+
body {
|
33
|
+
margin: 0;
|
34
|
+
line-height: 1.5;
|
35
|
+
}
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Add the correct display in IE 9-.
|
39
|
+
*/
|
40
|
+
|
41
|
+
article,
|
42
|
+
aside,
|
43
|
+
footer,
|
44
|
+
header,
|
45
|
+
nav,
|
46
|
+
section {
|
47
|
+
display: block;
|
48
|
+
}
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Remove margin padding.
|
52
|
+
*
|
53
|
+
*/
|
54
|
+
|
55
|
+
h1,
|
56
|
+
h2,
|
57
|
+
h3,
|
58
|
+
h4,
|
59
|
+
h5,
|
60
|
+
h6,
|
61
|
+
p,
|
62
|
+
pre,
|
63
|
+
blockquote,
|
64
|
+
dl,
|
65
|
+
table,
|
66
|
+
address {
|
67
|
+
margin-top: 0;
|
68
|
+
margin-bottom: 1.5rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
73
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
74
|
+
*/
|
75
|
+
|
76
|
+
h1 {
|
77
|
+
font-size: 2rem;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Adjust heading line-height
|
82
|
+
*
|
83
|
+
*/
|
84
|
+
|
85
|
+
h1,
|
86
|
+
h2,
|
87
|
+
h3,
|
88
|
+
h4 {
|
89
|
+
line-height: 1.2;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Grouping content
|
93
|
+
========================================================================== */
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Add the correct display in IE 9-.
|
97
|
+
* 1. Add the correct display in IE.
|
98
|
+
*/
|
99
|
+
|
100
|
+
figcaption,
|
101
|
+
figure,
|
102
|
+
main { /* 1 */
|
103
|
+
display: block;
|
104
|
+
}
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Reset the margins.
|
108
|
+
*/
|
109
|
+
|
110
|
+
figure {
|
111
|
+
margin: 1rem 0 1.5rem;
|
112
|
+
}
|
113
|
+
|
114
|
+
/**
|
115
|
+
* 1. Add the correct box sizing in Firefox.
|
116
|
+
* 2. Show the overflow in Edge and IE.
|
117
|
+
*/
|
118
|
+
|
119
|
+
hr {
|
120
|
+
height: 0; /* 1 */
|
121
|
+
overflow: visible; /* 2 */
|
122
|
+
box-sizing: content-box; /* 1 */
|
123
|
+
}
|
124
|
+
|
125
|
+
/**
|
126
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
127
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
128
|
+
* 3. Add scrollbars to wide code blocks.
|
129
|
+
*/
|
130
|
+
|
131
|
+
pre {
|
132
|
+
font-family: monospace, monospace; /* 1 */
|
133
|
+
font-size: 1rem; /* 2 */
|
134
|
+
overflow-x: auto; /* 3 */
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Text-level semantics
|
138
|
+
========================================================================== */
|
139
|
+
|
140
|
+
/**
|
141
|
+
* 1. Remove the gray background on active links in IE 10.
|
142
|
+
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
143
|
+
*/
|
144
|
+
|
145
|
+
a {
|
146
|
+
background-color: transparent; /* 1 */
|
147
|
+
-webkit-text-decoration-skip: objects; /* 2 */
|
148
|
+
}
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Remove the outline on focused links when they are also active or hovered
|
152
|
+
* in all browsers (opinionated).
|
153
|
+
*/
|
154
|
+
|
155
|
+
a:active,
|
156
|
+
a:hover {
|
157
|
+
outline-width: 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
/**
|
161
|
+
* 1. Remove the bottom border in Firefox 39-.
|
162
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
163
|
+
*/
|
164
|
+
|
165
|
+
abbr[title] {
|
166
|
+
border-bottom: none; /* 1 */
|
167
|
+
text-decoration: underline; /* 2 */
|
168
|
+
text-decoration: underline dotted; /* 2 */
|
169
|
+
}
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
173
|
+
*/
|
174
|
+
|
175
|
+
b,
|
176
|
+
strong {
|
177
|
+
font-weight: inherit;
|
178
|
+
font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari. */
|
179
|
+
}
|
180
|
+
|
181
|
+
/**
|
182
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
183
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
184
|
+
*/
|
185
|
+
|
186
|
+
code,
|
187
|
+
kbd,
|
188
|
+
samp {
|
189
|
+
font-family: monospace, monospace; /* 1 */
|
190
|
+
font-size: 1rem; /* 2 */
|
191
|
+
}
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Add the correct font style in Android 4.3-.
|
195
|
+
*/
|
196
|
+
|
197
|
+
dfn {
|
198
|
+
font-style: italic;
|
199
|
+
}
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Add the correct background and color in IE 9-.
|
203
|
+
*/
|
204
|
+
|
205
|
+
mark {
|
206
|
+
background-color: #ff0;
|
207
|
+
color: #000;
|
208
|
+
}
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Add the correct font size in all browsers.
|
212
|
+
*/
|
213
|
+
|
214
|
+
small {
|
215
|
+
font-size: 80%;
|
216
|
+
}
|
217
|
+
|
218
|
+
/**
|
219
|
+
* Change the margin and padding and add a line rule on the left-side in all
|
220
|
+
* browsers (opinionated).
|
221
|
+
*/
|
222
|
+
|
223
|
+
blockquote {
|
224
|
+
margin-right: 0;
|
225
|
+
margin-left: 0;
|
226
|
+
padding: 2em 3em;
|
227
|
+
border-left: solid 0.5em;
|
228
|
+
|
229
|
+
*:last-child {
|
230
|
+
margin-bottom: 0;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
/**
|
235
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
236
|
+
* all browsers.
|
237
|
+
*/
|
238
|
+
|
239
|
+
sub,
|
240
|
+
sup {
|
241
|
+
position: relative;
|
242
|
+
font-size: 75%;
|
243
|
+
line-height: 0;
|
244
|
+
vertical-align: baseline;
|
245
|
+
}
|
246
|
+
|
247
|
+
sub {
|
248
|
+
bottom: -0.25em;
|
249
|
+
}
|
250
|
+
|
251
|
+
sup {
|
252
|
+
top: -0.5em;
|
253
|
+
}
|
254
|
+
|
255
|
+
/**
|
256
|
+
* Remove margin
|
257
|
+
*/
|
258
|
+
|
259
|
+
ul,
|
260
|
+
ol {
|
261
|
+
margin-top: 0;
|
262
|
+
}
|
263
|
+
|
264
|
+
/* Embedded content
|
265
|
+
========================================================================== */
|
266
|
+
|
267
|
+
/**
|
268
|
+
* Add the correct display in IE 9-.
|
269
|
+
*/
|
270
|
+
|
271
|
+
audio,
|
272
|
+
video {
|
273
|
+
display: inline-block;
|
274
|
+
}
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Add the correct display in iOS 4-7.
|
278
|
+
*/
|
279
|
+
|
280
|
+
audio:not([controls]) {
|
281
|
+
display: none;
|
282
|
+
height: 0;
|
283
|
+
}
|
284
|
+
|
285
|
+
img {
|
286
|
+
/* Responsive images (ensure images don't scale beyond their parents) */
|
287
|
+
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
|
288
|
+
width: auto\9; /* IE7-8 need help adjusting responsive images*/
|
289
|
+
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
|
290
|
+
|
291
|
+
border-style: none; /* Remove the border on images inside links in IE 10-.*/
|
292
|
+
|
293
|
+
vertical-align: middle;
|
294
|
+
-ms-interpolation-mode: bicubic;
|
295
|
+
}
|
296
|
+
|
297
|
+
/**
|
298
|
+
* Hide the overflow in IE.
|
299
|
+
*/
|
300
|
+
|
301
|
+
svg:not(:root) {
|
302
|
+
overflow: hidden;
|
303
|
+
}
|
304
|
+
|
305
|
+
/* Forms
|
306
|
+
========================================================================== */
|
307
|
+
|
308
|
+
/**
|
309
|
+
* 1. Change the font styles in all browsers (opinionated).
|
310
|
+
* 2. Remove the margin in Firefox and Safari.
|
311
|
+
*/
|
312
|
+
|
313
|
+
button,
|
314
|
+
input,
|
315
|
+
optgroup,
|
316
|
+
select,
|
317
|
+
textarea {
|
318
|
+
margin: 0; /* 2 */
|
319
|
+
font-family: $base-font-family; /* 1 */
|
320
|
+
font-size: 100%; /* 1 */
|
321
|
+
line-height: 1.15; /* 1 */
|
322
|
+
}
|
323
|
+
|
324
|
+
/**
|
325
|
+
* Show the overflow in IE.
|
326
|
+
* 1. Show the overflow in Edge.
|
327
|
+
*/
|
328
|
+
|
329
|
+
button,
|
330
|
+
input { /* 1 */
|
331
|
+
overflow: visible;
|
332
|
+
}
|
333
|
+
|
334
|
+
/**
|
335
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
336
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
337
|
+
*/
|
338
|
+
|
339
|
+
button,
|
340
|
+
select { /* 1 */
|
341
|
+
text-transform: none;
|
342
|
+
}
|
343
|
+
|
344
|
+
/**
|
345
|
+
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
346
|
+
* controls in Android 4.
|
347
|
+
* 2. Correct the inability to style clickable types in iOS and Safari.
|
348
|
+
*/
|
349
|
+
|
350
|
+
button,
|
351
|
+
html [type="button"], /* 1 */
|
352
|
+
[type="reset"],
|
353
|
+
[type="submit"] {
|
354
|
+
-webkit-appearance: button; /* 2 */
|
355
|
+
}
|
356
|
+
|
357
|
+
/**
|
358
|
+
* Remove the inner border and padding in Firefox.
|
359
|
+
*/
|
360
|
+
|
361
|
+
button::-moz-focus-inner,
|
362
|
+
[type="button"]::-moz-focus-inner,
|
363
|
+
[type="reset"]::-moz-focus-inner,
|
364
|
+
[type="submit"]::-moz-focus-inner {
|
365
|
+
padding: 0;
|
366
|
+
border-style: none;
|
367
|
+
}
|
368
|
+
|
369
|
+
/**
|
370
|
+
* Restore the focus styles unset by the previous rule.
|
371
|
+
*/
|
372
|
+
|
373
|
+
button:-moz-focusring,
|
374
|
+
[type="button"]:-moz-focusring,
|
375
|
+
[type="reset"]:-moz-focusring,
|
376
|
+
[type="submit"]:-moz-focusring {
|
377
|
+
outline: 1px dotted ButtonText;
|
378
|
+
}
|
379
|
+
|
380
|
+
/**
|
381
|
+
* Change the border, margin, and padding in all browsers (opinionated).
|
382
|
+
*/
|
383
|
+
|
384
|
+
fieldset {
|
385
|
+
margin: 0 2px;
|
386
|
+
padding: 0.35em 0.625em 0.75em;
|
387
|
+
border: 1px solid #c0c0c0;
|
388
|
+
}
|
389
|
+
|
390
|
+
/**
|
391
|
+
* 1. Correct the text wrapping in Edge and IE.
|
392
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
393
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
394
|
+
* `fieldset` elements in all browsers.
|
395
|
+
*/
|
396
|
+
|
397
|
+
legend {
|
398
|
+
display: table; /* 1 */
|
399
|
+
max-width: 100%; /* 1 */
|
400
|
+
padding: 0; /* 3 */
|
401
|
+
color: inherit; /* 2 */
|
402
|
+
white-space: normal; /* 1 */
|
403
|
+
box-sizing: border-box; /* 1 */
|
404
|
+
}
|
405
|
+
|
406
|
+
/**
|
407
|
+
* 1. Add the correct display in IE 9-.
|
408
|
+
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
409
|
+
*/
|
410
|
+
|
411
|
+
progress {
|
412
|
+
display: inline-block; /* 1 */
|
413
|
+
vertical-align: baseline; /* 2 */
|
414
|
+
}
|
415
|
+
|
416
|
+
/**
|
417
|
+
* Remove the default vertical scrollbar in IE.
|
418
|
+
*/
|
419
|
+
|
420
|
+
textarea {
|
421
|
+
overflow: auto;
|
422
|
+
}
|
423
|
+
|
424
|
+
/**
|
425
|
+
* 1. Add the correct box sizing in IE 10-.
|
426
|
+
* 2. Remove the padding in IE 10-.
|
427
|
+
*/
|
428
|
+
|
429
|
+
[type="checkbox"],
|
430
|
+
[type="radio"] {
|
431
|
+
padding: 0; /* 2 */
|
432
|
+
box-sizing: border-box; /* 1 */
|
433
|
+
}
|
434
|
+
|
435
|
+
/**
|
436
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
437
|
+
*/
|
438
|
+
|
439
|
+
[type="number"]::-webkit-inner-spin-button,
|
440
|
+
[type="number"]::-webkit-outer-spin-button {
|
441
|
+
height: auto;
|
442
|
+
}
|
443
|
+
|
444
|
+
/**
|
445
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
446
|
+
* 2. Correct the outline style in Safari.
|
447
|
+
*/
|
448
|
+
|
449
|
+
[type="search"] {
|
450
|
+
outline-offset: -2px; /* 2 */
|
451
|
+
-webkit-appearance: textfield; /* 1 */
|
452
|
+
}
|
453
|
+
|
454
|
+
/**
|
455
|
+
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
456
|
+
*/
|
457
|
+
|
458
|
+
[type="search"]::-webkit-search-cancel-button,
|
459
|
+
[type="search"]::-webkit-search-decoration {
|
460
|
+
-webkit-appearance: none;
|
461
|
+
}
|
462
|
+
|
463
|
+
/**
|
464
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
465
|
+
* 2. Change font properties to `inherit` in Safari.
|
466
|
+
*/
|
467
|
+
|
468
|
+
::-webkit-file-upload-button {
|
469
|
+
font: inherit; /* 2 */
|
470
|
+
-webkit-appearance: button; /* 1 */
|
471
|
+
}
|
472
|
+
|
473
|
+
/* Interactive
|
474
|
+
========================================================================== */
|
475
|
+
|
476
|
+
/*
|
477
|
+
* Add the correct display in IE 9-.
|
478
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
479
|
+
*/
|
480
|
+
|
481
|
+
details, /* 1 */
|
482
|
+
menu {
|
483
|
+
display: block;
|
484
|
+
}
|
485
|
+
|
486
|
+
/*
|
487
|
+
* Add the correct display in all browsers.
|
488
|
+
*/
|
489
|
+
|
490
|
+
summary {
|
491
|
+
display: list-item;
|
492
|
+
}
|
493
|
+
|
494
|
+
/* Scripting
|
495
|
+
========================================================================== */
|
496
|
+
|
497
|
+
/**
|
498
|
+
* Add the correct display in IE 9-.
|
499
|
+
*/
|
500
|
+
|
501
|
+
canvas {
|
502
|
+
display: inline-block;
|
503
|
+
}
|
504
|
+
|
505
|
+
/**
|
506
|
+
* Add the correct display in IE.
|
507
|
+
*/
|
508
|
+
|
509
|
+
template {
|
510
|
+
display: none;
|
511
|
+
}
|
512
|
+
|
513
|
+
/* Hidden
|
514
|
+
========================================================================== */
|
515
|
+
|
516
|
+
/**
|
517
|
+
* Add the correct display in IE 10-.
|
518
|
+
*/
|
519
|
+
|
520
|
+
[hidden] {
|
521
|
+
display: none;
|
522
|
+
}
|