Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 /*! | |
2 * This file is part of website-defaults | |
3 * Copyright (C) 2016-present eyeo GmbH | |
4 * | |
5 * website-defaults is free software: you can redistribute it and/or | |
6 * modify it under the terms of the GNU General Public License as published by | |
7 * the Free Software Foundation, either version 3 of the License, or | |
8 * (at your option) any later version. | |
9 * | |
10 * website-defaults is distributed in the hope that it will be useful, | |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 * GNU General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU General Public License | |
16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. | |
17 */ | |
18 | |
19 /******************************************************************************* | |
20 * CSS Reset | |
ire
2017/08/28 17:29:10
I created a different file instead of adding this
juliandoucette
2017/08/30 10:04:28
Acknowledged.
(I don't mind if you do that in thi
ire
2017/09/01 08:57:06
Done.
| |
21 ******************************************************************************/ | |
22 | |
23 /* Reset margins, paddings, and font globally */ | |
ire
2017/08/28 17:29:10
Most of this is based on Eric Meyer's reset (http:
juliandoucette
2017/08/30 10:04:28
I think that we should mention it in our README an
ire
2017/09/01 08:57:06
Done.
| |
24 | |
25 // General | |
ire
2017/08/28 17:29:10
This was my attempt to organise the selectors bett
juliandoucette
2017/08/30 10:04:28
I like them.
ire
2017/09/01 08:57:06
Great
| |
26 html, body, | |
27 | |
28 // Typography | |
29 h1, h2, h3, h4, h5, h6, | |
30 a, p, span, | |
31 em, small, strong, strike, s, | |
32 abbr, mark, sub, sup, | |
33 blockquote, q, cite, | |
34 code, pre, | |
35 | |
36 // Lists | |
37 ol, ul, li, dl, dt, dd, | |
38 | |
39 // Layout | |
40 div, section, article, | |
41 main, aside, nav, | |
42 header, hgroup, footer, | |
43 | |
44 // Media | |
45 img, figure, figcaption, | |
46 address, time, | |
47 audio, video, | |
48 canvas, object, iframe, embed, | |
49 details, summary, | |
50 | |
51 // Forms | |
52 fieldset, form, label, legend, | |
53 | |
54 // Tables | |
55 table, caption, | |
56 tbody, tfoot, thead, | |
57 tr, th, td, | |
58 | |
59 // Other | |
60 del, dfn, ins, kbd, samp, var, output, ruby | |
juliandoucette
2017/08/30 10:04:28
NIT: [del, ins, strike, mark] seem related (editin
ire
2017/09/01 08:57:06
Done. I moved them to typography and ordered them
| |
61 { | |
62 margin: 0; | |
63 padding: 0; | |
64 border: 0; | |
65 font-size: 100%; | |
66 font: inherit; | |
67 vertical-align: baseline; | |
68 } | |
69 | |
70 /* Remove list styles */ | |
ire
2017/08/28 17:29:10
I'm undecided if we want/need this
juliandoucette
2017/08/30 10:04:28
Acknowledged.
| |
71 | |
72 ol, | |
73 ul | |
74 { | |
75 list-style: none; | |
76 } | |
77 | |
78 /* Remove quotes ("") */ | |
79 | |
80 blockquote, | |
81 q | |
82 { | |
83 quotes: none; | |
84 } | |
85 | |
86 blockquote:before, | |
87 blockquote:after, | |
88 q:before, | |
89 q:after | |
90 { | |
91 content: ""; | |
92 content: none; | |
93 } | |
94 | |
95 /* Share borders between adjacent cells */ | |
96 | |
97 table | |
98 { | |
99 border-collapse: collapse; | |
100 border-spacing: 0; | |
101 } | |
OLD | NEW |