diff options
| -rwxr-xr-x | aud/index.php | 4 | ||||
| -rwxr-xr-x | credits/index.php | 2 | ||||
| -rwxr-xr-x | img/index.php | 6 | ||||
| -rwxr-xr-x | license/index.php | 4 | ||||
| -rwxr-xr-x | style.css | 4 | ||||
| -rwxr-xr-x | txt/index.php | 4 |
6 files changed, 13 insertions, 11 deletions
diff --git a/aud/index.php b/aud/index.php index b798407..9a91196 100755 --- a/aud/index.php +++ b/aud/index.php @@ -26,7 +26,7 @@ <p>$ pwd</p> <h1 class="title">/log/aud</h1> <p>$ ls -t</p> - <section class="dir"> + <main class="dir"> <?php // Code to automatically populate the page with every mp3 file in the directory. // Should display filename - and date of creation and id3 comment if possible. @@ -50,7 +50,7 @@ echo "<article><span>$fi</span><audio controls><source src='$fi' type='audio/mpeg'>your browser does not support embedded audio.</audio></article>"; } ?> - </section> + </main> <p>$</p> </body> diff --git a/credits/index.php b/credits/index.php index b115c6f..6441c38 100755 --- a/credits/index.php +++ b/credits/index.php @@ -25,6 +25,7 @@ <a href="#3d-assets">3d-assets.yml</a> <a href="#site">site.yml</a> </nav> + <main> <p>$ cat *.yml</p> <section class="dir" id="hextor"> <h2># Hextor</h2> @@ -121,6 +122,7 @@ font: "B612 Mono" editor: "VSCodium"</pre> </section> <p>$</p> + </main> <!--a href="." style="margin-top: 1rem; font-size: 0;"><img src="images/button.png" style="width: 88px;"/></a--> diff --git a/img/index.php b/img/index.php index daa580b..3dc8a8c 100755 --- a/img/index.php +++ b/img/index.php @@ -9,7 +9,7 @@ padding: 1rem; padding-top: 2rem; } - section article.imgs { + .dir article.imgs { display: flex; flex-wrap: wrap; border-bottom: none; @@ -34,7 +34,7 @@ <p>$ pwd</p> <h1 class="title">/log/img</h1> <p>$ ls -t</p> - <section class="dir"> + <main class="dir"> <?php $fp = "/var/www/data/deeptwisty/images.json"; $images = json_decode(file_get_contents($fp)); @@ -68,7 +68,7 @@ } echo "<h2>$pmt</h2><article class='imgs'>".$op; ?> - </section> + </main> <p>$</p> </body> diff --git a/license/index.php b/license/index.php index 691ba31..9eb340b 100755 --- a/license/index.php +++ b/license/index.php @@ -12,11 +12,11 @@ <p>$ pwd</p> <h1 class="title">/inf/license</h1> <p>$ cat license.md</p> - <section class="dir"> + <main class="dir"> <p><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img src="cc4_80x15.png"></a></p> <p>Everything released under the name "arthroplura" is licensed as <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> unless otherwise specified.</p> <p>To request permission for commercial use, contact <a href="mailto:contact@arthroplura.observer">contact@arthroplura.observer</a>.</p> - </section> + </main> <p>$</p> <!--a href="." style="margin-top: 1rem; font-size: 0;"><img src="images/button.png" style="width: 88px;"/></a--> </body> @@ -118,11 +118,11 @@ nav a:focus { :is(.dir, nav):has(:focus) { border-image: var(--gradient) 2; } -section, .dir { +.dir { margin-bottom: 1rem; } -section article { +.dir article { margin: 0; padding: .5rem 0; border-bottom: 1px solid #fff9; diff --git a/txt/index.php b/txt/index.php index 4b38795..ce41a02 100755 --- a/txt/index.php +++ b/txt/index.php @@ -10,7 +10,7 @@ <p>$ pwd</p> <h1 class="title">/log/txt</h1> <p>$ cat sys.log</p> - <section class="dir"> + <main class="dir"> <?php $fp = "/var/www/data/deeptwisty/sys.log"; $content = file_get_contents($fp); @@ -28,7 +28,7 @@ } echo $posts_out; ?> - </section> + </main> <p>$</p> </body> |
