From fced59ec001e2f0ede932cd618098db5a96514ef Mon Sep 17 00:00:00 2001
From: olebeck <31539311+olebeck@users.noreply.github.com>
Date: Mon, 19 Sep 2022 18:19:47 +0200
Subject: [PATCH] pretty scroll bar
---
libary.php | 7 +++++--
style.css | 39 +++++++++++++++++++++++++++++++++++----
2 files changed, 40 insertions(+), 6 deletions(-)
diff --git a/libary.php b/libary.php
index d3fe2a4..e6a7628 100755
--- a/libary.php
+++ b/libary.php
@@ -101,7 +101,7 @@ include("header.php");
-
+
@@ -248,6 +248,9 @@ include("header.php");
$isPlayable = $playableList[$titleid] == 1 || file_exists("psdp-packages/".$titleid.".psdp");
$hasSimulator = file_exists("decrypted-files/".$titleid.".zip");
$isPlayablePending = false;
+
+ preg_match('/https?:\/\/(?:www\.)?(.+[^\/])/', $website, $website_array);
+ $websitePretty = $website_array[1];
if($searchUsed)
{
@@ -345,7 +348,7 @@ include("header.php");
diff --git a/style.css b/style.css
index 06457d5..4aa0d06 100755
--- a/style.css
+++ b/style.css
@@ -16,6 +16,7 @@
.sitename > span {
height: 100%;
display: inline-block;
+ position: absolute;
}
.sitemap {
@@ -206,6 +207,10 @@
display: flex;
flex-direction: column;
}
+
+ .psm-game-info > object > a {
+ padding-left: 4px;
+ }
.psm-meta {
backdrop-filter: blur(10px);
@@ -241,9 +246,8 @@
}
.psm-meta > #psm-description{
- margin: 2%;
- font-weight: bold;
- width: 96%;
+ margin: 2% 2% 0%;
+ width: 96%;
}
.psm-meta > #psm-screenshots{
@@ -427,7 +431,6 @@
}
.button-disabled{
-
width: 300px;
height: 50px;
@@ -441,4 +444,32 @@
color: #cfd2d3;
cursor: arrow;
border-radius: 20px;
+ }
+
+ a {
+ user-select: none;
+ }
+
+ .blue-scrollbar::-webkit-scrollbar-track
+ {
+ box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+ background-color: #11101000;
+ border-radius: 10px;
+ }
+
+ .blue-scrollbar::-webkit-scrollbar
+ {
+ width: 10px;
+ background-color: rgba(0,0,0,0);
+ }
+
+ .blue-scrollbar::-webkit-scrollbar-thumb
+ {
+ border-radius: 10px;
+ background-image: linear-gradient(90deg, rgba(245,148,215,1) 0%, rgba(167,234,255,1) 94%);
+ }
+
+ .blue-scrollbar {
+ padding-bottom: 10px;
+ margin-bottom: 2.5%;
}
\ No newline at end of file