Skip to content

Commit 7bdc49a

Browse files
website revamp baby
1 parent 44be30a commit 7bdc49a

1 file changed

Lines changed: 29 additions & 7 deletions

File tree

styles.css

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ main.container {
1919
background: #FFFFFF;
2020
display: flex;
2121
flex-direction: column;
22-
align-items: left;
22+
align-items: center;
2323
}
2424
.profile {
2525
display: flex;
2626
flex-direction: column;
27-
align-items: left;
27+
align-items: center;
28+
text-align: center;
2829
margin-bottom: 32px;
2930
}
3031
.avatar {
@@ -51,33 +52,54 @@ h1 {
5152
.desc {
5253
color: #4a4a4a;
5354
font-size: 1rem;
54-
text-align: left;
55+
text-align: center;
5556
margin-bottom: 0;
5657
line-height: 1.6;
5758
}
5859
.link {
5960
color: #6a6a6a;
6061
text-decoration: none;
6162
font-weight: 500;
62-
transition: color 0.2s ease;
63+
transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
64+
display: inline-flex;
65+
align-items: center;
6366
}
6467
.link:hover {
6568
color: #000000;
66-
transform: translateY(3px);
69+
transform: translateY(-2px);
6770
text-decoration: none;
6871
}
72+
.card {
73+
display: flex;
74+
align-items: left;
75+
background: transparent;
76+
border-radius: 12px;
77+
padding: 14px 18px;
78+
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
79+
text-decoration: none;
80+
color: inherit;
81+
cursor: pointer;
82+
border: none;
83+
}
84+
.card:hover {
85+
transform: translateY(-4px);
86+
box-shadow: 0 10px 22px rgba(0,0,0,0.08);
87+
background: rgba(0,0,0,0.03);
88+
}
6989
.links {
7090
width: 100%;
7191
display: flex;
7292
flex-direction: column;
7393
gap: 18px;
7494
}
7595
footer {
76-
text-align: left;
96+
text-align: center;
7797
margin: 32px 0 18px 0;
7898
color: #7a7a7a;
7999
font-size: 0.97rem;
80-
} @media (max-width: 580px) {
100+
}
101+
102+
@media (max-width: 580px) {
81103
main.container {
82104
margin-top: 18px;
83105
padding: 16px 2vw 18px 2vw;

0 commit comments

Comments
 (0)