diff options
author | Frankie B <floppydisk05@aol.com> | 2022-10-03 10:03:53 +0000 |
---|---|---|
committer | Frankie B <floppydisk05@aol.com> | 2022-10-03 10:03:53 +0000 |
commit | 3f13502e7d1b4c699cedc1865d48a3b26d797c6c (patch) | |
tree | 781c3a395b64f3c6e1f9c76eee73286b4a7ff411 | |
parent | b8354a24302052105b2b69b0e17ff2f19b3c07cb (diff) |
Add alert banner thingy
-rwxr-xr-x | index.php | 1 | ||||
-rwxr-xr-x | res/css/global.css | 10 |
2 files changed, 11 insertions, 0 deletions
@@ -17,6 +17,7 @@ <?php require('./inc/nav.php') ?> <div id="pagebody"> <div id="content"> + <br><table class="banner"><tr><td>h</td></tr></table> <p>Hi!</p> <p>This is the personal homepage of <a href="./me/">floppydisk</a>. Every now and then, I dabble in software/hardware <a href="./projects/">projects</a>, take <a href="./pics/">pictures</a>, 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 |