From b936423a98bb5aabb199d04284150f1d699d7e55 Mon Sep 17 00:00:00 2001 From: EmpressAutumn Date: Mon, 22 Apr 2024 19:55:25 -0400 Subject: [PATCH] Finish adding the Dev Notes blog page --- devnotes/index.html | 9 +++++++++ script/topbar.js | 4 ++-- style/devnotes.css | 8 ++++++++ style/home.css | 3 +-- 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 style/devnotes.css diff --git a/devnotes/index.html b/devnotes/index.html index 173acfb..873138d 100644 --- a/devnotes/index.html +++ b/devnotes/index.html @@ -4,10 +4,19 @@ Dev Notes | Atom596.com + + +

Dev Notes

+
diff --git a/script/topbar.js b/script/topbar.js index 966f75b..8f3ce39 100644 --- a/script/topbar.js +++ b/script/topbar.js @@ -1,7 +1,7 @@ -window.onload = function() { +window.addEventListener('load', function() { fetch("/topbar.html") .then(response => response.text()) .then((data) => { document.getElementById("topbar").innerHTML = data }) -} +}) diff --git a/style/devnotes.css b/style/devnotes.css new file mode 100644 index 0000000..3c59eb4 --- /dev/null +++ b/style/devnotes.css @@ -0,0 +1,8 @@ +.article { + text-align: left; + margin: 12px auto 0; + width: 70%; + padding-inline: 10px; + border: 4px solid darkred; + background-color: palevioletred; +} diff --git a/style/home.css b/style/home.css index 0857e29..c59e419 100644 --- a/style/home.css +++ b/style/home.css @@ -1,7 +1,6 @@ .plans { - padding: 10px; + margin: 12px auto 0; width: 70%; - margin: 0 auto; } .subtitle {