From 3f13502e7d1b4c699cedc1865d48a3b26d797c6c Mon Sep 17 00:00:00 2001 From: Frankie B Date: Mon, 3 Oct 2022 10:03:53 +0000 Subject: [PATCH] Add alert banner thingy --- index.php | 1 + res/css/global.css | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/index.php b/index.php index f52b50c..95258b1 100755 --- a/index.php +++ b/index.php @@ -17,6 +17,7 @@
+

Hi!

This is the personal homepage of floppydisk. Every now and then, I dabble in software/hardware projects, take pictures, or write diff --git a/res/css/global.css b/res/css/global.css index 52d8d9e..d9b310a 100755 --- a/res/css/global.css +++ b/res/css/global.css @@ -6,6 +6,16 @@ ul { list-style-type: square; } +table.banner { + margin-left: auto; + margin-right: auto; + border: 2px solid #E04A38; + background-color: #E6897E; + width: 95%; + /* Passes both WCAG AA and WCAG AAA contrast tests */ + color: #0F0F0F; +} + div.page { margin-left: 0.5em; margin-right: 0.5em