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 |
| 21 ******************************************************************************/ |
| 22 |
| 23 /* Reset margins, paddings, and font globally */ |
| 24 |
| 25 // General |
| 26 html, body, |
| 27 |
| 28 // Typography |
| 29 h1, h2, h3, h4, h5, h6, |
| 30 a, p, span, |
| 31 em, small, strong, sub, sup, |
| 32 strike, s, mark, del, ins, |
| 33 abbr, dfn, |
| 34 blockquote, q, cite, |
| 35 code, pre, |
| 36 kbd, samp, var, output, ruby, |
| 37 |
| 38 // Lists |
| 39 ol, ul, li, dl, dt, dd, |
| 40 |
| 41 // Layout |
| 42 div, section, article, |
| 43 main, aside, nav, |
| 44 header, hgroup, footer, |
| 45 |
| 46 // Media |
| 47 img, figure, figcaption, |
| 48 address, time, |
| 49 audio, video, |
| 50 canvas, object, iframe, embed, |
| 51 details, summary, |
| 52 |
| 53 // Forms |
| 54 fieldset, form, label, legend, |
| 55 |
| 56 // Tables |
| 57 table, caption, |
| 58 tbody, tfoot, thead, |
| 59 tr, th, td |
| 60 { |
| 61 margin: 0px; |
| 62 padding: 0px; |
| 63 border: 0px; |
| 64 font-size: 100%; |
| 65 font: inherit; |
| 66 vertical-align: baseline; |
| 67 } |
| 68 |
| 69 /* Add the correct display in IE 9-. */ |
| 70 |
| 71 article, |
| 72 aside, |
| 73 footer, |
| 74 header, |
| 75 nav, |
| 76 section, |
| 77 main |
| 78 { |
| 79 display: block; |
| 80 } |
| 81 |
| 82 /* Set default box-sizing (opinionated) */ |
| 83 |
| 84 *, |
| 85 *:before, |
| 86 *:after |
| 87 { |
| 88 box-sizing: inherit; |
| 89 } |
| 90 |
| 91 html |
| 92 { |
| 93 box-sizing: border-box; |
| 94 } |
| 95 |
| 96 /* Remove the margin in all browsers (opinionated). */ |
| 97 |
| 98 body |
| 99 { |
| 100 margin: 0px; |
| 101 } |
| 102 |
| 103 /* Remove list styles (opinionated) */ |
| 104 |
| 105 ol, |
| 106 ul |
| 107 { |
| 108 list-style: none; |
| 109 } |
| 110 |
| 111 /* Remove quotes ("") in most browsers (opinionated) */ |
| 112 |
| 113 blockquote, |
| 114 q |
| 115 { |
| 116 quotes: none; |
| 117 } |
| 118 |
| 119 /* Remove quotes ("") in Safari (opinionated) */ |
| 120 |
| 121 blockquote:before, |
| 122 blockquote:after, |
| 123 q:before, |
| 124 q:after |
| 125 { |
| 126 content: ""; |
| 127 content: none; |
| 128 } |
| 129 |
| 130 /* Share borders between adjacent cells (opinionated) */ |
| 131 |
| 132 table |
| 133 { |
| 134 border-collapse: collapse; |
| 135 border-spacing: 0; |
| 136 } |
OLD | NEW |