Add alert banner thingy

This commit is contained in:
Frankie B 2022-10-03 10:03:53 +00:00
parent b8354a2430
commit 3f13502e7d
2 changed files with 11 additions and 0 deletions

View file

@ -17,6 +17,7 @@
<?php require('./inc/nav.php') ?> <?php require('./inc/nav.php') ?>
<div id="pagebody"> <div id="pagebody">
<div id="content"> <div id="content">
<br><table class="banner"><tr><td>h</td></tr></table>
<p>Hi!</p> <p>Hi!</p>
<p>This is the personal homepage of <a href="./me/">floppydisk</a>. Every now and then, I <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 dabble in software/hardware <a href="./projects/">projects</a>, take <a href="./pics/">pictures</a>, or write

View file

@ -6,6 +6,16 @@ ul {
list-style-type: square; 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 { div.page {
margin-left: 0.5em; margin-left: 0.5em;
margin-right: 0.5em margin-right: 0.5em