notee 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/notee/application.js +23756 -834
- data/app/assets/stylesheets/notee/lighttaste.css +446 -0
- data/app/assets/stylesheets/notee/normalize.css +427 -0
- data/lib/notee/engine.rb +1 -4
- data/lib/notee/version.rb +1 -1
- metadata +3 -4
- data/app/assets/stylesheets/notee/images.css +0 -4
- data/app/assets/stylesheets/notee/posts.css +0 -4
- data/app/assets/stylesheets/scaffold.css +0 -56
@@ -0,0 +1,446 @@
|
|
1
|
+
/*
|
2
|
+
* LightTaste V1.0.0
|
3
|
+
* Copyright 2016, Takuji Funao
|
4
|
+
* https://github.com/maru-3/LightTaste
|
5
|
+
* Free to use under the MIT license.
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
* 05/02/2016
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
* Skeleton V2.0.4
|
12
|
+
* Copyright 2014, Dave Gamache
|
13
|
+
* www.getskeleton.com
|
14
|
+
* Free to use under the MIT license.
|
15
|
+
* http://www.opensource.org/licenses/mit-license.php
|
16
|
+
* 12/29/2014
|
17
|
+
*/
|
18
|
+
|
19
|
+
|
20
|
+
/* Table of contents
|
21
|
+
––––––––––––––––––––––––––––––––––––––––––––––––––
|
22
|
+
- Layouts
|
23
|
+
- Position
|
24
|
+
- Forms
|
25
|
+
- Links
|
26
|
+
- Buttons
|
27
|
+
- Lists
|
28
|
+
- Margins
|
29
|
+
- Paddings
|
30
|
+
- Fonts
|
31
|
+
*/
|
32
|
+
|
33
|
+
|
34
|
+
/* Layouts
|
35
|
+
-------------------------------------------------- */
|
36
|
+
|
37
|
+
.grid_start {
|
38
|
+
width: 100%;
|
39
|
+
float: left;
|
40
|
+
}
|
41
|
+
|
42
|
+
.grid, .five {
|
43
|
+
width: 100%;
|
44
|
+
float: left;
|
45
|
+
}
|
46
|
+
|
47
|
+
.five.grid { width: 5%; }
|
48
|
+
.ten.grid { width: 10%; }
|
49
|
+
.ten.five.grid { width: 15%; }
|
50
|
+
.twenty.grid { width: 20%; }
|
51
|
+
.twenty.five.grid { width: 25%; }
|
52
|
+
.thirty.grid { width: 30%; }
|
53
|
+
.thirty.five.grid { width: 35%; }
|
54
|
+
.fourty.grid { width: 40%; }
|
55
|
+
.fourty.five.grid { width: 45%; }
|
56
|
+
.fifty.grid { width: 50%; }
|
57
|
+
.fifty.five.grid { width: 55%; }
|
58
|
+
.sixty.grid { width: 60%; }
|
59
|
+
.sixty.five.grid { width: 65%; }
|
60
|
+
.seventy.grid { width: 70%; }
|
61
|
+
.seventy.five.grid { width: 75%; }
|
62
|
+
.eighty.grid { width: 80%; }
|
63
|
+
.eighty.five.grid { width: 85%; }
|
64
|
+
.ninety.grid { width: 90%; }
|
65
|
+
.ninety.five.grid { width: 95%; }
|
66
|
+
.full.grid { width: 100%; }
|
67
|
+
|
68
|
+
.offset_by_five { margin-left: 5%; }
|
69
|
+
.offset_by_ten { margin-left: 10%; }
|
70
|
+
.offset_by_ten_five { margin-left: 15%; }
|
71
|
+
.offset_by_twenty { margin-left: 20%; }
|
72
|
+
.offset_by_twenty_five { margin-left: 25%; }
|
73
|
+
.offset_by_thirty { margin-left: 30%; }
|
74
|
+
.offset_by_thirty_five { margin-left: 35%; }
|
75
|
+
.offset_by_fourty { margin-left: 40%; }
|
76
|
+
.offset_by_fourty_five { margin-left: 45%; }
|
77
|
+
.offset_by_fifty { margin-left: 50%; }
|
78
|
+
.offset_by_fifty_five { margin-left: 55%; }
|
79
|
+
.offset_by_sixty { margin-left: 60%; }
|
80
|
+
.offset_by_sixty_five { margin-left: 65%; }
|
81
|
+
.offset_by_seventy { margin-left: 70%; }
|
82
|
+
.offset_by_seventy_five { margin-left: 75%; }
|
83
|
+
.offset_by_eighty { margin-left: 80%; }
|
84
|
+
.offset_by_eighty_five { margin-left: 85%; }
|
85
|
+
.offset_by_ninety { margin-left: 90%; }
|
86
|
+
.offset_by_ninety_five { margin-left: 95%; }
|
87
|
+
|
88
|
+
|
89
|
+
/* Position
|
90
|
+
-------------------------------------------------- */
|
91
|
+
|
92
|
+
.centering { margin: 0 auto; }
|
93
|
+
.righting { float: left }
|
94
|
+
.lefting { float: right }
|
95
|
+
|
96
|
+
.tx_centering { text-align: center }
|
97
|
+
.tx_righting { text-align: right }
|
98
|
+
.tx_lefting { text-align: left }
|
99
|
+
|
100
|
+
|
101
|
+
/* Forms
|
102
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
103
|
+
|
104
|
+
input[type="email"],
|
105
|
+
input[type="number"],
|
106
|
+
input[type="search"],
|
107
|
+
input[type="text"],
|
108
|
+
input[type="tel"],
|
109
|
+
input[type="url"],
|
110
|
+
input[type="password"],
|
111
|
+
textarea,
|
112
|
+
select {
|
113
|
+
height: 38px;
|
114
|
+
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
|
115
|
+
background-color: #fff;
|
116
|
+
border: 1px solid #D1D1D1;
|
117
|
+
border-radius: 4px;
|
118
|
+
box-shadow: none;
|
119
|
+
box-sizing: border-box; }
|
120
|
+
/* Removes awkward default styles on some inputs for iOS */
|
121
|
+
input[type="email"],
|
122
|
+
input[type="number"],
|
123
|
+
input[type="search"],
|
124
|
+
input[type="text"],
|
125
|
+
input[type="tel"],
|
126
|
+
input[type="url"],
|
127
|
+
input[type="password"],
|
128
|
+
textarea {
|
129
|
+
-webkit-appearance: none;
|
130
|
+
-moz-appearance: none;
|
131
|
+
appearance: none; }
|
132
|
+
textarea {
|
133
|
+
min-height: 65px;
|
134
|
+
padding-top: 6px;
|
135
|
+
padding-bottom: 6px; }
|
136
|
+
input[type="email"]:focus,
|
137
|
+
input[type="number"]:focus,
|
138
|
+
input[type="search"]:focus,
|
139
|
+
input[type="text"]:focus,
|
140
|
+
input[type="tel"]:focus,
|
141
|
+
input[type="url"]:focus,
|
142
|
+
input[type="password"]:focus,
|
143
|
+
textarea:focus,
|
144
|
+
select:focus {
|
145
|
+
border: 1px solid #33C3F0;
|
146
|
+
outline: 0; }
|
147
|
+
label,
|
148
|
+
legend {
|
149
|
+
display: block;
|
150
|
+
margin-bottom: .5rem;
|
151
|
+
font-weight: 600; }
|
152
|
+
fieldset {
|
153
|
+
padding: 0;
|
154
|
+
border-width: 0; }
|
155
|
+
input[type="checkbox"],
|
156
|
+
input[type="radio"] {
|
157
|
+
display: inline; }
|
158
|
+
label > .label-body {
|
159
|
+
display: inline-block;
|
160
|
+
margin-left: .5rem;
|
161
|
+
font-weight: normal; }
|
162
|
+
|
163
|
+
|
164
|
+
/* Links
|
165
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
166
|
+
|
167
|
+
a {
|
168
|
+
color: #1EAEDB;
|
169
|
+
text-decoration: none;
|
170
|
+
}
|
171
|
+
a:hover { color: #0FA0CE; }
|
172
|
+
|
173
|
+
|
174
|
+
/* Buttons
|
175
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
176
|
+
|
177
|
+
.button,
|
178
|
+
button,
|
179
|
+
input[type="submit"],
|
180
|
+
input[type="reset"],
|
181
|
+
input[type="button"] {
|
182
|
+
display: inline-block;
|
183
|
+
height: 38px;
|
184
|
+
padding: 0 30px;
|
185
|
+
color: #555;
|
186
|
+
text-align: center;
|
187
|
+
font-size: 11px;
|
188
|
+
font-weight: 600;
|
189
|
+
line-height: 38px;
|
190
|
+
letter-spacing: .1rem;
|
191
|
+
text-transform: uppercase;
|
192
|
+
text-decoration: none;
|
193
|
+
white-space: nowrap;
|
194
|
+
background-color: transparent;
|
195
|
+
border-radius: 4px;
|
196
|
+
border: 1px solid #bbb;
|
197
|
+
cursor: pointer;
|
198
|
+
box-sizing: border-box; }
|
199
|
+
.button:hover,
|
200
|
+
button:hover,
|
201
|
+
input[type="submit"]:hover,
|
202
|
+
input[type="reset"]:hover,
|
203
|
+
input[type="button"]:hover,
|
204
|
+
.button:focus,
|
205
|
+
button:focus,
|
206
|
+
input[type="submit"]:focus,
|
207
|
+
input[type="reset"]:focus,
|
208
|
+
input[type="button"]:focus {
|
209
|
+
color: #333;
|
210
|
+
border-color: #888;
|
211
|
+
outline: 0; }
|
212
|
+
.button.button-primary,
|
213
|
+
button.button-primary,
|
214
|
+
input[type="submit"].button-primary,
|
215
|
+
input[type="reset"].button-primary,
|
216
|
+
input[type="button"].button-primary {
|
217
|
+
color: #FFF;
|
218
|
+
background-color: #33C3F0;
|
219
|
+
border-color: #33C3F0; }
|
220
|
+
.button.button-primary:hover,
|
221
|
+
button.button-primary:hover,
|
222
|
+
input[type="submit"].button-primary:hover,
|
223
|
+
input[type="reset"].button-primary:hover,
|
224
|
+
input[type="button"].button-primary:hover,
|
225
|
+
.button.button-primary:focus,
|
226
|
+
button.button-primary:focus,
|
227
|
+
input[type="submit"].button-primary:focus,
|
228
|
+
input[type="reset"].button-primary:focus,
|
229
|
+
input[type="button"].button-primary:focus {
|
230
|
+
color: #FFF;
|
231
|
+
background-color: #1EAEDB;
|
232
|
+
border-color: #1EAEDB; }
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
/* Lists
|
237
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
238
|
+
|
239
|
+
ul { list-style: circle inside; }
|
240
|
+
ol { list-style: decimal inside; }
|
241
|
+
ol, ul {
|
242
|
+
padding-left: 0;
|
243
|
+
margin-top: 0; }
|
244
|
+
ul ul,
|
245
|
+
ul ol,
|
246
|
+
ol ol,
|
247
|
+
ol ul {
|
248
|
+
margin: 1.5rem 0 1.5rem 3rem;
|
249
|
+
font-size: 90%; }
|
250
|
+
li { margin-bottom: 1rem; }
|
251
|
+
ul.li_none , ol.li_none { list-style: none; }
|
252
|
+
|
253
|
+
|
254
|
+
/* Margins
|
255
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
256
|
+
|
257
|
+
/* top */
|
258
|
+
.mt_5 { margin-top: 5px }
|
259
|
+
.mt_10 { margin-top: 10px }
|
260
|
+
.mt_15 { margin-top: 15px }
|
261
|
+
.mt_20 { margin-top: 20px }
|
262
|
+
.mt_25 { margin-top: 25px }
|
263
|
+
.mt_30 { margin-top: 30px }
|
264
|
+
.mt_35 { margin-top: 35px }
|
265
|
+
.mt_40 { margin-top: 40px }
|
266
|
+
.mt_45 { margin-top: 45px }
|
267
|
+
.mt_50 { margin-top: 50px }
|
268
|
+
.mt_55 { margin-top: 55px }
|
269
|
+
.mt_60 { margin-top: 60px }
|
270
|
+
.mt_65 { margin-top: 65px }
|
271
|
+
.mt_70 { margin-top: 70px }
|
272
|
+
.mt_75 { margin-top: 75px }
|
273
|
+
.mt_80 { margin-top: 80px }
|
274
|
+
.mt_85 { margin-top: 85px }
|
275
|
+
.mt_90 { margin-top: 90px }
|
276
|
+
.mt_95 { margin-top: 95px }
|
277
|
+
.mt_100 { margin-top: 100px }
|
278
|
+
|
279
|
+
/* right */
|
280
|
+
.mr_5 { margin-right: 5px }
|
281
|
+
.mr_10 { margin-right: 10px }
|
282
|
+
.mr_15 { margin-right: 15px }
|
283
|
+
.mr_20 { margin-right: 20px }
|
284
|
+
.mr_25 { margin-right: 25px }
|
285
|
+
.mr_30 { margin-right: 30px }
|
286
|
+
.mr_35 { margin-right: 35px }
|
287
|
+
.mr_40 { margin-right: 40px }
|
288
|
+
.mr_45 { margin-right: 45px }
|
289
|
+
.mr_50 { margin-right: 50px }
|
290
|
+
.mr_55 { margin-right: 55px }
|
291
|
+
.mr_60 { margin-right: 60px }
|
292
|
+
.mr_65 { margin-right: 65px }
|
293
|
+
.mr_70 { margin-right: 70px }
|
294
|
+
.mr_75 { margin-right: 75px }
|
295
|
+
.mr_80 { margin-right: 80px }
|
296
|
+
.mr_85 { margin-right: 85px }
|
297
|
+
.mr_90 { margin-right: 90px }
|
298
|
+
.mr_95 { margin-right: 95px }
|
299
|
+
.mr_100 { margin-right: 100px }
|
300
|
+
|
301
|
+
/* bottom */
|
302
|
+
.mb_5 { margin-bottom: 5px }
|
303
|
+
.mb_10 { margin-bottom: 10px }
|
304
|
+
.mb_15 { margin-bottom: 15px }
|
305
|
+
.mb_20 { margin-bottom: 20px }
|
306
|
+
.mb_25 { margin-bottom: 25px }
|
307
|
+
.mb_30 { margin-bottom: 30px }
|
308
|
+
.mb_35 { margin-bottom: 35px }
|
309
|
+
.mb_40 { margin-bottom: 40px }
|
310
|
+
.mb_45 { margin-bottom: 45px }
|
311
|
+
.mb_50 { margin-bottom: 50px }
|
312
|
+
.mb_55 { margin-bottom: 55px }
|
313
|
+
.mb_60 { margin-bottom: 60px }
|
314
|
+
.mb_65 { margin-bottom: 65px }
|
315
|
+
.mb_70 { margin-bottom: 70px }
|
316
|
+
.mb_75 { margin-bottom: 75px }
|
317
|
+
.mb_80 { margin-bottom: 80px }
|
318
|
+
.mb_85 { margin-bottom: 85px }
|
319
|
+
.mb_90 { margin-bottom: 90px }
|
320
|
+
.mb_95 { margin-bottom: 95px }
|
321
|
+
.mb_100 { margin-bottom: 100px }
|
322
|
+
|
323
|
+
/* left */
|
324
|
+
.ml_5 { margin-left: 5px }
|
325
|
+
.ml_10 { margin-left: 10px }
|
326
|
+
.ml_15 { margin-left: 15px }
|
327
|
+
.ml_20 { margin-left: 20px }
|
328
|
+
.ml_25 { margin-left: 25px }
|
329
|
+
.ml_30 { margin-left: 30px }
|
330
|
+
.ml_35 { margin-left: 35px }
|
331
|
+
.ml_40 { margin-left: 40px }
|
332
|
+
.ml_45 { margin-left: 45px }
|
333
|
+
.ml_50 { margin-left: 50px }
|
334
|
+
.ml_55 { margin-left: 55px }
|
335
|
+
.ml_60 { margin-left: 60px }
|
336
|
+
.ml_65 { margin-left: 65px }
|
337
|
+
.ml_70 { margin-left: 70px }
|
338
|
+
.ml_75 { margin-left: 75px }
|
339
|
+
.ml_80 { margin-left: 80px }
|
340
|
+
.ml_85 { margin-left: 85px }
|
341
|
+
.ml_90 { margin-left: 90px }
|
342
|
+
.ml_95 { margin-left: 95px }
|
343
|
+
.ml_100 { margin-left: 100px }
|
344
|
+
|
345
|
+
|
346
|
+
/* Paddings
|
347
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
348
|
+
|
349
|
+
/* top */
|
350
|
+
.pt_5 { padding-top: 5px }
|
351
|
+
.pt_10 { padding-top: 10px }
|
352
|
+
.pt_15 { padding-top: 15px }
|
353
|
+
.pt_20 { padding-top: 20px }
|
354
|
+
.pt_25 { padding-top: 25px }
|
355
|
+
.pt_30 { padding-top: 30px }
|
356
|
+
.pt_35 { padding-top: 35px }
|
357
|
+
.pt_40 { padding-top: 40px }
|
358
|
+
.pt_45 { padding-top: 45px }
|
359
|
+
.pt_50 { padding-top: 50px }
|
360
|
+
.pt_55 { padding-top: 55px }
|
361
|
+
.pt_60 { padding-top: 60px }
|
362
|
+
.pt_65 { padding-top: 65px }
|
363
|
+
.pt_70 { padding-top: 70px }
|
364
|
+
.pt_75 { padding-top: 75px }
|
365
|
+
.pt_80 { padding-top: 80px }
|
366
|
+
.pt_85 { padding-top: 85px }
|
367
|
+
.pt_90 { padding-top: 90px }
|
368
|
+
.pt_95 { padding-top: 95px }
|
369
|
+
.pt_100 { padding-top: 100px }
|
370
|
+
|
371
|
+
/* right */
|
372
|
+
.pr_5 { padding-right: 5px }
|
373
|
+
.pr_10 { padding-right: 10px }
|
374
|
+
.pr_15 { padding-right: 15px }
|
375
|
+
.pr_20 { padding-right: 20px }
|
376
|
+
.pr_25 { padding-right: 25px }
|
377
|
+
.pr_30 { padding-right: 30px }
|
378
|
+
.pr_35 { padding-right: 35px }
|
379
|
+
.pr_40 { padding-right: 40px }
|
380
|
+
.pr_45 { padding-right: 45px }
|
381
|
+
.pr_50 { padding-right: 50px }
|
382
|
+
.pr_55 { padding-right: 55px }
|
383
|
+
.pr_60 { padding-right: 60px }
|
384
|
+
.pr_65 { padding-right: 65px }
|
385
|
+
.pr_70 { padding-right: 70px }
|
386
|
+
.pr_75 { padding-right: 75px }
|
387
|
+
.pr_80 { padding-right: 80px }
|
388
|
+
.pr_85 { padding-right: 85px }
|
389
|
+
.pr_90 { padding-right: 90px }
|
390
|
+
.pr_95 { padding-right: 95px }
|
391
|
+
.pr_100 { padding-right: 100px }
|
392
|
+
|
393
|
+
/* bottom */
|
394
|
+
.pb_5 { padding-bottom: 5px }
|
395
|
+
.pb_10 { padding-bottom: 10px }
|
396
|
+
.pb_15 { padding-bottom: 15px }
|
397
|
+
.pb_20 { padding-bottom: 20px }
|
398
|
+
.pb_25 { padding-bottom: 25px }
|
399
|
+
.pb_30 { padding-bottom: 30px }
|
400
|
+
.pb_35 { padding-bottom: 35px }
|
401
|
+
.pb_40 { padding-bottom: 40px }
|
402
|
+
.pb_45 { padding-bottom: 45px }
|
403
|
+
.pb_50 { padding-bottom: 50px }
|
404
|
+
.pb_55 { padding-bottom: 55px }
|
405
|
+
.pb_60 { padding-bottom: 60px }
|
406
|
+
.pb_65 { padding-bottom: 65px }
|
407
|
+
.pb_70 { padding-bottom: 70px }
|
408
|
+
.pb_75 { padding-bottom: 75px }
|
409
|
+
.pb_80 { padding-bottom: 80px }
|
410
|
+
.pb_85 { padding-bottom: 85px }
|
411
|
+
.pb_90 { padding-bottom: 90px }
|
412
|
+
.pb_95 { padding-bottom: 95px }
|
413
|
+
.pb_100 { padding-bottom: 100px }
|
414
|
+
|
415
|
+
/* left */
|
416
|
+
.pl_5 { padding-left: 5px }
|
417
|
+
.pl_10 { padding-left: 10px }
|
418
|
+
.pl_15 { padding-left: 15px }
|
419
|
+
.pl_20 { padding-left: 20px }
|
420
|
+
.pl_25 { padding-left: 25px }
|
421
|
+
.pl_30 { padding-left: 30px }
|
422
|
+
.pl_35 { padding-left: 35px }
|
423
|
+
.pl_40 { padding-left: 40px }
|
424
|
+
.pl_45 { padding-left: 45px }
|
425
|
+
.pl_50 { padding-left: 50px }
|
426
|
+
.pl_55 { padding-left: 55px }
|
427
|
+
.pl_60 { padding-left: 60px }
|
428
|
+
.pl_65 { padding-left: 65px }
|
429
|
+
.pl_70 { padding-left: 70px }
|
430
|
+
.pl_75 { padding-left: 75px }
|
431
|
+
.pl_80 { padding-left: 80px }
|
432
|
+
.pl_85 { padding-left: 85px }
|
433
|
+
.pl_90 { padding-left: 90px }
|
434
|
+
.pl_95 { padding-left: 95px }
|
435
|
+
.pl_100 { padding-left: 100px }
|
436
|
+
|
437
|
+
|
438
|
+
/* Fonts
|
439
|
+
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
440
|
+
|
441
|
+
.underline {
|
442
|
+
border-bottom: 1px solid #dcdcdc;
|
443
|
+
}
|
444
|
+
|
445
|
+
|
446
|
+
|
@@ -0,0 +1,427 @@
|
|
1
|
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
6
|
+
* user zoom.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html {
|
10
|
+
font-family: sans-serif; /* 1 */
|
11
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Remove default margin.
|
17
|
+
*/
|
18
|
+
|
19
|
+
body {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* HTML5 display definitions
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
28
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
29
|
+
* and Firefox.
|
30
|
+
* Correct `block` display not defined for `main` in IE 11.
|
31
|
+
*/
|
32
|
+
|
33
|
+
article,
|
34
|
+
aside,
|
35
|
+
details,
|
36
|
+
figcaption,
|
37
|
+
figure,
|
38
|
+
footer,
|
39
|
+
header,
|
40
|
+
hgroup,
|
41
|
+
main,
|
42
|
+
menu,
|
43
|
+
nav,
|
44
|
+
section,
|
45
|
+
summary {
|
46
|
+
display: block;
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
51
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
52
|
+
*/
|
53
|
+
|
54
|
+
audio,
|
55
|
+
canvas,
|
56
|
+
progress,
|
57
|
+
video {
|
58
|
+
display: inline-block; /* 1 */
|
59
|
+
vertical-align: baseline; /* 2 */
|
60
|
+
}
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
64
|
+
* Remove excess height in iOS 5 devices.
|
65
|
+
*/
|
66
|
+
|
67
|
+
audio:not([controls]) {
|
68
|
+
display: none;
|
69
|
+
height: 0;
|
70
|
+
}
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Address `[hidden]` styling not present in IE 8/9/10.
|
74
|
+
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
75
|
+
*/
|
76
|
+
|
77
|
+
[hidden],
|
78
|
+
template {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Links
|
83
|
+
========================================================================== */
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Remove the gray background color from active links in IE 10.
|
87
|
+
*/
|
88
|
+
|
89
|
+
a {
|
90
|
+
background-color: transparent;
|
91
|
+
}
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
95
|
+
*/
|
96
|
+
|
97
|
+
a:active,
|
98
|
+
a:hover {
|
99
|
+
outline: 0;
|
100
|
+
}
|
101
|
+
|
102
|
+
/* Text-level semantics
|
103
|
+
========================================================================== */
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
107
|
+
*/
|
108
|
+
|
109
|
+
abbr[title] {
|
110
|
+
border-bottom: 1px dotted;
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
115
|
+
*/
|
116
|
+
|
117
|
+
b,
|
118
|
+
strong {
|
119
|
+
font-weight: bold;
|
120
|
+
}
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Address styling not present in Safari and Chrome.
|
124
|
+
*/
|
125
|
+
|
126
|
+
dfn {
|
127
|
+
font-style: italic;
|
128
|
+
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
132
|
+
* contexts in Firefox 4+, Safari, and Chrome.
|
133
|
+
*/
|
134
|
+
|
135
|
+
h1 {
|
136
|
+
font-size: 2em;
|
137
|
+
margin: 0.67em 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Address styling not present in IE 8/9.
|
142
|
+
*/
|
143
|
+
|
144
|
+
mark {
|
145
|
+
background: #ff0;
|
146
|
+
color: #000;
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* Address inconsistent and variable font size in all browsers.
|
151
|
+
*/
|
152
|
+
|
153
|
+
small {
|
154
|
+
font-size: 80%;
|
155
|
+
}
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
159
|
+
*/
|
160
|
+
|
161
|
+
sub,
|
162
|
+
sup {
|
163
|
+
font-size: 75%;
|
164
|
+
line-height: 0;
|
165
|
+
position: relative;
|
166
|
+
vertical-align: baseline;
|
167
|
+
}
|
168
|
+
|
169
|
+
sup {
|
170
|
+
top: -0.5em;
|
171
|
+
}
|
172
|
+
|
173
|
+
sub {
|
174
|
+
bottom: -0.25em;
|
175
|
+
}
|
176
|
+
|
177
|
+
/* Embedded content
|
178
|
+
========================================================================== */
|
179
|
+
|
180
|
+
/**
|
181
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
182
|
+
*/
|
183
|
+
|
184
|
+
img {
|
185
|
+
border: 0;
|
186
|
+
}
|
187
|
+
|
188
|
+
/**
|
189
|
+
* Correct overflow not hidden in IE 9/10/11.
|
190
|
+
*/
|
191
|
+
|
192
|
+
svg:not(:root) {
|
193
|
+
overflow: hidden;
|
194
|
+
}
|
195
|
+
|
196
|
+
/* Grouping content
|
197
|
+
========================================================================== */
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Address margin not present in IE 8/9 and Safari.
|
201
|
+
*/
|
202
|
+
|
203
|
+
figure {
|
204
|
+
margin: 1em 40px;
|
205
|
+
}
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Address differences between Firefox and other browsers.
|
209
|
+
*/
|
210
|
+
|
211
|
+
hr {
|
212
|
+
-moz-box-sizing: content-box;
|
213
|
+
box-sizing: content-box;
|
214
|
+
height: 0;
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Contain overflow in all browsers.
|
219
|
+
*/
|
220
|
+
|
221
|
+
pre {
|
222
|
+
overflow: auto;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
227
|
+
*/
|
228
|
+
|
229
|
+
code,
|
230
|
+
kbd,
|
231
|
+
pre,
|
232
|
+
samp {
|
233
|
+
font-family: monospace, monospace;
|
234
|
+
font-size: 1em;
|
235
|
+
}
|
236
|
+
|
237
|
+
/* Forms
|
238
|
+
========================================================================== */
|
239
|
+
|
240
|
+
/**
|
241
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
242
|
+
* styling of `select`, unless a `border` property is set.
|
243
|
+
*/
|
244
|
+
|
245
|
+
/**
|
246
|
+
* 1. Correct color not being inherited.
|
247
|
+
* Known issue: affects color of disabled elements.
|
248
|
+
* 2. Correct font properties not being inherited.
|
249
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
250
|
+
*/
|
251
|
+
|
252
|
+
button,
|
253
|
+
input,
|
254
|
+
optgroup,
|
255
|
+
select,
|
256
|
+
textarea {
|
257
|
+
color: inherit; /* 1 */
|
258
|
+
font: inherit; /* 2 */
|
259
|
+
margin: 0; /* 3 */
|
260
|
+
}
|
261
|
+
|
262
|
+
/**
|
263
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
264
|
+
*/
|
265
|
+
|
266
|
+
button {
|
267
|
+
overflow: visible;
|
268
|
+
}
|
269
|
+
|
270
|
+
/**
|
271
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
272
|
+
* All other form control elements do not inherit `text-transform` values.
|
273
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
274
|
+
* Correct `select` style inheritance in Firefox.
|
275
|
+
*/
|
276
|
+
|
277
|
+
button,
|
278
|
+
select {
|
279
|
+
text-transform: none;
|
280
|
+
}
|
281
|
+
|
282
|
+
/**
|
283
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
284
|
+
* and `video` controls.
|
285
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
286
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
287
|
+
* `input` and others.
|
288
|
+
*/
|
289
|
+
|
290
|
+
button,
|
291
|
+
html input[type="button"], /* 1 */
|
292
|
+
input[type="reset"],
|
293
|
+
input[type="submit"] {
|
294
|
+
-webkit-appearance: button; /* 2 */
|
295
|
+
cursor: pointer; /* 3 */
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Re-set default cursor for disabled elements.
|
300
|
+
*/
|
301
|
+
|
302
|
+
button[disabled],
|
303
|
+
html input[disabled] {
|
304
|
+
cursor: default;
|
305
|
+
}
|
306
|
+
|
307
|
+
/**
|
308
|
+
* Remove inner padding and border in Firefox 4+.
|
309
|
+
*/
|
310
|
+
|
311
|
+
button::-moz-focus-inner,
|
312
|
+
input::-moz-focus-inner {
|
313
|
+
border: 0;
|
314
|
+
padding: 0;
|
315
|
+
}
|
316
|
+
|
317
|
+
/**
|
318
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
319
|
+
* the UA stylesheet.
|
320
|
+
*/
|
321
|
+
|
322
|
+
input {
|
323
|
+
line-height: normal;
|
324
|
+
}
|
325
|
+
|
326
|
+
/**
|
327
|
+
* It's recommended that you don't attempt to style these elements.
|
328
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
329
|
+
*
|
330
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
331
|
+
* 2. Remove excess padding in IE 8/9/10.
|
332
|
+
*/
|
333
|
+
|
334
|
+
input[type="checkbox"],
|
335
|
+
input[type="radio"] {
|
336
|
+
box-sizing: border-box; /* 1 */
|
337
|
+
padding: 0; /* 2 */
|
338
|
+
}
|
339
|
+
|
340
|
+
/**
|
341
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
342
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
343
|
+
* decrement button to change from `default` to `text`.
|
344
|
+
*/
|
345
|
+
|
346
|
+
input[type="number"]::-webkit-inner-spin-button,
|
347
|
+
input[type="number"]::-webkit-outer-spin-button {
|
348
|
+
height: auto;
|
349
|
+
}
|
350
|
+
|
351
|
+
/**
|
352
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
353
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
354
|
+
* (include `-moz` to future-proof).
|
355
|
+
*/
|
356
|
+
|
357
|
+
input[type="search"] {
|
358
|
+
-webkit-appearance: textfield; /* 1 */
|
359
|
+
-moz-box-sizing: content-box;
|
360
|
+
-webkit-box-sizing: content-box; /* 2 */
|
361
|
+
box-sizing: content-box;
|
362
|
+
}
|
363
|
+
|
364
|
+
/**
|
365
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
366
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
367
|
+
* padding (and `textfield` appearance).
|
368
|
+
*/
|
369
|
+
|
370
|
+
input[type="search"]::-webkit-search-cancel-button,
|
371
|
+
input[type="search"]::-webkit-search-decoration {
|
372
|
+
-webkit-appearance: none;
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* Define consistent border, margin, and padding.
|
377
|
+
*/
|
378
|
+
|
379
|
+
fieldset {
|
380
|
+
border: 1px solid #c0c0c0;
|
381
|
+
margin: 0 2px;
|
382
|
+
padding: 0.35em 0.625em 0.75em;
|
383
|
+
}
|
384
|
+
|
385
|
+
/**
|
386
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
387
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
388
|
+
*/
|
389
|
+
|
390
|
+
legend {
|
391
|
+
border: 0; /* 1 */
|
392
|
+
padding: 0; /* 2 */
|
393
|
+
}
|
394
|
+
|
395
|
+
/**
|
396
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
397
|
+
*/
|
398
|
+
|
399
|
+
textarea {
|
400
|
+
overflow: auto;
|
401
|
+
}
|
402
|
+
|
403
|
+
/**
|
404
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
405
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
406
|
+
*/
|
407
|
+
|
408
|
+
optgroup {
|
409
|
+
font-weight: bold;
|
410
|
+
}
|
411
|
+
|
412
|
+
/* Tables
|
413
|
+
========================================================================== */
|
414
|
+
|
415
|
+
/**
|
416
|
+
* Remove most spacing between table cells.
|
417
|
+
*/
|
418
|
+
|
419
|
+
table {
|
420
|
+
border-collapse: collapse;
|
421
|
+
border-spacing: 0;
|
422
|
+
}
|
423
|
+
|
424
|
+
td,
|
425
|
+
th {
|
426
|
+
padding: 0;
|
427
|
+
}
|