From 8ca3a6c0518dc723833f18854ef43d761fdc2580 Mon Sep 17 00:00:00 2001 From: Bastard Operator Date: Sun, 28 Nov 2021 03:04:53 +0100 Subject: [PATCH] Designing /web layout + user nav --- public/css/custom.css | 31 +++++++++++++++++++++++++++++++ public/web/index.php | 13 ++++++++++++- src/views/public/head.php | 2 +- src/views/web/foot.php | 2 ++ src/views/web/head.php | 19 +++++++++++++++++++ 5 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 src/views/web/foot.php create mode 100644 src/views/web/head.php diff --git a/public/css/custom.css b/public/css/custom.css index 2d98bd8..179c0cc 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -21,6 +21,37 @@ .bg-mastodon { background: #3088d4 !important } +header#web table { + width: 100%; + margin: 0; +} + +header#web table td { + padding: 0; + border: none !important; + vertical-align: middle; +} + +header#web table div.profile { + border-radius: 50%; + padding: 3px; + background: linear-gradient(145deg, #ff008f, #f92592, #17f4ff, yellow); +} + +header#web table div.profile > img { + border-radius: 50%; + box-shadow: 0px 0px .4em #00000063; + filter: contrast(30%) brightness(140%); +} + +header#web table span.brand { + color: #3e78a2; + font-size: .9em; + word-wrap: anywhere; + line-height: 1.2em; + top: .4em; +} + /* Public –––––––––––––––––––––––––––––––––––––––––––––––––– */ diff --git a/public/web/index.php b/public/web/index.php index 2f5f51e..40b3099 100644 --- a/public/web/index.php +++ b/public/web/index.php @@ -1,3 +1,14 @@ + + + +
+
+ WEB +
+
+ + + diff --git a/src/views/public/head.php b/src/views/public/head.php index b23b519..b1fb1aa 100644 --- a/src/views/public/head.php +++ b/src/views/public/head.php @@ -1,6 +1,6 @@ -
+
+
+ + + + + + +
+ + + acct ?> + +
+ +
+
+