jekyll-theme-basically-basic 1.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 +19 -0
- data/LICENSE.md +21 -0
- data/README.md +582 -0
- data/_includes/author +31 -0
- data/_includes/contact-list.html +27 -0
- data/_includes/cv/awards.html +24 -0
- data/_includes/cv/basics.html +69 -0
- data/_includes/cv/education.html +36 -0
- data/_includes/cv/interests.html +20 -0
- data/_includes/cv/intro.html +18 -0
- data/_includes/cv/languages.html +20 -0
- data/_includes/cv/publications.html +30 -0
- data/_includes/cv/references.html +24 -0
- data/_includes/cv/skills.html +20 -0
- data/_includes/cv/volunteer.html +46 -0
- data/_includes/cv/work.html +46 -0
- data/_includes/disqus_comments.html +17 -0
- data/_includes/entry.html +29 -0
- data/_includes/footer.html +9 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head-feed.html +1 -0
- data/_includes/head-seo.html +1 -0
- data/_includes/head.html +35 -0
- data/_includes/icon-arrow-left.svg +1 -0
- data/_includes/icon-arrow-right.svg +1 -0
- data/_includes/icon-bitbucket.html +4 -0
- data/_includes/icon-bitbucket.svg +1 -0
- data/_includes/icon-calendar.svg +1 -0
- data/_includes/icon-codepen.html +4 -0
- data/_includes/icon-codepen.svg +1 -0
- data/_includes/icon-download.svg +1 -0
- data/_includes/icon-dribbble.html +4 -0
- data/_includes/icon-dribbble.svg +1 -0
- data/_includes/icon-email.svg +1 -0
- data/_includes/icon-facebook.html +4 -0
- data/_includes/icon-facebook.svg +1 -0
- data/_includes/icon-flickr.html +4 -0
- data/_includes/icon-flickr.svg +1 -0
- data/_includes/icon-github.html +4 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-gitlab.html +4 -0
- data/_includes/icon-gitlab.svg +1 -0
- data/_includes/icon-googleplus.html +4 -0
- data/_includes/icon-googleplus.svg +1 -0
- data/_includes/icon-instagram.html +4 -0
- data/_includes/icon-instagram.svg +1 -0
- data/_includes/icon-lastfm.html +4 -0
- data/_includes/icon-lastfm.svg +1 -0
- data/_includes/icon-linkedin.html +4 -0
- data/_includes/icon-linkedin.svg +1 -0
- data/_includes/icon-pdf.svg +1 -0
- data/_includes/icon-pinterest.html +4 -0
- data/_includes/icon-pinterest.svg +1 -0
- data/_includes/icon-rss.svg +1 -0
- data/_includes/icon-soundcloud.html +4 -0
- data/_includes/icon-soundcloud.svg +1 -0
- data/_includes/icon-stackoverflow.html +4 -0
- data/_includes/icon-stackoverflow.svg +1 -0
- data/_includes/icon-stopwatch.svg +1 -0
- data/_includes/icon-tumblr.html +4 -0
- data/_includes/icon-tumblr.svg +1 -0
- data/_includes/icon-twitter.html +4 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/icon-xing.html +4 -0
- data/_includes/icon-xing.svg +1 -0
- data/_includes/icon-youtube.html +4 -0
- data/_includes/icon-youtube.svg +1 -0
- data/_includes/masthead.html +27 -0
- data/_includes/navigation.html +25 -0
- data/_includes/page-intro.html +42 -0
- data/_includes/posts-all.html +3 -0
- data/_includes/posts-paginated.html +16 -0
- data/_includes/read-time.html +13 -0
- data/_includes/scripts.html +5 -0
- data/_includes/skip-links.html +8 -0
- data/_layouts/about.html +21 -0
- data/_layouts/cv.html +28 -0
- data/_layouts/default.html +38 -0
- data/_layouts/home.html +30 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +20 -0
- data/_sass/basically-basic.scss +37 -0
- data/_sass/basically-basic/_base.scss +110 -0
- data/_sass/basically-basic/_buttons.scss +39 -0
- data/_sass/basically-basic/_contact-lists.scss +11 -0
- data/_sass/basically-basic/_entries.scss +155 -0
- data/_sass/basically-basic/_footer.scss +13 -0
- data/_sass/basically-basic/_global.scss +36 -0
- data/_sass/basically-basic/_icons.scss +43 -0
- data/_sass/basically-basic/_intro.scss +65 -0
- data/_sass/basically-basic/_layout.scss +178 -0
- data/_sass/basically-basic/_mixins.scss +7 -0
- data/_sass/basically-basic/_navicons.scss +144 -0
- data/_sass/basically-basic/_navigation.scss +51 -0
- data/_sass/basically-basic/_reset.scss +522 -0
- data/_sass/basically-basic/_sidebar.scss +177 -0
- data/_sass/basically-basic/_syntax-highlighting.scss +127 -0
- data/_sass/basically-basic/_tables.scss +42 -0
- data/_sass/basically-basic/_utilities.scss +5 -0
- data/_sass/basically-basic/_variables.scss +84 -0
- data/_sass/basically-basic/mixins/_clearfix.scss +11 -0
- data/_sass/basically-basic/mixins/_color.scss +21 -0
- data/_sass/basically-basic/mixins/_float.scss +15 -0
- data/_sass/basically-basic/mixins/_fluid-type.scss +33 -0
- data/_sass/basically-basic/mixins/_image.scss +38 -0
- data/_sass/basically-basic/mixins/_lists.scss +9 -0
- data/_sass/basically-basic/mixins/_text-truncate.scss +10 -0
- data/_sass/basically-basic/themes/_default.scss +5 -0
- data/_sass/basically-basic/themes/_night.scss +12 -0
- data/_sass/basically-basic/themes/_plum.scss +12 -0
- data/_sass/basically-basic/themes/_sea.scss +12 -0
- data/_sass/basically-basic/themes/_soft.scss +12 -0
- data/_sass/basically-basic/themes/_steel.scss +12 -0
- data/_sass/basically-basic/utilities/_accessibility.scss +54 -0
- data/_sass/basically-basic/utilities/_align.scss +64 -0
- data/_sass/basically-basic/utilities/_clearfix.scss +7 -0
- data/_sass/basically-basic/utilities/_float.scss +7 -0
- data/_sass/basically-basic/utilities/_text.scss +28 -0
- data/_sass/basically-basic/vendor/_breakpoint.scss +114 -0
- data/_sass/basically-basic/vendor/_su.scss +4 -0
- data/_sass/basically-basic/vendor/_susy.scss +4 -0
- data/_sass/basically-basic/vendor/_susyone.scss +4 -0
- data/_sass/basically-basic/vendor/breakpoint/_context.scss +95 -0
- data/_sass/basically-basic/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/basically-basic/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/basically-basic/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/basically-basic/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/basically-basic/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/basically-basic/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/basically-basic/vendor/susy/_su.scss +7 -0
- data/_sass/basically-basic/vendor/susy/language/_susy.scss +24 -0
- data/_sass/basically-basic/vendor/susy/language/_susyone.scss +13 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_background.scss +385 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_bleed.scss +200 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_box-sizing.scss +47 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_breakpoint-plugin.scss +185 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_container.scss +81 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_context.scss +36 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_gallery.scss +94 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_grids.scss +64 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_gutters.scss +154 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_isolate.scss +77 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_margins.scss +94 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_padding.scss +74 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_rows.scss +138 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_settings.scss +216 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_span.scss +163 -0
- data/_sass/basically-basic/vendor/susy/language/susy/_validation.scss +16 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_background.scss +18 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_functions.scss +377 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_grid.scss +312 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_isolation.scss +51 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_margin.scss +93 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_media.scss +105 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_padding.scss +92 -0
- data/_sass/basically-basic/vendor/susy/language/susyone/_settings.scss +60 -0
- data/_sass/basically-basic/vendor/susy/output/_float.scss +9 -0
- data/_sass/basically-basic/vendor/susy/output/_shared.scss +15 -0
- data/_sass/basically-basic/vendor/susy/output/_support.scss +9 -0
- data/_sass/basically-basic/vendor/susy/output/float/_container.scss +16 -0
- data/_sass/basically-basic/vendor/susy/output/float/_end.scss +40 -0
- data/_sass/basically-basic/vendor/susy/output/float/_isolate.scss +22 -0
- data/_sass/basically-basic/vendor/susy/output/float/_span.scss +35 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_background.scss +26 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_container.scss +21 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_direction.scss +42 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_inspect.scss +25 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_margins.scss +23 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_output.scss +14 -0
- data/_sass/basically-basic/vendor/susy/output/shared/_padding.scss +23 -0
- data/_sass/basically-basic/vendor/susy/output/support/_background.scss +58 -0
- data/_sass/basically-basic/vendor/susy/output/support/_box-sizing.scss +19 -0
- data/_sass/basically-basic/vendor/susy/output/support/_clearfix.scss +18 -0
- data/_sass/basically-basic/vendor/susy/output/support/_prefix.scss +19 -0
- data/_sass/basically-basic/vendor/susy/output/support/_rem.scss +22 -0
- data/_sass/basically-basic/vendor/susy/output/support/_support.scss +85 -0
- data/_sass/basically-basic/vendor/susy/su/_grid.scss +103 -0
- data/_sass/basically-basic/vendor/susy/su/_settings.scss +73 -0
- data/_sass/basically-basic/vendor/susy/su/_utilities.scss +111 -0
- data/_sass/basically-basic/vendor/susy/su/_validation.scss +57 -0
- data/assets/javascripts/main.js +57 -0
- data/assets/stylesheets/main.scss +10 -0
- metadata +335 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Navigation
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.menu {
|
6
|
+
@include list-unstyled;
|
7
|
+
|
8
|
+
a {
|
9
|
+
color: inherit;
|
10
|
+
text-decoration: none;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
/*
|
15
|
+
Paginator
|
16
|
+
========================================================================== */
|
17
|
+
|
18
|
+
.pager {
|
19
|
+
@include clearfix();
|
20
|
+
margin-bottom: 2rem;
|
21
|
+
|
22
|
+
ul {
|
23
|
+
@include list-unstyled;
|
24
|
+
display: flex;
|
25
|
+
|
26
|
+
> li {
|
27
|
+
flex: 1;
|
28
|
+
justify-content: space-between;
|
29
|
+
-ms-flex-pack: justify;
|
30
|
+
}
|
31
|
+
|
32
|
+
li + li {
|
33
|
+
margin-left: 0.125em;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
display: block;
|
39
|
+
padding: 1em;
|
40
|
+
border-radius: $border-radius;
|
41
|
+
background-color: $accent-color;
|
42
|
+
color: #fff;
|
43
|
+
font-weight: bold;
|
44
|
+
text-align: center;
|
45
|
+
text-decoration: none;
|
46
|
+
|
47
|
+
&:hover {
|
48
|
+
background-color: tint($accent-color, 20%);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
@@ -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: 2em;
|
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: 1em; /* 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: 1em; /* 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: 0 1rem;
|
227
|
+
border-left: solid 0.25rem;
|
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
|
+
}
|