diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-08-27 18:45:53 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-08-27 18:45:53 +0200 |
commit | a43c3fe265bc7462fa4715e7e26d221826935c14 (patch) | |
tree | 882c6a137c674c5d0dbcfab474d683ed48c34740 | |
parent | 826b4fd80a288f13841b6f6d56cc38e2f43bbc03 (diff) | |
download | browser-extension-a43c3fe265bc7462fa4715e7e26d221826935c14.tar.gz browser-extension-a43c3fe265bc7462fa4715e7e26d221826935c14.zip |
reset CSS rules
-rw-r--r-- | copyright | 5 | ||||
-rw-r--r-- | html/display-panel.html | 1 | ||||
-rw-r--r-- | html/options.html | 1 | ||||
-rw-r--r-- | html/reset.css | 49 |
4 files changed, 56 insertions, 0 deletions
@@ -36,6 +36,11 @@ Copyright: 2021 Wojtek Kosior <koszko@koszko.org> 2021 Nicholas Johnson <nicholasjohnson@posteo.org> License: GPL-3+ or Alicense-1.0 or CC-BY-SA-4.0 +Files: html/reset.css +Copyright: 2008,2011 Eric A. Meyer +License: public-domain + This stylesheet has been place in public domain by its author. + Files: common/sha256.js Copyright: 2014-2017 Chen, Yi-Cyuan <emn178@gmail.com> License: Expat diff --git a/html/display-panel.html b/html/display-panel.html index c5b500d..cbd7dc8 100644 --- a/html/display-panel.html +++ b/html/display-panel.html @@ -7,6 +7,7 @@ <head> <meta charset="utf-8"/> <title>Hachette - page settings</title> + <link type="text/css" rel="stylesheet" href="reset.css" /> <link type="text/css" rel="stylesheet" href="base.css" /> <style> body { diff --git a/html/options.html b/html/options.html index 81ab002..e7dc3aa 100644 --- a/html/options.html +++ b/html/options.html @@ -8,6 +8,7 @@ <head> <meta charset="utf-8"/> <title>Hachette options</title> + <link type="text/css" rel="stylesheet" href="reset.css" /> <link type="text/css" rel="stylesheet" href="base.css" /> <style> /* pages list */ diff --git a/html/reset.css b/html/reset.css new file mode 100644 index 0000000..dab51cd --- /dev/null +++ b/html/reset.css @@ -0,0 +1,49 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + Copyright 2008,2011 Eric A. Meyer + Redistribution terms are gathered in the `copyright' file. +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} |