summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-08-27 18:45:53 +0200
committerWojtek Kosior <koszko@koszko.org>2021-08-27 18:45:53 +0200
commita43c3fe265bc7462fa4715e7e26d221826935c14 (patch)
tree882c6a137c674c5d0dbcfab474d683ed48c34740 /html
parent826b4fd80a288f13841b6f6d56cc38e2f43bbc03 (diff)
downloadbrowser-extension-a43c3fe265bc7462fa4715e7e26d221826935c14.tar.gz
browser-extension-a43c3fe265bc7462fa4715e7e26d221826935c14.zip
reset CSS rules
Diffstat (limited to 'html')
-rw-r--r--html/display-panel.html1
-rw-r--r--html/options.html1
-rw-r--r--html/reset.css49
3 files changed, 51 insertions, 0 deletions
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;
+}