From 8c95e4d8b6aba1a36dd70721b0283cdbd6c625d6 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 2 May 2023 12:44:55 +0200 Subject: [PATCH] Coat of paint --- public/style.css | 19 ++++++++++++++++--- view/header.php | 19 +++++++++++++------ view/home.php | 4 +--- view/test.php | 2 +- 4 files changed, 31 insertions(+), 13 deletions(-) diff --git a/public/style.css b/public/style.css index 34cfcd6..d54a858 100644 --- a/public/style.css +++ b/public/style.css @@ -1,6 +1,7 @@ :root { --primary: #fff; - --secondary: #ddd; + --secondary: #eee; + --border: #ccc; --text: #111; --links: #00f; } @@ -9,6 +10,7 @@ :root { --primary: #111; --secondary: #222; + --border: #444; --text: #eee; --links: #aaf; } @@ -19,15 +21,26 @@ body { background: var(--primary); - margin: 0; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; font-size: 1rem; + margin: 0; +} + +main, header > nav { padding: .75rem; max-width: 40rem; margin: auto; } +header { + background: #335; +} +header > nav > a { + color: #eee; + text-decoration: none; +} + a { color: var(--links); } @@ -74,6 +87,6 @@ blockquote { font-style: italic; padding: .5rem; padding-left: 1.25rem; - border-left: .25rem solid var(--secondary); + border-left: .25rem solid var(--border); margin: 0; } \ No newline at end of file diff --git a/view/header.php b/view/header.php index 2c9b856..60afadb 100644 --- a/view/header.php +++ b/view/header.php @@ -9,12 +9,19 @@ if (!isset($is_index)) { - <?=$title?><?php if ($is_index) {echo '';} else {echo ' | Willy\'s Website';}?> + + Willy's Website + + <?=$title?> | Willy's Website + - +
+ +
-

Willy's Website |

- - -
\ No newline at end of file + +

+ \ No newline at end of file diff --git a/view/home.php b/view/home.php index 34682d9..eaa6071 100644 --- a/view/home.php +++ b/view/home.php @@ -1,6 +1,4 @@ - true, 'title' => 'Willy\'s Website']) ?> - -

Willy's Website

+ true]) ?>

More than just willies! Some of the time.

diff --git a/view/test.php b/view/test.php index 8a1e75d..6472a81 100644 --- a/view/test.php +++ b/view/test.php @@ -1,4 +1,4 @@ - 'Test']) ?> + 'The Illusion of Meaning']) ?>
Quote