diff options
author | Jonas Kohl | 2024-07-20 17:17:08 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-07-20 17:17:08 +0200 |
commit | 390b8c658d5d4a5b3f4969bc9117f0e3f353a298 (patch) | |
tree | e8d7a2e5a3027c2b50da1efd6999c5242eac2607 | |
parent | f49dd0b7823f3a3f136080f784f0430731e86b2d (diff) |
Add 88x31 buttons
-rw-r--r-- | src/includes/buttons.php | 18 | ||||
-rw-r--r-- | src/static/buttons/bestview.gif | bin | 0 -> 15102 bytes | |||
-rw-r--r-- | src/static/buttons/desktop.gif | bin | 0 -> 3275 bytes | |||
-rw-r--r-- | src/static/buttons/macmade-wht.gif | bin | 0 -> 1025 bytes | |||
-rw-r--r-- | src/static/buttons/macos.gif | bin | 0 -> 1641 bytes | |||
-rw-r--r-- | src/static/buttons/neocities-now.gif | bin | 0 -> 1899 bytes | |||
-rw-r--r-- | src/static/buttons/pride.gif | bin | 0 -> 17783 bytes | |||
-rw-r--r-- | src/static/buttons/pronouns.gif | bin | 0 -> 7470 bytes | |||
-rw-r--r-- | src/static/heading.jpg | bin | 0 -> 1263 bytes | |||
-rw-r--r-- | src/static/style.css | 11 | ||||
-rw-r--r-- | src/template.php | 4 |
11 files changed, 32 insertions, 1 deletions
diff --git a/src/includes/buttons.php b/src/includes/buttons.php new file mode 100644 index 0000000..b47b925 --- /dev/null +++ b/src/includes/buttons.php @@ -0,0 +1,18 @@ +<?php +foreach ([ + "pronouns" => "they/them, she/her, he/him", + "bestview" => "Best viewed with Netscape or Internet Explorer", + "neocities-now" => "Neocities, now!", + "macmade-wht" => "Made on a Mac", + "pride" => "Pride, now!", + "desktop" => "Best viewed on Desktop", +] as $src => $alt): +?> +<img src="/static/buttons/<?= htmlentities($src) ?>.gif" + alt="<?= htmlentities($alt) ?>" + width="88" + height="31" + class="web-button" /> +<?php +endforeach; +?> diff --git a/src/static/buttons/bestview.gif b/src/static/buttons/bestview.gif Binary files differnew file mode 100644 index 0000000..80decfa --- /dev/null +++ b/src/static/buttons/bestview.gif diff --git a/src/static/buttons/desktop.gif b/src/static/buttons/desktop.gif Binary files differnew file mode 100644 index 0000000..06620c0 --- /dev/null +++ b/src/static/buttons/desktop.gif diff --git a/src/static/buttons/macmade-wht.gif b/src/static/buttons/macmade-wht.gif Binary files differnew file mode 100644 index 0000000..155e81b --- /dev/null +++ b/src/static/buttons/macmade-wht.gif diff --git a/src/static/buttons/macos.gif b/src/static/buttons/macos.gif Binary files differnew file mode 100644 index 0000000..52d3f72 --- /dev/null +++ b/src/static/buttons/macos.gif diff --git a/src/static/buttons/neocities-now.gif b/src/static/buttons/neocities-now.gif Binary files differnew file mode 100644 index 0000000..0d0d403 --- /dev/null +++ b/src/static/buttons/neocities-now.gif diff --git a/src/static/buttons/pride.gif b/src/static/buttons/pride.gif Binary files differnew file mode 100644 index 0000000..9a48896 --- /dev/null +++ b/src/static/buttons/pride.gif diff --git a/src/static/buttons/pronouns.gif b/src/static/buttons/pronouns.gif Binary files differnew file mode 100644 index 0000000..8599865 --- /dev/null +++ b/src/static/buttons/pronouns.gif diff --git a/src/static/heading.jpg b/src/static/heading.jpg Binary files differnew file mode 100644 index 0000000..13b7ee1 --- /dev/null +++ b/src/static/heading.jpg diff --git a/src/static/style.css b/src/static/style.css index 83f0659..ab2ce4d 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -2,6 +2,12 @@ body { background: #05456a url("background.jpg") top center no-repeat; font: 10pt Verdana; } +h1 { + padding-bottom: 2px; + background: url("heading.jpg") bottom left no-repeat; + font: bold italic 18pt "Trebuchet MS", sans-serif; + color: #05456a; +} a { color: #05456a; } @@ -69,3 +75,8 @@ a { border: none; vertical-align: bottom; } +.web-button { + width: 88px; + height: 31px; + vertical-align: middle; +} diff --git a/src/template.php b/src/template.php index 5fd4f16..6e2ad0c 100644 --- a/src/template.php +++ b/src/template.php @@ -68,8 +68,10 @@ </tr> <tr id="footerRow"> <td id="footerCell"> - Made by Jonas Kohl aka hozyro. This website is + © <?= date("Y") ?>. This website is <a href="https://git.jkohl.link/neocities-site.git">open-source</a>. + <!-- 88x31 buttons!!! --> +<?php include SRCDIR . "/includes/buttons.php"; ?> </td> </tr> </tbody> |