style: Refactor global CSS by deleting styles/index.css, updating import paths, and modifying index.css styles.
This commit is contained in:
@@ -4,7 +4,7 @@ import HeroModel from './canvas/HeroModel';
|
||||
import ProductGrid from './components/ProductGrid';
|
||||
import InfoTabs from './components/InfoTabs';
|
||||
import Footer from './components/Footer';
|
||||
import './styles/index.css';
|
||||
import './index.css';
|
||||
import gsap from 'gsap';
|
||||
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
||||
import Lenis from '@studio-freight/lenis'
|
||||
|
||||
@@ -25,8 +25,6 @@ a:hover {
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
place-items: center;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
@@ -40,11 +38,9 @@ h1 {
|
||||
.footer-input {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-bottom: 1px solid #333;
|
||||
color: #fff;
|
||||
padding: 15px 0;
|
||||
font-size: 1.2rem;
|
||||
font-family: inherit;
|
||||
padding: 5px 0;
|
||||
font-size: 0.9rem;
|
||||
flex: 1;
|
||||
outline: none;
|
||||
transition: all 0.3s ease;
|
||||
@@ -56,7 +52,6 @@ h1 {
|
||||
|
||||
.footer-input::placeholder {
|
||||
color: #666;
|
||||
font-size: 1.1rem;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
@@ -64,6 +59,23 @@ h1 {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
/* Footer Links */
|
||||
footer ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: #888;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
footer a:hover {
|
||||
color: #ff4d00;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 8px;
|
||||
border: 1px solid transparent;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
import App from './App.jsx'
|
||||
import './styles/index.css'
|
||||
import './index.css'
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
@import './variables.css';
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-main);
|
||||
font-family: var(--font-main);
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
overflow-x: hidden;
|
||||
/* Hide scrollbar potentially */
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* Utilities */
|
||||
.uppercase {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.mono {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
canvas {
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
/* Utility to hide scrollbar */
|
||||
.hide-scrollbar {
|
||||
-ms-overflow-style: none !important;
|
||||
/* IE and Edge */
|
||||
scrollbar-width: none !important;
|
||||
/* Firefox */
|
||||
}
|
||||
|
||||
.hide-scrollbar::-webkit-scrollbar {
|
||||
display: none !important;
|
||||
}
|
||||
Reference in New Issue
Block a user