diff --git a/app/View/Components/LastFMCurrent.php b/app/View/Components/LastFMCurrent.php index 85ec378..c74c080 100644 --- a/app/View/Components/LastFMCurrent.php +++ b/app/View/Components/LastFMCurrent.php @@ -16,6 +16,10 @@ public function __construct($track) { $this->track = $track; if (isLegacy()) { $path = parse_url($track["image"], PHP_URL_PATH); + if ($track["image"] === "") { + $this->artUrl = null; + return; + } $this->artUrl = "//".request()->getHttpHost()."/proxy/lastfm/".basename($path); } else { $this->artUrl = $track["image"]; diff --git a/public/css/dirlist.css b/public/css/dirlist.css index 8b8fe39..b63c94b 100644 --- a/public/css/dirlist.css +++ b/public/css/dirlist.css @@ -1,7 +1,7 @@ body { - background-color: #f2efbd; - color: #2a271c; + color: #2f2f42; margin: 20px; + background: #80c9fa url("/images/peek.png") no-repeat bottom right 10px fixed; } img { @@ -9,12 +9,12 @@ img { } a { - color: hsl(183, 93%, 27%); + color: #2f2f42; text-decoration: underline dotted; } a:hover { - color: hsl(183, 93%, 15%); + color: #2f2f42; text-decoration: underline solid; } @@ -47,3 +47,8 @@ .description { font-size: 90%; } +hr { + border: none; + border-bottom: 2px solid #2f2f42; +} + diff --git a/public/css/master.css b/public/css/master.css index 12798de..f8ee557 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -1,14 +1,14 @@ :root { - --background: #f2efbd; - --foreground: #2a271c; - --border-color: #f27405; + --background: hsl(214, 67%, 85%); + --foreground: hsl(214, 20%, 14%); + --border-color: hsl(214, 96%, 48%); --border: var(--border-color) 2px solid; - --shadow-color: hsla(11, 96%, 43%, 0.4); + --shadow-color: hsla(214, 96%, 43%, 0.4); --shadow: drop-shadow(8px 8px var(--shadow-color)); --shadow-small: drop-shadow(3px 3px var(--shadow-color)); - --links: hsl(92, 27%, 22%); - --links-hover: hsl(92, 27%, 15%) - --table-header: hsla(11, 96%, 43%, 0.2); + --links: hsl(214, 27%, 22%); + --links-hover: hsl(214, 27%, 15%); + --table-header: hsla(214, 96%, 43%, 0.2); } /* ───────────────────────────────────── Fonts ────────────────────────────────────── */ @@ -74,7 +74,7 @@ #prideflag { top: 0; right: 0; width: 120px; - transform-origin: 100% 0%; + transform-origin: 100% 0; transition: transform .5s cubic-bezier(.32,1.63,.41,1.01); z-index: 8008135; } @@ -98,24 +98,13 @@ html { body { color: var(--foreground); min-height: 100%; - background-color: hsla(0, 0%, 0%, 0); + background: url('/images/roscoe_tile.jpg'); padding: 5px; - font-family: "PT Serif"; + font-family: "PT Serif", serif; } -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; +img.logo_paw { + filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(300%); } h1, @@ -170,7 +159,7 @@ div.page-container > div:last-child { header { display: grid; - grid-template-columns: 80px 1fr; + grid-template-columns: 64px 1fr; grid-template-rows: 1fr; grid-column-gap: 15px; grid-row-gap: 0; diff --git a/public/favicon-128x128.png b/public/favicon-128x128.png index 9aaa80f..28251df 100644 Binary files a/public/favicon-128x128.png and b/public/favicon-128x128.png differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png index 83af114..388ddf4 100644 Binary files a/public/favicon-16x16.png and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png index 6783a43..2252f28 100644 Binary files a/public/favicon-32x32.png and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico index cf4e2d7..48ce013 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/images/logo-v2.png b/public/images/logo-v2.png new file mode 100644 index 0000000..0edda8f Binary files /dev/null and b/public/images/logo-v2.png differ diff --git a/public/images/peek.png b/public/images/peek.png new file mode 100644 index 0000000..2647658 Binary files /dev/null and b/public/images/peek.png differ diff --git a/resources/views/components/lastfm-current.blade.php b/resources/views/components/lastfm-current.blade.php index a0bfe54..973bbb3 100644 --- a/resources/views/components/lastfm-current.blade.php +++ b/resources/views/components/lastfm-current.blade.php @@ -1,6 +1,8 @@ @if (isLegacy()) - + @if ($artUrl !== null) + + @endif
Album cover for {{ $track[Album cover for {{ $track[ 

{{ $track["header"] }}:

diff --git a/resources/views/components/layout-legacy.blade.php b/resources/views/components/layout-legacy.blade.php index 531d275..56379f9 100644 --- a/resources/views/components/layout-legacy.blade.php +++ b/resources/views/components/layout-legacy.blade.php @@ -18,7 +18,7 @@
wah! (dot moe)
- "i mean it looks alright, but then you realise its all tables" ~ alice + "i mean it looks alright, but then you realise its all tables" ~ alice
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index e960e84..a9a1728 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -27,7 +27,7 @@