Skip to content

Commit eb413c9

Browse files
committed
chore: [#111] clean up css
1 parent 64eac3d commit eb413c9

File tree

16 files changed

+41
-132
lines changed

16 files changed

+41
-132
lines changed

src/styles/base/reset.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Reset & Base Styles
3-
========================================================================== */
4-
51
* {
62
box-sizing: border-box;
73
}
@@ -20,30 +16,25 @@ body {
2016
line-height: 1.3;
2117
}
2218

23-
/* Remove default margins */
2419
h1, h2, h3, h4, h5, h6, p, ul, ol, figure {
2520
margin: 0;
2621
}
2722

28-
/* Remove default list styles */
2923
ul, ol {
3024
list-style: none;
3125
padding: 0;
3226
}
3327

34-
/* Better image defaults */
3528
img {
3629
max-width: 100%;
3730
height: auto;
3831
}
3932

40-
/* Better button defaults */
4133
button {
4234
font-family: inherit;
4335
cursor: pointer;
4436
}
4537

46-
/* Better link defaults */
4738
a {
4839
color: inherit;
4940
text-decoration: none;

src/styles/base/typography.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Typography
3-
========================================================================== */
4-
51
/* Headings */
62
h1, h2 {
73
font-family: var(--font-primary);

src/styles/base/variables.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
CSS Custom Properties (Variables)
3-
========================================================================== */
4-
51
:root {
62
/* Colors */
73
--color-primary: #3BFFC5;
@@ -46,7 +42,7 @@
4642
--radius-sm: clamp(15px, 4vw, 18px);
4743
--radius-md: clamp(18px, 5vw, 20px);
4844

49-
/* Breakpoints (for reference in media queries) */
45+
/* Breakpoints */
5046
--bp-mobile: 480px;
5147
--bp-tablet: 768px;
5248
--bp-desktop: 1024px;
@@ -58,7 +54,7 @@
5854
--transition-slow: 0.5s ease;
5955
--transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
6056

61-
/* Z-Index Scale */
57+
/* Z-Index */
6258
--z-background: -1;
6359
--z-base: 0;
6460
--z-content: 1;

src/styles/components/buttons.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Buttons - Simplified to match TypeScript function
3-
========================================================================== */
4-
51
.btn-main {
62
display: inline-block;
73
font-family: var(--font-secondary);

src/styles/components/call-to-action.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Call to Action Component
3-
========================================================================== */
4-
51
.cta-banner {
62
position: relative;
73
width: 100%;
@@ -46,7 +42,6 @@
4642
flex-wrap: wrap;
4743
}
4844

49-
/* -------------------------------------------------------------------------- */
5045
.cta-banner article.right {
5146
margin-left: auto;
5247
padding-left: var(--space-lg);
@@ -57,7 +52,6 @@
5752
padding-right: var(--space-lg);
5853
}
5954

60-
/* -------------------------------------------------------------------------- */
6155
.cta-banner article.right::before {
6256
content: '';
6357
position: absolute;
@@ -81,9 +75,6 @@
8175
}
8276

8377

84-
/* ==========================================================================
85-
Responsive Styles
86-
========================================================================== */
8778

8879
@media (max-width: 1500px) {
8980
.cta-banner {
@@ -119,7 +110,6 @@
119110
}
120111
}
121112

122-
/* -------------------------------------------------------------------------- */
123113
@media (max-width: 768px) {
124114
.cta-banner article {
125115
grid-template-columns: 1fr;

src/styles/components/footer.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Footer Component
3-
========================================================================== */
4-
51
#main-footer {
62
min-height: 75px;
73
width: 85%;
@@ -17,17 +13,17 @@
1713
}
1814

1915
.footer-socials {
20-
order: 1; /* Ensures socials come first */
21-
flex-shrink: 0; /* Prevents shrinking */
16+
order: 1;
17+
flex-shrink: 0;
2218
}
2319

2420
.copyrights {
25-
order: 2; /* Ensures copyrights come second */
21+
order: 2;
2622
margin: 0;
2723
font-size: var(--text-3xs);
2824
text-transform: uppercase;
2925
color: var(--color-text-secondary);
3026
text-align: left;
31-
flex-grow: 1; /* Takes remaining space */
27+
flex-grow: 1;
3228
}
3329
}

src/styles/components/navigation.css

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/* ==========================================================================
2-
Navigation Component
3-
========================================================================== */
4-
1+
/* Desktop Navigation */
52
#top-nav {
63
.bar-box {
74
position: fixed;
@@ -17,7 +14,6 @@
1714
justify-content: space-between;
1815
gap: 50px;
1916
height: 60px;
20-
margin: 0;
2117
padding: 0 35px;
2218
margin: 0;
2319
list-style: none;
@@ -86,8 +82,7 @@
8682
}
8783
}
8884

89-
/* -------------------------------------------------------------------------- */
90-
85+
/* Mobile Navigation */
9186
#mobile-nav {
9287
display: none;
9388
position: fixed;

src/styles/components/socials.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Socials Component
3-
========================================================================== */
4-
51
.social-icons {
62
list-style: none;
73
display: flex;

src/styles/layout/backgrounds.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* ==========================================================================
2-
Backgrounds & Media
3-
========================================================================== */
4-
5-
/* Video backgrounds */
61
.video-background {
72
position: absolute;
83
top: 50%;
@@ -16,7 +11,6 @@
1611
min-height: 100%;
1712
}
1813

19-
/* Canvas backgrounds */
2014
canvas.pixel-grid {
2115
position: absolute;
2216
top: 0;

src/styles/layout/containers.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ==========================================================================
2-
Layout - Containers & Wrappers
3-
========================================================================== */
4-
51
#view {
62
height: 100%;
73
font-family: var(--font-primary);

0 commit comments

Comments
 (0)