OLD | NEW |
(Empty) | |
| 1 /*! |
| 2 * This file is part of universal-design-language |
| 3 * Copyright (C) 2016 Eyeo GmbH |
| 4 * |
| 5 * universal-design-language 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 * universal-design-language 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 web.starter-kit. If not, see <http://www.gnu.org/licenses/>. |
| 17 */ |
| 18 |
| 19 /** |
| 20 * UDL browser reset |
| 21 */ |
| 22 |
| 23 /* Set default box-sizing (opinionated) */ |
| 24 |
| 25 html |
| 26 { |
| 27 box-sizing: border-box; |
| 28 } |
| 29 |
| 30 *, |
| 31 *:before, |
| 32 *:after |
| 33 { |
| 34 box-sizing: inherit; |
| 35 } |
| 36 |
| 37 /* Remove the margin in all browsers (opinionated). */ |
| 38 |
| 39 body |
| 40 { |
| 41 margin: 0px; |
| 42 } |
| 43 |
| 44 /* Add the correct display in IE 9-. */ |
| 45 |
| 46 article, |
| 47 aside, |
| 48 footer, |
| 49 header, |
| 50 nav, |
| 51 section, |
| 52 main |
| 53 { |
| 54 display: block; |
| 55 } |
OLD | NEW |