From aa212554219a05741223aa055fc9029b74523995 Mon Sep 17 00:00:00 2001 From: TheStilbruch Date: Tue, 25 Jun 2019 23:32:55 -0500 Subject: [PATCH] added a box around the header --- core/header.php | 6 +++--- css/main.css | 24 ++++++++++++++++++++++++ login.php | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/core/header.php b/core/header.php index eb9598d..1f534fe 100644 --- a/core/header.php +++ b/core/header.php @@ -10,9 +10,9 @@ $title = $title ?? '~chan'; -
+
- boards: ( + boards: ( b / g @@ -23,7 +23,7 @@ $title = $title ?? '~chan'; ) - links: ( + links: ( home / login diff --git a/css/main.css b/css/main.css index e7fb1d2..bdd6996 100644 --- a/css/main.css +++ b/css/main.css @@ -13,16 +13,40 @@ body { div.main { } +div.box { + border: 1px solid var(--border-color); + background-color: var(--fg-color); + padding: 0 5px; +} + div.error { border: 1px solid #ef5350; background-color: #ff867c; padding: 5px; } +/* make links look better */ +a:link { + text-decoration: none; +} + +a:visited { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +a:active { + text-decoration: underline; +} + /* stuff for input's like the login and post forms */ form.input-form { } + /* not sure if this is the best way to select this but... */ form.input-form table tbody tr td:first-child { border: 1px solid var(--border-color); diff --git a/login.php b/login.php index ddaa75f..400628a 100644 --- a/login.php +++ b/login.php @@ -4,7 +4,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST') { } -$title = "~chan - login" +$title = "~chan - login"; $path = $_SERVER['DOCUMENT_ROOT']; include($path . '/core/header.php'); ?>