diff --git a/src/App.css b/src/App.css index 9ccfcef..6bd252a 100644 --- a/src/App.css +++ b/src/App.css @@ -1,42 +1,30 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; +@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap'); + +:root { + --bg-color: #050505; + --text-main: #ffffff; + --text-muted: #888888; + --card-bg: rgba(255, 255, 255, 0.03); + --border-color: rgba(255, 255, 255, 0.08); + --accent: #00F0FF; } -.map { - position: absolute; - top: 0; - bottom: 25px; - left: 0; - width: 100%; +[data-theme='light'] { + --bg-color: #F4F4F5; + --text-main: #18181B; + --text-muted: #52525B; + --card-bg: rgba(255, 255, 255, 0.6); + --border-color: rgba(0, 0, 0, 0.08); + --accent: #0070F3; } -.coordinates-container { - position: absolute; - bottom: -2px; +body { + background-color: var(--bg-color); + color: var(--text-main); + transition: background-color 0.5s ease, color 0.5s ease; } -.ol-popup{ - position: absolute; - background-color: white; - padding: 5px; - border-radius: 5px; - border: 1px solid black; - transform: translate(-50%, -100%); - pointer-events: none; - width: 220px; - color: black; -}; - -.input { - margin-bottom: 30px; - padding: 5px 15px; - width: 300px; -} - -.btn { - padding: 5px 10px; - cursor: pointer; -} +/* Hide Scrollbar for cleaner look */ +::-webkit-scrollbar { width: 6px; } +::-webkit-scrollbar-track { background: transparent; } +::-webkit-scrollbar-thumb { background: rgba(128, 128, 128, 0.4); border-radius: 4px; } \ No newline at end of file diff --git a/src/index.css b/src/index.css index 08a3ac9..189b7d3 100644 --- a/src/index.css +++ b/src/index.css @@ -1,68 +1,24 @@ -:root { - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; +/* IMPORTANT: Global Reset */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; +html, body { + width: 100%; + min-height: 100vh; + overflow-x: hidden; /* Prevents horizontal scrollbars */ + background-color: #030303; /* Match your theme.bg color so any loading gaps are black */ + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', + sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; +/* Ensure the React root div also takes full width */ +#root { + width: 100%; min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} +} \ No newline at end of file