Skip to content

Commit 2ee87f7

Browse files
authored
Update style.css
1 parent 46b3de0 commit 2ee87f7

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

style.css

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
body {
1010
font-family: "Inter", "Segoe UI", Arial, sans-serif;
1111
background: linear-gradient(135deg, #0f172a, #1e293b);
12-
color: #e2e8f0;
12+
color: #f1f5f9; /* brighter text */
1313
line-height: 1.7;
1414
}
1515

@@ -29,15 +29,15 @@ body {
2929
flex-direction: column;
3030
align-items: center;
3131
text-align: center;
32-
box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
32+
box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
3333
}
3434

3535
.profile img.avatar-img {
3636
width: 120px;
3737
height: 120px;
3838
border-radius: 50%;
3939
object-fit: cover;
40-
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
40+
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
4141
margin-bottom: 15px;
4242
border: 3px solid #fff;
4343
}
@@ -111,54 +111,52 @@ body {
111111
.main-content {
112112
flex: 1;
113113
padding: 60px;
114-
background: #fdfdfd;
115-
color: #222;
116114
}
117115

118116
.main-content h2 {
119117
font-size: 1.6rem;
120118
margin-bottom: 14px;
121-
color: #004080;
122-
border-bottom: 2px solid #e0e6f5;
119+
color: #60a5fa; /* accent blue for headings */
120+
border-bottom: 2px solid #334155;
123121
padding-bottom: 6px;
124122
}
125123

126124
.intro p {
127125
margin-top: 8px;
128126
font-size: 1.05rem;
129-
color: #444;
127+
color: #f1f5f9; /* bright text */
130128
}
131129

130+
/* Highlighted keywords */
132131
.highlight {
133-
color: #0366d6;
132+
color: #22d3ee; /* teal accent */
134133
font-weight: bold;
135134
}
136135

137136
/* Cards */
138137
.card {
139-
background: #fff;
140-
border: none;
138+
background: #1e293b; /* dark slate */
139+
border: 1px solid #334155;
141140
padding: 28px;
142141
border-radius: 16px;
143-
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
142+
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4);
144143
margin-top: 24px;
145144
transition: transform 0.25s ease, box-shadow 0.25s ease;
146145
}
147146

148147
.card:hover {
149148
transform: translateY(-5px);
150-
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
149+
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
151150
}
152151

153152
.card h3 {
154153
margin-bottom: 12px;
155-
color: #222;
154+
color: #f8fafc; /* white heading inside card */
156155
}
157156

158-
/* FIX: Add spacing between text and button */
159157
.card p {
160158
margin-bottom: 18px;
161-
color: #222; /* darker gray for better contrast */
159+
color: #e2e8f0; /* brighter paragraph text */
162160
font-size: 1rem;
163161
line-height: 1.6;
164162
}
@@ -176,7 +174,7 @@ body {
176174
.sidebar {
177175
width: 100%;
178176
border-right: none;
179-
border-bottom: 1px solid #e1e4e8;
177+
border-bottom: 1px solid #334155;
180178
box-shadow: none;
181179
}
182180

0 commit comments

Comments
 (0)