From 6300a2d6966dfd5bf1e48808d8c8c1ceab7610c5 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Tue, 15 Aug 2023 00:13:53 +0100 Subject: Improve table accessibility --- public/css/master.css | 10 ++++++ resources/views/pages/admin/guestbook.blade.php | 2 +- resources/views/pages/bookmarks.blade.php | 14 +++------ resources/views/pages/home.blade.php | 42 +++++++------------------ resources/views/pages/weather.blade.php | 14 +++------ 5 files changed, 31 insertions(+), 51 deletions(-) diff --git a/public/css/master.css b/public/css/master.css index 347d65c..dffc9ad 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -416,6 +416,7 @@ table.gb-admin tr td.gb-message { border-top: none; vertical-align: top; padding: 5px; + column-span: 2; } table.infotable tr td { @@ -430,6 +431,15 @@ table.infotable tr td small { margin: 0; } +caption h1, +caption h2 { + margin: 0; +} + +caption { + text-align: left; +} + table.infotable tr td small { margin-bottom: 5px; } diff --git a/resources/views/pages/admin/guestbook.blade.php b/resources/views/pages/admin/guestbook.blade.php index d510910..85460cc 100644 --- a/resources/views/pages/admin/guestbook.blade.php +++ b/resources/views/pages/admin/guestbook.blade.php @@ -22,7 +22,7 @@ - +
{{ htmlspecialchars($entry->message) }} diff --git a/resources/views/pages/bookmarks.blade.php b/resources/views/pages/bookmarks.blade.php index cbc67ee..01d11bc 100644 --- a/resources/views/pages/bookmarks.blade.php +++ b/resources/views/pages/bookmarks.blade.php @@ -13,16 +13,10 @@ @foreach ($categories as $category) - - - - - - + @php $sites = DB::select( diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php index 89849b3..5a61de8 100644 --- a/resources/views/pages/home.blade.php +++ b/resources/views/pages/home.blade.php @@ -8,16 +8,10 @@
-

{{ $category->name }}

-
-
-
+

{{ $category->name }}

+
+
- - - - - - + @@ -34,16 +28,10 @@
-

Fun Facts

-
-
-
+

Fun Facts

+
+
◆ I am (unfortunately) British
- - - - - - + @@ -60,16 +48,10 @@
-

Interests

-
-
-
+

Interests

+
+
Tech Theatre - Lighting, Stage Management, etc.
- - - - - - + diff --git a/resources/views/pages/weather.blade.php b/resources/views/pages/weather.blade.php index 40a89f5..6f67b80 100644 --- a/resources/views/pages/weather.blade.php +++ b/resources/views/pages/weather.blade.php @@ -18,16 +18,10 @@ $updated = gmdate('H:i Y-m-d', $data->updated); $data = $data->current; @endphp
-

Contact & social

-
-
-
+

Contact & social

+
+
E-mail: contact@diskfloppy.me
- - - - - - + -- cgit v1.2.3-54-g00ecf
-

Local Weather

-
-
-
+

Local Weather

+
+
Wind Speed: {{ $data->wind->speed }} mph