diff options
author | Miquel Lionel <lionelmiquel@sfr.fr> | 2020-11-18 12:38:19 +0100 |
---|---|---|
committer | lionelmiquel@sfr.fr <lionelmiquel@sfr.fr> | 2020-11-18 12:38:19 +0100 |
commit | d42181f0de3d53f52d1498a9b9ab80f438a713b5 (patch) | |
tree | ff868859fa23a31ae38dd01f1d33e5ea2d6d81cc /css/reset.css | |
download | tutogpg-d42181f0de3d53f52d1498a9b9ab80f438a713b5.tar.gz tutogpg-d42181f0de3d53f52d1498a9b9ab80f438a713b5.zip |
First commit. Will clean up the css and things.
Diffstat (limited to 'css/reset.css')
-rwxr-xr-x | css/reset.css | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/css/reset.css b/css/reset.css new file mode 100755 index 0000000..13ace62 --- /dev/null +++ b/css/reset.css @@ -0,0 +1,164 @@ +html{ + margin: 0; + padding: 0; + line-height: 1; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} + +body{ + margin: 0; + padding: 0; +} + +a{ + outline: 0; +} + +blockquote{ + margin: 0; + quotes: none; +} + +fieldset{ + border: 0; + margin: 0; + padding: 0; +} + +p{ + margin: 0; +} + +ol{ + margin: 0; + padding: 0; +} + +ul{ + margin: 0; + padding: 0; +} + +h1{ + margin: 0; +} + +h2{ + margin: 0; +} + +h3{ + margin: 0; +} + +h4{ + margin: 0; +} + +h5{ + margin: 0; +} + +h6{ + margin: 0; +} + +figure{ + margin: 0; +} + +input{ + font-family: inherit; + line-height: inherit; + font-size: 1rem; + color: inherit; +} + +textarea{ + font-family: inherit; + line-height: inherit; + font-size: 1rem; + color: inherit; +} + +input:not([type=radio]):not([type=checkbox]){ + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; +} + +select{ + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + font-family: inherit; + line-height: inherit; + font-size: 1rem; + color: inherit; +} + +legend{ + padding: 0; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +q{ + quotes: none; +} + +button{ + font-family: inherit; + font-size: 1rem; + line-height: inherit; +} + +input:focus{ + outline: 0; +} + +button:focus{ + outline: 0; +} + +select:focus{ + outline: 0; +} + + +/* ie 11 compatibility */ +header{ + display: block; +} + +nav{ + display: block; +} + +main{ + display: block; +} + +footer{ + display: block; +} +/* end ie 11 compatibility */ + + +/* firefox compatibility */ +button::-moz-focus-inner{ /* needed to workaround bug that doesn't let us set padding in button elements: https://bugzilla.mozilla.org/show_bug.cgi?id=140562 */ + border: 0; + padding: 0; +} + +input::-moz-focus-inner{ /* needed to workaround bug that doesn't let us set padding in button elements: https://bugzilla.mozilla.org/show_bug.cgi?id=140562 */ + border: 0; + padding: 0; +} +/* end firefox compatibility */ |