diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2025-01-30 21:49:15 -0700 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:30:21 -0600 |
| commit | e4772f00c6cd3abe15faf71e701ec65217f05e41 (patch) | |
| tree | 883e07c79c8a4b0ceb65b6bd183522d9cc102890 | |
| parent | e0406f8c60a05887c2670d633d1d8eb58c7332c1 (diff) | |
Seasonal styling changes + credits pertaining to site
| -rwxr-xr-x | aud/index.php | 2 | ||||
| -rwxr-xr-x | credits/index.php | 9 | ||||
| -rwxr-xr-x | favicon.ico | bin | 15086 -> 32038 bytes | |||
| -rwxr-xr-x | img/index.php | 2 | ||||
| -rwxr-xr-x | index.php | 4 | ||||
| -rwxr-xr-x | license/index.php | 2 | ||||
| -rw-r--r-- | seasonal.php | 23 | ||||
| -rwxr-xr-x | txt/index.php | 4 |
8 files changed, 37 insertions, 9 deletions
diff --git a/aud/index.php b/aud/index.php index fe53ce1..4387704 100755 --- a/aud/index.php +++ b/aud/index.php @@ -3,9 +3,9 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> <title>/log/aud</title> <link href="../style.css" rel="stylesheet" type="text/css" media="all"> + <?php include("../seasonal.php"); ?> <style> article { display: flex; diff --git a/credits/index.php b/credits/index.php index 25003d6..657990e 100755 --- a/credits/index.php +++ b/credits/index.php @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>/inf/credits</title> <link href="../style.css" rel="stylesheet" type="text/css" media="all"> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> + <?php include("../seasonal.php"); ?> </head> <body> <nav><a href="../"><<<</a></nav> @@ -23,6 +23,7 @@ <a href="#plugins">plugins.yml</a> <a href="#sample-packs">sample-packs.yml</a> <a href="#3d-assets">3d-assets.yml</a> + <a href="#site">site.yml</a> </nav> <p>$ cat *.yml</p> <section class="dir" id="hextor"> @@ -110,6 +111,12 @@ sources: - "<a href="https://polyhaven.com/">https://polyhaven.com/</a>" - "<a href="https://ambientcg.com/">https://ambientcg.com/</a>"</pre> </section> + <section class="dir" id="site"> + <h2># Site</h2> + <pre> +font: "B612 Mono" +editor: "VSCodium"</pre> + </section> <p>$</p> <!--a href="." style="margin-top: 1rem; font-size: 0;"><img src="images/button.png" style="width: 88px;"/></a--> diff --git a/favicon.ico b/favicon.ico Binary files differindex 8753c65..39ddeb8 100755 --- a/favicon.ico +++ b/favicon.ico diff --git a/img/index.php b/img/index.php index a0e6b61..7b4f61b 100755 --- a/img/index.php +++ b/img/index.php @@ -3,9 +3,9 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> <title>/log/img</title> <link href="../style.css" rel="stylesheet" type="text/css" media="all"> + <?php include("../seasonal.php"); ?> <style> .dir { padding: 1rem; @@ -6,7 +6,7 @@ <title>uServe OS 52.08 LTS "Twisty Tardigrade" Hybrid CLI</title> <meta name="description" content="official website of deep twisty, a musician, we think"> <link href="style.css" rel="stylesheet" type="text/css" media="all"> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> + <?php include("seasonal.php"); ?> <style> a[href="?88x31"] { opacity: 0; @@ -23,7 +23,7 @@ <pre>Current date: <?php echo '3052-'.date("m-d").'@'.date("B"); ?> Uptime: 41,742 weeks, 6 days Terminal: /dev/pts/1</pre> - <p>Welcome.</p> + <p><?php echo($greeting); ?></p> <p>$ hostname -d</p> <h1><span class="title">deep twisty</span><span style="font-size: .75em;">.com</span></h1> <p>$ find ~ -type d</p> diff --git a/license/index.php b/license/index.php index 0647ccb..a029623 100755 --- a/license/index.php +++ b/license/index.php @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>/inf/license</title> <link href="../style.css" rel="stylesheet" type="text/css" media="all"> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> + <?php include("../seasonal.php"); ?> </head> <body> <nav><a href="../"><<<</a></nav> diff --git a/seasonal.php b/seasonal.php new file mode 100644 index 0000000..e137aa8 --- /dev/null +++ b/seasonal.php @@ -0,0 +1,23 @@ +<?php + +$favicon_filename = "/favicon.ico"; +$style = ""; +$greeting = "Welcome."; + +$month = idate("m"); +$day = idate("d"); + +switch($month) { + case 3: + if($day == 31) { + $favicon_filename = "/favicon_transgender.ico"; + $style = ":root { --blue: #5BCEFA; --green: #F5A9B8; --yellow: #FFFFFF; }"; + $greeting = "Trans rights!"; + } + break; +} + +echo("<link rel='icon' type='image/x-icon' href='$favicon_filename'>"); +if($style) { + echo("<style>$style</style>"); +}
\ No newline at end of file diff --git a/txt/index.php b/txt/index.php index 8c6c445..7c8006e 100755 --- a/txt/index.php +++ b/txt/index.php @@ -3,11 +3,9 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" type="image/x-icon" href="/favicon.ico"> <title>/log/txt</title> <link href="../style.css" rel="stylesheet" type="text/css" media="all"> - <style> - </style> + <?php include("../seasonal.php"); ?> </head> <body> <nav><a href="../"><<<</a></nav> |
