diff --git a/.gitignore b/.gitignore index 801bd05..a14cfc4 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,3 @@ yarn-error.log /log /storage /tmp -/public/pub diff --git a/app/View/Components/wah.php b/app/View/Components/wah.php deleted file mode 100644 index c8ee36c..0000000 --- a/app/View/Components/wah.php +++ /dev/null @@ -1,39 +0,0 @@ -json(); - return "https://tinyfox.dev".$data["loc"]; - } catch (Exception $ex) { - return ""; - } - - } - - /** - * Get the view / contents that represent the component. - */ - public function render(): View|Closure|string { - return view('components.wah', [ - 'wah' => $this->getWah(), - ]); - } -} diff --git a/public/css/master.css b/public/css/master.css index 51b6bbd..6c91fc1 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -1,65 +1,75 @@ -:root { - --background: #f2efbd; - --foreground: #2a271c; - --border-color: #f27405; - --border: var(--border-color) 2px solid; - --shadow-color: hsla(11, 96%, 43%, 0.4); - --shadow: drop-shadow(8px 8px var(--shadow-color)); - --shadow-small: drop-shadow(3px 3px var(--shadow-color)); - --links: hsl(183, 93%, 27%); - --links-hover: hsl(183, 93%, 15%); - --table-header: hsla(11, 96%, 43%, 0.2); +@font-face { + font-family: 'BigBlue TerminalPlus'; + src: url('/fonts/BigBlue_TerminalPlus.woff2') format('woff2'), + url('/fonts/BigBlue_TerminalPlus.woff') format('woff'); + font-weight: normal; + font-style: normal; + font-display: swap; } -html { +@font-face { + font-family: pixel nes; + src: url("/fonts/Pixel_NES.eot?") format("eot"), + url("/fonts/Pixel_NES.woff") format("woff"), + url("/fonts/Pixel_NES.ttf") format("truetype"); + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: nec_apc3; + src: url("/fonts/Web437_NEC_APC3_8x16.woff") format("woff"); + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: nec_apc3; + src: url("/fonts/Web437_Nix8810_M16.woff") format("woff"); + font-style: normal; + font-weight: 700; +} + +@supports (-moz-appearance:none) { + h2 { + text-shadow: var(--firefox-shadow) var(--shadow) !important; + } +} + +html, +body, +.container { height: 100%; - color-scheme: light; } body { + background-color: var(--background); color: var(--foreground); - min-height: 100%; - background-color: hsla(0, 0%, 0%, 0); - padding: 10px; } -/*noinspection CssUnknownTarget*/ -body::before { - content: ""; - position: fixed; - top: 0; - left: 0; - background-image: url("/images/background.jpg"); - width: 100%; - height: 100%; - z-index: -1; - opacity: 0.8; - background-size: cover; - background-attachment: fixed; - overflow: hidden; +body, +button, +select { + font-family: russiangothic, ms ui gothic, "nec_apc3", Tahoma, sans-serif; +} + +h1, +h2 { + font-family: "pixel nes", sans-serif; } h1, h2, h3, h4, -h5, -h6 { - margin: 20px 0 0 0; -} - -p, ul, -ol, -dl, -menu, -dir { +p { margin: 0; } hr { border: none; - border-top: var(--border); + border-top: 1px solid var(--foreground); } a { @@ -68,170 +78,266 @@ a { } a:hover { - color: var(--links-hover); - text-decoration: underline solid; + text-decoration: underline; } -div.page-container { - width: 800px; - margin: 5px auto; +ul { + list-style: square; + padding-left: 0; + list-style-position: inside; } -div.page-container > div { - background-color: var(--background); - filter: var(--shadow); - padding: 10px; - border: var(--border); - margin-bottom: 20px; - /* temporary */ - /* height: 600px; */ +.container { + display: flex; + /*align-items: center;*/ + justify-content: center; } -div.page-container > div:last-child { - margin-bottom: 0; +.page { + min-width: var(--page-width); + max-width: var(--page-width); } -div#header h1 { +.navbar { + border: var(--foreground) solid 1px; +} + +.navbar ul { + list-style-type: none; margin: 0; - font-style: italic; + padding: 0; + overflow: hidden; } -div#header h1, -div#header p { - display: inline; +.navbar li { + float: left; + border-right: solid var(--foreground) 1px; } -div#content { - position: relative; -} - -div#content::after { +.navbar li a { display: block; - content: ""; - clear: both; -} - -div.wah { - float: right; - border: var(--border); - padding: 5px; - filter: var(--shadow-small); - background-color: var(--background); -} - -div.wah img { - display: block; -} - -div.wah h3, -div.wah p { text-align: center; - margin: 5px 0; - font-style: italic; + color: var(--foreground); + text-decoration: none; + padding: 5px 7px 5px 5px; } -div.wah p { - margin-bottom: 0; +.navbar li a:hover { + background-color: var(--foreground); + color: var(--background); } -div.wah img { - width: 250px; +.pathbar { + border: 1px solid var(--foreground); + padding: 5px; } -div#footer { +.content { + display: flex; + flex-wrap: wrap; + gap: 10px; + padding: 0; +} + +.section { + border: var(--foreground) 1px solid; + padding: 10px; +} + +.sidebar { + flex-basis: var(--sidebar-width); + flex-grow: 1; +} + +main { + flex-basis: 0; + flex-grow: 999; + min-inline-size: 50%; +} + +.navbar, +.content, +header, +footer { + margin: 10px 10px 0 0; +} + +header, +footer, +.navbar { + padding: 5px; +} + +footer { display: grid; - grid-template-columns: auto 1fr; + grid-template-columns: repeat(2, auto); grid-template-rows: 1fr; - grid-column-gap: 0px; - grid-row-gap: 0px; - align-items: center; + grid-column-gap: 0; + grid-row-gap: 0; } -div#footer div:last-child { +footer div:last-child { text-align: right; } -div#footer div:last-child img { - image-rendering: pixelated; - margin: 0; - padding: 0; - width: 88px; - height: 31px; +select { + background-color: var(--background-secondary); + border: 1px solid var(--foreground); + color: var(--foreground); + padding: 0.25em; } -/** Guestbook **/ -table.form input, -table.form textarea, -table.form button { +button { background-color: var(--background); - border: var(--border); - filter: var(--shadow-small); + color: var(--foreground); + border: 1px solid var(--foreground); + padding: 0.25em 0.5em; } -table.form input, -table.form textarea { - width: 250px; -} - -table.form button:hover { - background-color: var(--border-color); +button:hover { + background-color: var(--foreground); color: var(--background); - filter: none; } -table.form tr td, -table.gb-entry-form-container td:last-child { - vertical-align: top; +img.pixel { + image-rendering: pixelated; } -div.gb-entry { - border: var(--border); - filter: var(--shadow-small); - background-color: var(--background); - width: 75%; - padding: 10px; +a.button, +a.button:hover { + text-decoration: none; } -/** Music **/ -table.music-top10 { - border: var(--border); - filter: var(--shadow-small); - background-color: var(--background); - border-collapse: collapse; +a.button:hover img { + opacity: 80%; } -table.music-top10 th, -table.music-top10 td { - padding: 2px 5px; +main > .section, +.sidebar > .section { + margin-bottom: 10px; } -table.music-top10 th:first-child { - text-align: left; +main > .section:last-child, +.sidebar > .section:last-child { + margin-bottom: 0; } -table.music-top10 tr:first-child th { - border-right: var(--border); - border-bottom: var(--border); +.navbar-icon { + margin-right: 0.25em; } -table.music-top10 tr:first-child th:last-child { - border-right: none; +.navlinks { + padding-left: 10px; } -table.music-top10 tr td { - border-right: var(--border); +.online-status { + display: inline; } -table.music-top10 tr td:last-child { - border-right: none; +.centerbox { + text-align: center; } -table.music-top10 tr:first-child th, -table.music-top10 tr td:first-child { - background-color: var(--table-header); + +.quote { + padding-left: 10px; + border-left: solid 2px var(--foreground); +} + +.music-top10 { + width: 100%; +} + +.music-top10 td, +.music-top10 th { + border: none; + border-left: 1px dotted var(--foreground); + padding: 2px 5px +} + +.music-top10 tr:nth-child(1) th { + border-bottom: 1px dotted var(--foreground); +} + +.music-top10 tr:nth-child(2) td { + padding-top: 5px; +} + +.music-top10 td:first-child, +.music-top10 th:first-child { + border: none; +} + +.music-top10 tr th:first-child { + text-align: right; +} + +.music-top10 td { + max-width: 200px; + white-space: nowrap; + text-overflow:ellipsis; + overflow: hidden; +} + +.music-top10 tr td:first-child { + text-align: right; +} + +.music-top10 tr td:nth-child(2), +.music-top10 tr td:nth-child(3) { } -/** Bookmarks **/ -div.bookmark-category:first-child h2 { +.current-track h2 { margin: 0; } + +table.computers { + table-layout: auto; + width: 75%; +} + +table.computers td ul { + margin: 0; + padding-left: 20px; +} + +table.computers .section-title { + text-decoration: underline; + font-style: italic; + font-weight: bold; +} + +table.computers p.description { + font-style: italic; + margin: 5px 0 2px 0; +} + +table.computers th { + background-color: var(--background-secondary); +} + +table.computers td:first-child { + white-space: nowrap; +} + +table.computers td, +table.computers th { + border: var(--foreground) solid 1px; + padding: 5px; +} + +.calculator-spec-table td { + border: var(--foreground) solid 1px; +} + +.calculator-spec-table td { + padding: 5px 10px 5px 5px; +} + +.calculator-spec-table tr td:first-child { + background-color: var(--background-secondary); +} + +.sidebar > .section > button { + margin-top: 5px; +} diff --git a/public/images/background.jpg b/public/images/background.jpg deleted file mode 100644 index 4e94b27..0000000 Binary files a/public/images/background.jpg and /dev/null differ diff --git a/public/images/background.svg b/public/images/background.svg deleted file mode 100644 index a3244dd..0000000 --- a/public/images/background.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/images/buttons/csshard.gif b/public/images/buttons/csshard.gif deleted file mode 100644 index 24fb8d5..0000000 Binary files a/public/images/buttons/csshard.gif and /dev/null differ diff --git a/public/images/buttons/thnlqd.png b/public/images/buttons/thnlqd.png deleted file mode 100644 index ec17caa..0000000 Binary files a/public/images/buttons/thnlqd.png and /dev/null differ diff --git a/public/images/buttons/transrights.gif b/public/images/buttons/transrights.gif deleted file mode 100644 index 7f705aa..0000000 Binary files a/public/images/buttons/transrights.gif and /dev/null differ diff --git a/public/images/buttons/yuri.gif b/public/images/buttons/yuri.gif deleted file mode 100644 index 3e3c5d6..0000000 Binary files a/public/images/buttons/yuri.gif and /dev/null differ diff --git a/public/images/noik.png b/public/images/noik.png deleted file mode 100644 index 42b94a4..0000000 Binary files a/public/images/noik.png and /dev/null differ diff --git a/public/pub b/public/pub new file mode 120000 index 0000000..dfdd58e --- /dev/null +++ b/public/pub @@ -0,0 +1 @@ +/srv/pubfiles \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml index b36b17e..45b926a 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,27 +3,37 @@ https://www.diskfloppy.me/ - 2024-11-27T23:59:26+00:00 + 2024-09-01T17:44:54+01:00 1.0 https://www.diskfloppy.me/pub/ - 2024-11-27T23:59:26+00:00 + 2024-09-01T17:44:54+01:00 0.8 + + https://www.diskfloppy.me/computers + 2024-09-01T17:44:56+01:00 + 1.0 + + + https://www.diskfloppy.me/calculators + 2024-09-01T17:44:56+01:00 + 1.0 + https://www.diskfloppy.me/bookmarks - 2024-11-27T23:59:26+00:00 + 2024-09-01T17:44:57+01:00 1.0 https://www.diskfloppy.me/guestbook - 2024-11-27T23:59:26+00:00 + 2024-09-01T17:44:57+01:00 1.0 https://www.diskfloppy.me/music - 2024-11-27T23:59:26+00:00 + 2024-09-01T17:44:58+01:00 1.0 - + \ No newline at end of file diff --git a/resources/views/bookmarks.blade.php b/resources/views/bookmarks.blade.php index 24c0a05..f75e9b4 100644 --- a/resources/views/bookmarks.blade.php +++ b/resources/views/bookmarks.blade.php @@ -1,7 +1,7 @@ Bookmarks @foreach($categories as $category) -
+

{{ $category->name }}

@if($category->id == 1)

(These are shuffled every load)

diff --git a/resources/views/components/current-track.blade.php b/resources/views/components/current-track.blade.php index 50d3367..0770240 100644 --- a/resources/views/components/current-track.blade.php +++ b/resources/views/components/current-track.blade.php @@ -1,4 +1,4 @@ -
+ diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index 199ee55..2ac3632 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -1,3 +1,6 @@ +@php // Get colorscheme from cookie and apply immediately + $colorscheme = request()->cookie('colorscheme', 'catppuccin-macchiato'); +@endphp @@ -5,10 +8,13 @@ - + + + + {!! (intval(date('n')) == 12) ? '' : '' !!} @@ -16,41 +22,83 @@ - -
-