Skip to content

Commit 48aeabc

Browse files
committed
css fixes pt2
1 parent ade11c8 commit 48aeabc

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

src/styles/base.css

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@
2727
.text-glow {
2828
text-shadow: 0 0 10px var(--text-glow);
2929
}
30-
30+
3131
.section-spacing > * + * {
32-
margin-top: 3rem;
32+
margin-top: 1.5rem;
3333
}
34-
34+
3535
.card-spacing > * + * {
36-
margin-top: 2rem;
36+
margin-top: 1rem;
3737
}
38-
38+
3939
.element-spacing > * + * {
40-
margin-top: 1rem;
40+
margin-top: 0.75rem;
4141
}
4242
}
4343

@@ -46,7 +46,7 @@
4646
max-width: 80rem;
4747
margin-left: auto;
4848
margin-right: auto;
49-
padding: 2rem 1rem;
49+
padding: 1.5rem 1rem;
5050
}
5151

5252
.nav-link {
@@ -55,38 +55,36 @@
5555
gap: 0.75rem;
5656
padding: 0.5rem 1rem;
5757
border-radius: 0.5rem;
58-
transition-property: all;
59-
transition-duration: 200ms;
58+
transition: all 0.2s ease;
6059
}
6160

6261
.nav-link:hover {
63-
background-color: rgba(157, 78, 221, 0.1);
62+
background-color: rgba(157, 78, 221, 0.05);
6463
color: var(--accent-neon);
6564
}
6665

6766
.nav-link.active {
68-
background-color: rgba(157, 78, 221, 0.2);
67+
background-color: rgba(157, 78, 221, 0.1);
6968
color: var(--accent-neon);
7069
}
7170

7271
.fox-card {
7372
position: relative;
7473
border-radius: 0.75rem;
75-
padding: 2rem;
76-
transition-property: all;
77-
transition-duration: 300ms;
78-
border: 1px solid rgba(157, 78, 221, 0.2);
79-
background: linear-gradient(135deg, rgba(47, 28, 84, 0.3) 0%, rgba(157, 78, 221, 0.1) 100%);
74+
padding: 1.5rem;
75+
transition: all 0.2s ease;
76+
border: 1px solid rgba(157, 78, 221, 0.1);
77+
background: linear-gradient(135deg, rgba(47, 28, 84, 0.2) 0%, rgba(157, 78, 221, 0.05) 100%);
8078
}
8179

8280
.fox-card:hover {
83-
border-color: rgba(178, 73, 248, 0.4);
84-
box-shadow: 0 0 10px rgba(157, 78, 221, 0.1);
81+
border-color: rgba(157, 78, 221, 0.2);
82+
box-shadow: 0 2px 8px rgba(157, 78, 221, 0.05);
8583
}
8684

8785
.content-grid {
8886
display: grid;
89-
gap: 2rem;
87+
gap: 1.5rem;
9088
grid-template-columns: repeat(1, minmax(0, 1fr));
9189
}
9290

0 commit comments

Comments
 (0)