Skip to content

Commit 16cb642

Browse files
authored
Update style.css
1 parent a80c542 commit 16cb642

File tree

1 file changed

+58
-25
lines changed

1 file changed

+58
-25
lines changed

style.css

Lines changed: 58 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@
55
box-sizing: border-box;
66
}
77

8+
/* Global */
89
body {
9-
font-family: "Segoe UI", Arial, sans-serif;
10-
background: linear-gradient(135deg, #f4f7fa, #e6eef5);
10+
font-family: "Inter", "Segoe UI", Arial, sans-serif;
11+
background: linear-gradient(135deg, #f8fafc, #eef2f7);
1112
color: #333;
1213
line-height: 1.6;
1314
}
1415

15-
a {
16-
text-decoration: none;
17-
}
18-
1916
/* Layout */
2017
.container {
2118
display: flex;
@@ -25,50 +22,54 @@ a {
2522
/* Sidebar */
2623
.sidebar {
2724
width: 280px;
28-
background: #fff;
25+
background: #ffffff;
2926
padding: 40px 20px;
3027
border-right: 1px solid #e1e4e8;
3128
display: flex;
3229
flex-direction: column;
3330
align-items: center;
3431
text-align: center;
32+
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
3533
}
3634

3735
.profile img.avatar-img {
3836
width: 120px;
3937
height: 120px;
4038
border-radius: 50%;
4139
object-fit: cover;
42-
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
40+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
4341
margin-bottom: 15px;
4442
}
4543

4644
.profile h1 {
47-
font-size: 1.6rem;
45+
font-size: 1.8rem;
4846
margin-bottom: 6px;
49-
color: #222;
47+
color: #111;
5048
}
5149

5250
.subtitle {
5351
font-size: 0.95rem;
5452
color: #666;
53+
font-weight: 500;
5554
}
5655

5756
/* Buttons */
5857
.buttons {
59-
margin-top: 20px;
58+
margin-top: 25px;
6059
display: flex;
6160
gap: 12px;
6261
flex-wrap: wrap;
6362
justify-content: center;
6463
}
6564

6665
.btn {
67-
padding: 10px 16px;
68-
border-radius: 8px;
69-
font-weight: bold;
70-
transition: 0.3s ease;
71-
font-size: 0.9rem;
66+
padding: 10px 18px;
67+
border-radius: 10px;
68+
font-weight: 600;
69+
transition: all 0.3s ease;
70+
font-size: 0.95rem;
71+
cursor: pointer;
72+
display: inline-block;
7273
}
7374

7475
.btn-primary {
@@ -78,6 +79,8 @@ a {
7879

7980
.btn-primary:hover {
8081
background: #024c9a;
82+
transform: translateY(-2px);
83+
box-shadow: 0 4px 10px rgba(3, 102, 214, 0.3);
8184
}
8285

8386
.btn-secondary {
@@ -88,39 +91,69 @@ a {
8891

8992
.btn-secondary:hover {
9093
background: #e9ecef;
94+
transform: translateY(-2px);
9195
}
9296

9397
/* Main Content */
9498
.main-content {
9599
flex: 1;
96-
padding: 50px;
100+
padding: 60px;
97101
}
98102

99103
.main-content h2 {
100-
font-size: 1.4rem;
101-
margin-bottom: 12px;
102-
color: #222;
104+
font-size: 1.6rem;
105+
margin-bottom: 14px;
106+
color: #111;
103107
border-bottom: 2px solid #eee;
104108
padding-bottom: 6px;
105109
}
106110

107111
.intro p {
108112
margin-top: 8px;
109-
font-size: 1rem;
113+
font-size: 1.05rem;
110114
color: #444;
111115
}
112116

117+
.highlight {
118+
color: #0366d6;
119+
font-weight: bold;
120+
}
121+
113122
/* Cards */
114123
.card {
115124
background: #fff;
116125
border: 1px solid #e1e4e8;
117-
padding: 20px;
118-
border-radius: 12px;
119-
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
126+
padding: 24px;
127+
border-radius: 14px;
128+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
120129
margin-top: 20px;
130+
transition: transform 0.2s ease, box-shadow 0.2s ease;
131+
}
132+
133+
.card:hover {
134+
transform: translateY(-3px);
135+
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
121136
}
122137

123138
.card h3 {
124-
margin-bottom: 8px;
139+
margin-bottom: 10px;
125140
color: #222;
126141
}
142+
143+
/* Responsive */
144+
@media (max-width: 768px) {
145+
.container {
146+
flex-direction: column;
147+
}
148+
149+
.sidebar {
150+
width: 100%;
151+
border-right: none;
152+
border-bottom: 1px solid #e1e4e8;
153+
box-shadow: none;
154+
}
155+
156+
.main-content {
157+
padding: 30px 20px;
158+
}
159+
}

0 commit comments

Comments
 (0)