diff options
| -rwxr-xr-x | aud/index.php | 12 | ||||
| -rw-r--r-- | boilerplate.php (renamed from seasonal.php) | 11 | ||||
| -rwxr-xr-x | img/index.php | 13 | ||||
| -rwxr-xr-x | img/json.php | 2 | ||||
| -rwxr-xr-x | index.php | 7 | ||||
| -rwxr-xr-x | txt/index.php | 6 |
6 files changed, 18 insertions, 33 deletions
diff --git a/aud/index.php b/aud/index.php index 9827322..824efb1 100755 --- a/aud/index.php +++ b/aud/index.php @@ -1,17 +1,9 @@ <!DOCTYPE html> <html> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <?php include("boilerplate.php"); ?> <title>/log/aud</title> - <link href="../style.css" rel="stylesheet" type="text/css" media="all"> - <?php - include("../seasonal.php"); - - // ini_set('display_errors', 1); - // ini_set('display_startup_errors', 1); - // error_reporting(E_ALL); - ?> + <meta name="description" content="musical junk pile"> <style> .dir > article { display: flex; diff --git a/seasonal.php b/boilerplate.php index 5e9ab67..dc3c2df 100644 --- a/seasonal.php +++ b/boilerplate.php @@ -1,3 +1,7 @@ +<meta charset="UTF-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> +<link href="/style.css" rel="stylesheet" type="text/css" media="all"> + <?php $fun = rand(0,8192); @@ -9,12 +13,13 @@ $month = idate("m"); $day = idate("d"); if($month == 6 || ($month == 3 && $day == 31)) { - $favicon_filename = "/favicon.ico";#"/favicon_transgender.ico"; - $style = ":root { --blue: #5BCEFA; --green: #F5A9B8; --yellow: #FFFFFF; }"; + #$favicon_filename = "/favicon_transgender.ico"; + $style = ":root { --gradient: linear-gradient(135deg, #5BCEFA 0%, #5BCEFA 35%, #F5A9B8 65%, #FFFFFF 90%); }"; $greeting = "Trans rights!"; } echo("<link rel='icon' type='image/x-icon' href='$favicon_filename'>"); if($style) { echo("<style>$style</style>"); -}
\ No newline at end of file +} +?>
\ No newline at end of file diff --git a/img/index.php b/img/index.php index d438a56..4a2bef1 100755 --- a/img/index.php +++ b/img/index.php @@ -1,22 +1,15 @@ <!DOCTYPE html> <html> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <?php include("boilerplate.php"); ?> <title>/log/img</title> - <link href="../style.css" rel="stylesheet" type="text/css" media="all"> - <?php - include("../seasonal.php"); - // ini_set('display_errors', 1); - // ini_set('display_startup_errors', 1); - // error_reporting(E_ALL); - ?> + <meta name="description" content="visual art"> <style> .dir { padding: 1rem; padding-top: 2rem; } - article.imgs { + section article.imgs { display: flex; flex-wrap: wrap; border-bottom: none; diff --git a/img/json.php b/img/json.php index 1fff451..98b5f30 100755 --- a/img/json.php +++ b/img/json.php @@ -1,4 +1,4 @@ -<?php +<?php // I don't know what this does anymore and I'm a little scared to touch it $allimages = array(); $imagetimes = array(); header("Content-type: application/json; charset=utf-8"); @@ -1,12 +1,9 @@ <!DOCTYPE html> <html lang="en"> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>uServe OS 52.08 LTS "Twisty Tardigrade" Hybrid CLI</title> + <?php include("boilerplate.php"); ?> + <title>uServe OS 52.08 LTS "Twisty Tardigrade" Hybrid CLI</title></style> <meta name="description" content="official website of arthroplura, a musician, we think"> - <link href="style.css" rel="stylesheet" type="text/css" media="all"> - <?php include("seasonal.php"); ?> <style> a[href="?88x31"] { opacity: 0; diff --git a/txt/index.php b/txt/index.php index 8cfb5b9..034a333 100755 --- a/txt/index.php +++ b/txt/index.php @@ -1,11 +1,9 @@ <!DOCTYPE html> <html> <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <?php include("boilerplate.php"); ?> <title>/log/txt</title> - <link href="../style.css" rel="stylesheet" type="text/css" media="all"> - <?php include("../seasonal.php"); ?> + <meta name="description" content="noteworthy excerpts of log output"> </head> <body> <nav><a href="../"><<<</a></nav> |
