Skip to content

Commit

Permalink
Merge pull request #11 from RappyBots/feat/customScrollbar
Browse files Browse the repository at this point in the history
Custom scrollbar
  • Loading branch information
RappyTV authored Mar 4, 2024
2 parents a8aefc8 + 260fdaf commit da54820
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 24 deletions.
17 changes: 16 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;

/* Tailwind doesn't support -webkit-scrollbar selectors :pepoSadge: */
body::-webkit-scrollbar {
background-color: transparent;
width: 5.5px;
}

body::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.4);
border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.6);
}
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%sveltekit.head%
</head>

<body data-sveltekit-preload-data="hover">
<body data-sveltekit-preload-data="hover" class="bg-bg-dark text-white">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
4 changes: 2 additions & 2 deletions src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import { page } from '$app/stores';
</script>

<head>
<svelte:head>
<meta property="og:title" content="{$page.status} {$page.error?.message || "Unknown error"}" />
<title>{$page.status} {$page.error?.message || "Unknown error"}</title>
</head>
</svelte:head>

<div class="flex flex-col h-screen justify-center items-center space-y-1">
<div class="text-6xl font-black">
Expand Down
5 changes: 3 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
import "../app.css";
</script>

<div class="bg-bg-dark text-white">
<div>
<Header />

<main class="min-h-screen">
<slot />
</main>

<Footer />
</div>
</div>

4 changes: 2 additions & 2 deletions src/routes/contact/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Contact" />
<title>Boost Notifications - Contact</title>
</head>
</svelte:head>

<RedirectPage url="https://rappytv.com/" />
4 changes: 2 additions & 2 deletions src/routes/docs/privacy/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import Link from "$components/Link.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Privacy Policy" />
<title>Boost Notifications - Privacy Policy</title>
</head>
</svelte:head>

<div class="py-40 px-10 md:px-40 space-y-6">
<div class="text-center text-4xl font-black">
Expand Down
4 changes: 2 additions & 2 deletions src/routes/docs/terms/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import Link from "$components/Link.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Terms of Service" />
<title>Boost Notifications - Terms of Service</title>
</head>
</svelte:head>

<div class="py-40 px-10 md:px-40 space-y-6">
<div class="text-center text-4xl font-black">
Expand Down
4 changes: 2 additions & 2 deletions src/routes/feedback/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Feedback" />
<title>Boost Notifications - Feedback</title>
</head>
</svelte:head>

<RedirectPage url="https://boost-feedback.rappytv.com/" />
4 changes: 2 additions & 2 deletions src/routes/invite/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Invite" />
<title>Boost Notifications - Invite</title>
</head>
</svelte:head>

<RedirectPage url="https://discord.com/api/oauth2/authorize?client_id=1067880912538304583&permissions=8&scope=applications.commands%20bot" />
4 changes: 2 additions & 2 deletions src/routes/review/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Review" />
<title>Boost Notifications - Review</title>
</head>
</svelte:head>

<RedirectPage url="https://top.gg/bot/1067880912538304583#reviews" />
4 changes: 2 additions & 2 deletions src/routes/status/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Status" />
<title>Boost Notifications - Status</title>
</head>
</svelte:head>

<RedirectPage url="https://status.rappytv.com/status/bots" />
4 changes: 2 additions & 2 deletions src/routes/support/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Support" />
<title>Boost Notifications - Support</title>
</head>
</svelte:head>

<RedirectPage url="https://discord.gg/HaddzQrCbG" />
4 changes: 2 additions & 2 deletions src/routes/vote/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import RedirectPage from "$components/RedirectPage.svelte";
</script>

<head>
<svelte:head>
<meta property="og:title" content="Vote" />
<title>Boost Notifications - Vote</title>
</head>
</svelte:head>

<RedirectPage url="https://top.gg/bot/1067880912538304583/vote" />

0 comments on commit da54820

Please sign in to comment.