From feb2e202fe8fae65912400af34125bb18e24d400 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Sat, 28 Sep 2024 01:27:52 +0300 Subject: [PATCH] prettyyyyy --- index.php | 4 ++-- style.css | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 601fb9f..d4596d5 100755 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@
-

Snuffler

+
Snuffler

@@ -32,7 +32,7 @@ if(!$database) { //$database->addPost("Test post", 0); -$posts = $database->getPosts(); +$posts = array_reverse($database->getPosts()); //var_dump($posts); foreach($posts as $post) { echo '
'; diff --git a/style.css b/style.css index f8bc043..cef0acf 100644 --- a/style.css +++ b/style.css @@ -7,13 +7,26 @@ hr { border-color: #584200; } +#titlebox { + font-size: 5em; + text-align: center; +} +#titlebox > img { + display: inline-block; + height: 1em; +} #centerbox { margin: auto; max-width: 50em; } +#postform { + + margin: 1em; +} #postformtextarea { box-sizing: border-box; width: 100%; + border-radius: 1em; } #postformactionrow { text-align: right; @@ -22,7 +35,9 @@ hr { .post { border-style: solid; border-width: 1px; - padding: .5em; + padding: 1em; + margin: 1em; + border-radius: 1em; /* margin: auto; max-width: 50em;