From 4371d429ce02bf04c6bd2625894f755da5b78033 Mon Sep 17 00:00:00 2001 From: vimux Date: Wed, 14 Nov 2018 09:43:53 -0500 Subject: [PATCH] Update CSS reset --- README.md | 1 + static/css/main.css | 15 ++++----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index aae3a56..2651e8e 100644 --- a/README.md +++ b/README.md @@ -155,3 +155,4 @@ Pull requests are very welcome too, but please make sure they match the existing Binario is licensed under the [MIT License](https://github.com/vimux/binario/blob/master/LICENSE). * Social media icons based on [SuperTinyIcons](https://github.com/edent/SuperTinyIcons) [MIT] +* CSS Reset based on [Bootstrap Reboot](https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap-reboot.css) [MIT] diff --git a/static/css/main.css b/static/css/main.css index f270b70..a0adcf0 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,4 +1,4 @@ -/* Reset */ +/* CSS Reset (based on Bootstrap Reboot v4.1.3) */ *, *::before, *::after { @@ -9,7 +9,6 @@ html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: transparent; } @@ -147,10 +146,6 @@ blockquote footer { text-align: right; } -dfn { - font-style: italic; -} - b, strong { font-weight: bolder; @@ -180,7 +175,6 @@ a { color: #f8ae00; text-decoration: none; background-color: transparent; - -webkit-text-decoration-skip: objects; } a:hover { @@ -242,7 +236,7 @@ img { border-style: none; } -svg:not(:root) { +svg { overflow: hidden; } @@ -310,7 +304,7 @@ select { } button, -html [type="button"], +[type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; @@ -371,7 +365,6 @@ legend { -webkit-appearance: none; } -[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } @@ -611,7 +604,7 @@ mark { margin-bottom: 0; } -/* Cards UI*/ +/* Cards UI */ .cards { display: flex; flex-wrap: wrap;