summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Charrier <max@puffer.fish>2025-04-19 12:37:57 +0200
committerMax Charrier <max@puffer.fish>2025-04-19 12:37:57 +0200
commit6335b5f1aa0259632a46992944036afad41ec00c (patch)
treeea94c3da8a84e537196ba23377a5d90770bcd8de
parentfa3955f112adc968f05f4f8efff48930aa85c654 (diff)
Implement meyerweb reset
More information: https://meyerweb.com/eric/tools/css/reset/ Signed-off-by: Max Charrier <max@puffer.fish>
-rw-r--r--en.html1
-rw-r--r--index.html1
-rw-r--r--reset.css48
3 files changed, 50 insertions, 0 deletions
diff --git a/en.html b/en.html
index 6dd11bc..62d4c61 100644
--- a/en.html
+++ b/en.html
@@ -7,6 +7,7 @@
<META NAME="theme-color" CONTENT="#4e3246">
<META NAME="color-scheme" CONTENT="only light">
+ <LINK REL="stylesheet" HREF="reset.css">
<LINK REL="stylesheet" HREF="./webfontkit/stylesheet.css">
<LINK REL="author licence" HREF="#about">
<META NAME="author" CONTENT="Max Charrier">
diff --git a/index.html b/index.html
index 0f77fb1..1e40944 100644
--- a/index.html
+++ b/index.html
@@ -7,6 +7,7 @@
<META NAME="theme-color" CONTENT="#ffffff">
<META NAME="color-scheme" CONTENT="only light">
+ <LINK REL="stylesheet" HREF="reset.css">
<LINK REL="stylesheet" HREF="./webfontkit/stylesheet.css">
<LINK REL="author licence" HREF="#about">
<META NAME="author" CONTENT="Max Charrier">
diff --git a/reset.css b/reset.css
new file mode 100644
index 0000000..e29c0f5
--- /dev/null
+++ b/reset.css
@@ -0,0 +1,48 @@
+/* http://meyerweb.com/eric/tools/css/reset/
+ v2.0 | 20110126
+ License: none (public domain)
+*/
+
+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;
+}