diff --git a/app/Helpers/LegacyHelper.php b/app/Helpers/LegacyHelper.php new file mode 100644 index 0000000..7891028 --- /dev/null +++ b/app/Helpers/LegacyHelper.php @@ -0,0 +1,4 @@ +getHost() == "100.92.22.57" || request()->getHost() == "192.168.137.1"); +} diff --git a/app/Providers/HelperServiceProvider.php b/app/Providers/HelperServiceProvider.php new file mode 100644 index 0000000..24c59c5 --- /dev/null +++ b/app/Providers/HelperServiceProvider.php @@ -0,0 +1,20 @@ + div:last-child { + margin-bottom: 0; +} + +table.section { + width: 100%; +} + +table#header td.logo { + width: 75px; +} + +table#header h1, +h2.gb-legacy-warn{ + margin: 0; +} + +table#header td { + vertical-align: center; +} + +td.fullwidth { + width: 100%; +} + +a img { + border:none; +} + +td.footer-buttons { + text-align: right; +} + +/** ------- **/ + +header { + display: grid; + grid-template-columns: 66px 1fr; + grid-template-rows: 1fr; + grid-column-gap: 15px; + grid-row-gap: 0; + align-items: center; +} + +header img { + margin-right: 10px; + image-rendering: pixelated; +} + +header h1 { + margin: 0; + font-style: italic; +} + +header h1, +header p { + display: inline; +} + +main>div { + position: relative; +} + +main>div::after { + display: block; + content: ""; + clear: both; +} + +div#footer { + display: grid; + grid-template-columns: auto 1fr; + grid-template-rows: 1fr; + grid-column-gap: 0; + grid-row-gap: 0; + align-items: center; +} + +div#footer div:last-child { + text-align: right; +} + +div#footer div:last-child img { + image-rendering: pixelated; + margin: 0; + padding: 0; + width: 88px; + height: 31px; +} + +/** Wah! **/ +div.wah { + float: right; + border: #f27405 2px solid; + padding: 5px; + background-color: #f2efbd; +} + +div.wah img { + display: block; +} + +div.wah h3, +div.wah p { + text-align: center; + margin: 5px 0; + font-style: italic; +} + +div.wah p { + margin-bottom: 0; +} + +div.wah img { + width: 250px; +} + +/** Guestbook **/ +table.form input, +table.form textarea, +table.form button { + background-color: #f2efbd; + border: #f27405 2px solid; +} + +table.form input, +table.form textarea { + width: 250px; +} + +table.form textarea { + resize: none; +} + +table.form button:hover { + background-color: #f27405; + color: #f2efbd; + filter: none; +} + +table.form tr td, +table.gb-entry-form-container td:last-child { + vertical-align: top; +} + +div.gb-entry { + border: #f27405 2px solid; + background-color: #f2efbd; + width: 75%; + padding: 10px; +} + +/** Music **/ +table.music-top10 { + border: #f27405 2px solid; + background-color: #f2efbd; + border-collapse: collapse; +} + +table.music-top10 th, +table.music-top10 td { + padding: 2px 5px; +} + +table.music-top10 th:first-child { + text-align: left; +} + +table.music-top10 tr:first-child th { + border-right: #f27405 2px solid; + border-bottom: #f27405 2px solid; +} + +table.music-top10 tr:first-child th:last-child { + border-right: none; +} + +table.music-top10 tr td { + border-right: #f27405 2px solid; +} + +table.music-top10 tr td:last-child { + border-right: none; +} +table.music-top10 tr:first-child th, +table.music-top10 tr td:first-child { + background-color: #d72b04; +} + +div.current-track { + display: grid; + grid-template-columns: 180px auto; + grid-template-rows: 1fr; + grid-column-gap: 10px; + align-items: center; +} + +div.current-track img { + float: left; + border: #f27405 2px solid; + width: 174px; + height: 174px; +} + +/** Bookmarks **/ +div.bookmark-category:first-child h2 { + margin: 0; +} + + + +/* ────────────────────────────────── Rosco & Leko ────────────────────────────────── */ +div.rosco-leko-gallery { + display: flex; + flex-wrap: wrap; + align-items: flex-start; +} + +div.rosco-leko-gallery > div { + border: #f27405 2px solid; + padding: 5px; + background-color: #f2efbd; + margin: 10px; + height: auto; +} + +div.rosco-leko-gallery > div, +div.rosco-leko-gallery > div img { + max-width: 220px; +} diff --git a/public/images/buttons/dimden.gif b/public/images/buttons/dimden.gif new file mode 100644 index 0000000..d5019c8 Binary files /dev/null and b/public/images/buttons/dimden.gif differ diff --git a/resources/views/components/layout-err.blade.php b/resources/views/components/layout-err.blade.php index bffdf98..5c75d0e 100644 --- a/resources/views/components/layout-err.blade.php +++ b/resources/views/components/layout-err.blade.php @@ -20,7 +20,7 @@ Root:    {!! url('') !!}
Path:    @if(Request::path() == "/")/@else/{{ Request::path() }}/@endif
Epoch:   {{ now()->timestamp }}
- Agent:   Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0 + Agent:   {{ request()->userAgent() }}

© RoscoeDaWah 2021-2024

diff --git a/resources/views/components/layout-legacy.blade.php b/resources/views/components/layout-legacy.blade.php new file mode 100644 index 0000000..a73b2c7 --- /dev/null +++ b/resources/views/components/layout-legacy.blade.php @@ -0,0 +1,66 @@ + + + + + + + + + + wah! (dot moe) + + + + @if ($isChristmas)@endif + + + + + + + + +
+ + + + + + + + + + + + + + +
+ {{ $slot }} +
+ + + + + + +
+ +