summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2022-04-28 09:37:50 +0200
committerStefan Kreutz <mail@skreutz.com>2022-04-28 09:37:50 +0200
commitb3c9e0f924ae0133c4a936846b10935128c28f9f (patch)
treecc9f0a9ce8f9c27aa9a86468c033c9c4cfd7ab82
downloadhtml5-skeleton-main.tar
Add existing skeletonHEADmain
-rw-r--r--index.css9
-rw-r--r--index.html19
-rw-r--r--index.js3
3 files changed, 31 insertions, 0 deletions
diff --git a/index.css b/index.css
new file mode 100644
index 0000000..da880ba
--- /dev/null
+++ b/index.css
@@ -0,0 +1,9 @@
+:root {
+ --foreground-color: rgba(0, 0, 0, .8);
+ --background-color: rgb(255, 255, 255);
+}
+
+body {
+ color: var(--foreground-color);
+ background-color: var(--background-color);
+}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..bf1d2ce
--- /dev/null
+++ b/index.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="author" content="Stefan Kreutz">
+ <meta name="copyright" content="Copyright © 2021 Stefan Kreutz">
+ <meta name="description" content="A simple HTML5 skeleton">
+ <title>HTML5 Skeleton</title>
+ <link rel="stylesheet" href="index.css">
+ <link rel="icon" href="data:,">
+ <script src="index.js" async></script>
+ </head>
+ <body>
+ <h1>HTML5 Skeleton</h1>
+ <p>Hello, world!</p>
+ <noscript>Enable JavaScript to see the alert!</noscript>
+ </body>
+</html>
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..b538389
--- /dev/null
+++ b/index.js
@@ -0,0 +1,3 @@
+(function () {
+ window.addEventListener("load", function() { alert("Hello"); }, false);
+})();
Generated by cgit. See skreutz.com for my tech blog and contact information.