Refactor styles and imports for consistency and maintainability:
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- **CSS restructuring**: Moved `styles` folder into `src` for better organization. - **Updated imports**: Adjusted component CSS imports to reflect new paths. - **Component tweaks**: - Increased HoverCard width from `350px` to `400px` for better visual balance. - Adjusted Footer layout: reorganized copyright and added email link. - Modified Drinks circle dimensions (from `6em` to `9em`) for improved design. - **Footer styles**: Changed copyright section's layout with top spacing and border adjustments.
This commit is contained in:
34
src/styles/variables.css
Normal file
34
src/styles/variables.css
Normal file
@ -0,0 +1,34 @@
|
||||
:root {
|
||||
/* Colors */
|
||||
--color-background: #000000 !important;
|
||||
--color-text: #f5f5f5;
|
||||
--color-accent-green: #213b28;
|
||||
--color-accent-beige: #ceb39b;
|
||||
--color-accent-green-transparent: rgba(33, 59, 40, 0.95);
|
||||
--color-shadow: rgba(0, 0, 0, 0.2);
|
||||
--color-orange1: #ffa500;
|
||||
|
||||
/* Font Sizes */
|
||||
--font-family-primary: 'Georgia', serif;
|
||||
--font-size-small: 1rem;
|
||||
--font-size-small-medium: 1.2rem;
|
||||
--font-size-medium: 1.5rem;
|
||||
--font-size-large: 2rem;
|
||||
--line-height: 1.6;
|
||||
|
||||
|
||||
--container-width: 100%;
|
||||
--container-max-width: 1600px;
|
||||
--padding-vertical: 2rem;
|
||||
--padding-horizontal: 0;
|
||||
--margin-standard: 1rem;
|
||||
--gap-standard: 30px;
|
||||
|
||||
--border-radius: 8px;
|
||||
--box-shadow: 0 4px 8px var(--color-shadow);
|
||||
--transition-standard: 0.3s ease;
|
||||
|
||||
|
||||
--breakpoint-mobile: 768px;
|
||||
--breakpoint-desktop: 1600px;
|
||||
}
|
||||
Reference in New Issue
Block a user