From 14d3ed966bbafbcb01182df26fbbe1d5a211f4c2 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Thu, 8 Aug 2024 15:34:32 +0100 Subject: Accessibility stuff --- public/css/master.css | 18 ++++++------- resources/views/components/layout.blade.php | 14 +++++----- resources/views/components/navigation.blade.php | 36 ++++++++++++------------- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/public/css/master.css b/public/css/master.css index fff505d..1dcebd9 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -146,7 +146,7 @@ ul { flex-grow: 1; } -.main { +main { flex-basis: 0; flex-grow: 999; min-inline-size: 50%; @@ -154,18 +154,18 @@ ul { .navbar, .content, -.header, -.footer { +header, +footer { margin: 10px 10px 0 0; } -.header, -.footer, +header, +footer, .navbar { padding: 5px; } -.footer { +footer { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; @@ -173,7 +173,7 @@ ul { grid-row-gap: 0; } -.footer div:last-child { +footer div:last-child { text-align: right; } @@ -209,12 +209,12 @@ a.button:hover img { opacity: 80%; } -.main > .section, +main > .section, .sidebar > .section { margin-bottom: 10px; } -.main > .section:last-child, +main > .section:last-child, .sidebar > .section:last-child { margin-bottom: 0; } diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index 1d1b22d..7e36de5 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -25,9 +25,9 @@
-
+

{{ str_replace("www.", "", Request::getHost()) }}

-
+
-
+
{{ $slot }} -
+
- +
diff --git a/resources/views/components/navigation.blade.php b/resources/views/components/navigation.blade.php index a3d4270..dda02bd 100644 --- a/resources/views/components/navigation.blade.php +++ b/resources/views/components/navigation.blade.php @@ -1,30 +1,30 @@

Navigation:

-- cgit v1.2.3-54-g00ecf