Skip to content

Commit 3f4d05c

Browse files
committed
website redesign
1 parent 2a2494e commit 3f4d05c

54 files changed

Lines changed: 1934 additions & 1156 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

components/Achievements/Achievements.module.scss

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,60 @@
11
@import '../variables';
22

3+
.achievements {
4+
width: min(1200px, 92%);
5+
margin: 0 auto;
6+
padding-bottom: clamp(2.2rem, 5vw, 4rem);
7+
}
8+
39
.achYear {
4-
width: 100%;
5-
margin: 50px auto;
10+
margin-top: clamp(1.2rem, 3vw, 2rem);
611

712
h3 {
813
text-align: center;
9-
width: 40%;
10-
margin: auto;
11-
color: $light;
12-
font-size: 1.8rem;
13-
border-bottom: 2px solid $light;
14-
15-
padding: {
16-
bottom: 10px;
17-
}
14+
width: fit-content;
15+
margin: 0 auto;
16+
color: #2a2928;
17+
font-family: 'IBM Plex Mono', monospace;
18+
font-size: 0.72rem;
19+
letter-spacing: 0.1em;
20+
text-transform: uppercase;
21+
border: 1px dashed rgba(42, 41, 40, 0.34);
22+
border-radius: 999px;
23+
padding: 0.45rem 0.8rem;
1824
}
1925

2026
.achList {
27+
margin-top: 0.85rem;
2128
width: 100%;
22-
padding: 1em;
23-
24-
display: flex;
25-
justify-content: center;
26-
flex-wrap: wrap;
29+
display: grid;
30+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
31+
gap: 0.9rem;
2732

2833
.ach {
29-
width: 300px;
30-
height: 360px;
31-
margin: 30px;
34+
@include tech-card;
35+
min-height: 340px;
36+
padding: 0.75rem;
37+
display: flex;
38+
flex-direction: column;
39+
justify-content: flex-start;
3240

33-
// background-color: rebeccapurple;
3441
.achImg {
35-
height: 70%;
36-
37-
background-size: contain;
42+
width: 100%;
43+
aspect-ratio: 4 / 3;
44+
border-radius: 10px;
45+
background-size: cover;
3846
background-position: center;
3947
background-repeat: no-repeat;
48+
border: 1px solid rgba(42, 41, 40, 0.12);
4049
}
4150

4251
.achName {
43-
padding-top: 10px;
44-
height: 30%;
45-
text-align: center;
52+
margin-top: 0.7rem;
53+
text-align: left;
54+
color: #2a2928;
55+
font-family: 'Inter', sans-serif;
56+
font-size: 0.95rem;
57+
line-height: 1.55;
4658
}
4759
}
4860
}

components/Activities/Activities.module.scss

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@import '../variables';
22

33
.projectBar {
4-
width: 95vw;
5-
max-width: none;
4+
width: min(1200px, 92%);
5+
max-width: 1200px;
66
padding: 1em 1.5em;
77
margin: 1.5em auto 0;
88

@@ -13,8 +13,9 @@
1313
justify-content: space-between;
1414
align-items: center;
1515

16-
border: 2px solid $light;
17-
border-radius: 20px;
16+
border: 1px solid rgba(42, 41, 40, 0.2);
17+
border-radius: 999px;
18+
background: rgba(255, 252, 243, 0.86);
1819

1920
-ms-overflow-style: none;
2021
scrollbar-width: none;
@@ -27,24 +28,27 @@
2728
flex: 1 1 0;
2829
padding: 0.7em 0.5em;
2930
text-align: center;
30-
font-size: 1.1rem;
31+
font-size: 0.68rem;
32+
font-family: 'IBM Plex Mono', monospace;
33+
letter-spacing: 0.08em;
34+
text-transform: uppercase;
35+
color: #2a2928;
3136
transition: all 0.3s ease;
32-
border-radius: 10px;
37+
border-radius: 999px;
3338
cursor: pointer;
3439
white-space: nowrap;
3540

3641
&:hover {
37-
background-color: rgba(255, 255, 255, 0.1);
42+
background-color: rgba(42, 41, 40, 0.08);
3843
transform: translateY(-2px);
3944
}
4045
}
4146

4247
.activeTag {
4348
background-color: $light;
44-
color: $white;
45-
font-weight: bold;
46-
transform: scale(1.05);
47-
box-shadow: 0 4px 15px rgba(247, 28, 50, 0.4);
49+
color: #fbf8ef;
50+
transform: scale(1.02);
51+
box-shadow: 0 8px 18px rgba(198, 72, 44, 0.28);
4852
}
4953

5054
.carousel {
@@ -53,7 +57,7 @@
5357
align-items: center;
5458
justify-content: center;
5559
height: calc(100vh - 200px);
56-
max-width: 95vw;
60+
max-width: min(1200px, 92%);
5761
margin: 0 auto;
5862
padding: 1rem 4rem;
5963
}
@@ -65,7 +69,7 @@
6569
transform: translateY(-50%);
6670
background: transparent;
6771
border: none;
68-
color: $white;
72+
color: #2a2928;
6973
font-size: 2rem;
7074
cursor: pointer;
7175
z-index: 10;
@@ -155,14 +159,16 @@
155159
overflow-y: auto;
156160

157161
h2 {
158-
font-size: 1.6rem;
162+
font-size: 1.65rem;
163+
font-family: 'Fraunces', serif;
164+
color: #2a2928;
159165
margin-bottom: 0.5rem;
160166
}
161167

162168
p {
163-
font-size: 1rem;
169+
font-size: 0.95rem;
164170
line-height: 1.75;
165-
opacity: 0.85;
171+
color: #4a4948;
166172
}
167173
}
168174

@@ -173,7 +179,7 @@
173179

174180
a {
175181
font-size: 1.2rem;
176-
color: $white;
182+
color: #2a2928;
177183
transition: color 0.2s;
178184

179185
&:hover {
@@ -226,7 +232,7 @@
226232
width: 10px;
227233
height: 10px;
228234
border-radius: 50%;
229-
border: 1px solid rgba($white, 0.5);
235+
border: 1px solid rgba(42, 41, 40, 0.32);
230236
background: transparent;
231237
cursor: pointer;
232238
padding: 0;
Lines changed: 47 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,92 @@
11
@import '../variables';
22

33
.filter {
4+
width: min(1200px, 92%);
5+
margin: 1.4rem auto 0;
46
display: flex;
57
align-items: center;
68
justify-content: space-between;
7-
padding: 2rem;
8-
gap: 2rem;
9+
padding: 0;
10+
gap: 0.75rem;
911

1012
.search {
11-
background-color: #0d0d0d;
12-
border: 1px solid #0d0d0d;
13+
background: rgba(255, 252, 243, 0.9);
14+
border: 1px solid rgba(42, 41, 40, 0.2);
1315
flex: 1;
14-
padding: 0.75rem;
15-
font-size: 1.35rem;
16-
font-family: 'Tomorrow', sans-serif;
17-
border-radius: 5px;
18-
color: #f5f5f5;
16+
padding: 0.72rem 0.95rem;
17+
font-size: 0.96rem;
18+
font-family: 'Inter', sans-serif;
19+
border-radius: 999px;
20+
color: #2a2928;
1921
}
2022

2123
.dropdown {
2224
position: relative;
2325

2426
button {
25-
font-size: 1.35rem;
26-
font-family: 'Tomorrow', sans-serif;
27-
border-radius: 5px;
28-
color: #f5f5f5;
29-
background-color: #0d0d0d;
30-
border: 1px solid #0d0d0d;
31-
padding: 0.75rem;
27+
font-size: 0.68rem;
28+
font-family: 'IBM Plex Mono', monospace;
29+
letter-spacing: 0.08em;
30+
text-transform: uppercase;
31+
border-radius: 999px;
32+
color: #2a2928;
33+
background: rgba(255, 252, 243, 0.9);
34+
border: 1px solid rgba(42, 41, 40, 0.2);
35+
padding: 0.75rem 0.94rem;
3236
cursor: pointer;
3337
}
3438

3539
.options {
3640
position: absolute;
37-
margin-top: 2rem;
38-
z-index: 3;
39-
font-family: 'Tomorrow', sans-serif;
41+
right: 0;
42+
margin-top: 0.56rem;
43+
z-index: 6;
44+
font-family: 'IBM Plex Mono', monospace;
4045
display: none;
4146
flex-direction: column;
42-
width: 10rem;
47+
width: 11rem;
4348
max-height: 20rem;
4449
overflow-y: scroll;
45-
border-radius: 5px;
50+
border-radius: 14px;
51+
border: 1px solid rgba(42, 41, 40, 0.18);
52+
background: rgba(255, 252, 243, 0.98);
53+
box-shadow: 0 16px 34px rgba(42, 41, 40, 0.14);
4654

4755
.option {
48-
background-color: #0d0d0d;
49-
color: #f5f5f5;
50-
padding: 0.75rem;
51-
font-size: 1rem;
56+
color: #2a2928;
57+
padding: 0.74rem;
58+
font-size: 0.65rem;
59+
letter-spacing: 0.06em;
60+
border-top: 1px solid rgba(42, 41, 40, 0.09);
5261
width: 100%;
5362
text-align: center;
5463
}
5564

65+
.option:first-child {
66+
border-top: 0;
67+
}
68+
5669
.option:hover {
57-
background-color: #1a1a1a;
70+
background: rgba(42, 41, 40, 0.08);
5871
cursor: pointer;
5972
}
6073
}
6174
}
6275

6376
@media (max-width: 650px) {
77+
margin-top: 1rem;
6478
flex-direction: column;
79+
align-items: stretch;
6580
}
6681
}
6782

6883
.cardGrp {
84+
width: min(1200px, 92%);
85+
margin: 0.75rem auto 0;
6986
display: grid;
7087
grid-template-columns: 1fr 1fr 1fr 1fr;
71-
gap: 2rem;
72-
padding: 2rem;
88+
gap: 1rem;
89+
padding: 0 0 clamp(2rem, 5vw, 3.8rem);
7390

7491
@media (max-width: 850px) {
7592
grid-template-columns: 1fr 1fr;
@@ -81,6 +98,6 @@
8198
}
8299

83100
.selYear {
84-
margin-left: 1.25rem;
85-
color: #f5f5f5;
101+
margin-left: 0.5rem;
102+
color: #706f6b;
86103
}

0 commit comments

Comments
 (0)