]> git.puffer.fish Git - max/www.git/commitdiff
Implement meyerweb reset
authorMax Charrier <max@puffer.fish>
Sat, 19 Apr 2025 10:37:57 +0000 (12:37 +0200)
committerMax Charrier <max@puffer.fish>
Sat, 19 Apr 2025 10:37:57 +0000 (12:37 +0200)
More information: https://meyerweb.com/eric/tools/css/reset/

Signed-off-by: Max Charrier <max@puffer.fish>
en.html
index.html
reset.css [new file with mode: 0644]

diff --git a/en.html b/en.html
index 6dd11bcd1b77bb1cbb26180a77828643a9d9720e..62d4c6121574cff73877309c367315fdd2243225 100644 (file)
--- 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">
index 0f77fb1107334c3111b06f895af97b5fc902df61..1e409440865aecc1144a4e070ad53947f3de26f0 100644 (file)
@@ -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 (file)
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;
+}