From d9664af85e6a259a5c506271c137d282e00989d8 Mon Sep 17 00:00:00 2001 From: Bartosz Nowak Date: Tue, 13 Aug 2024 18:23:21 +0200 Subject: [PATCH] frontend mobile friendly --- dashboard/src/app/globals.css | 34 +++------------------------------- dashboard/src/app/page.tsx | 6 +++--- 2 files changed, 6 insertions(+), 34 deletions(-) diff --git a/dashboard/src/app/globals.css b/dashboard/src/app/globals.css index 52df725..096ba84 100644 --- a/dashboard/src/app/globals.css +++ b/dashboard/src/app/globals.css @@ -3,17 +3,9 @@ @tailwind utilities; :root { - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 214, 219, 220; - --background-end-rgb: 255, 255, 255; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - } + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; } body { @@ -32,26 +24,6 @@ body { } } -.background { - position: relative; -} - -.background::before { - content: ""; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-image: url("../../public/background.jpg"); - background-size: cover; - background-position: center; - background-repeat: no-repeat; - opacity: 0.2; /* Adjust the opacity as needed */ - filter: blur(5px); - z-index: -1; /* Ensure the image is behind any content in .background */ -} - /* Hide scrollbar for WebKit browsers (Chrome, Safari) */ .scroll-container::-webkit-scrollbar { display: none; /* Hide scrollbar */ diff --git a/dashboard/src/app/page.tsx b/dashboard/src/app/page.tsx index c0d1eb1..9e1c4eb 100644 --- a/dashboard/src/app/page.tsx +++ b/dashboard/src/app/page.tsx @@ -259,9 +259,9 @@ export default function Home() { return ( -
-
-
+
+
+
Zetina network
Prove program Pie