Skip to content

Commit 3a0bf3b

Browse files
committed
Reverting styles.css to initial commit
1 parent 4ae76ba commit 3a0bf3b

File tree

1 file changed

+52
-47
lines changed

1 file changed

+52
-47
lines changed

styles.css

Lines changed: 52 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,97 @@
1+
/* Global Styles */
12
body {
23
font-family: Arial, sans-serif;
34
line-height: 1.6;
45
color: #333;
56
max-width: 1200px;
67
margin: 0 auto;
78
padding: 20px;
8-
background-color: #f4f4f4;
99
}
1010

11-
header {
12-
display: flex;
13-
justify-content: space-between;
14-
align-items: center;
15-
padding: 20px 0;
16-
border-bottom: 1px solid #ddd;
17-
}
18-
19-
h1 {
20-
margin: 0;
21-
font-size: 2.5em;
11+
h1, h2, h3 {
2212
color: #2c3e50;
2313
}
2414

25-
nav a {
26-
margin-left: 20px;
27-
text-decoration: none;
15+
a {
2816
color: #3498db;
29-
font-weight: bold;
17+
text-decoration: none;
3018
}
3119

32-
main {
33-
margin-top: 40px;
20+
a:hover {
21+
text-decoration: underline;
3422
}
3523

36-
#about {
37-
background-color: white;
38-
padding: 40px;
39-
border-radius: 8px;
40-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
24+
/* Header and Navigation */
25+
header {
26+
background-color: #2c3e50;
27+
padding: 1rem;
28+
margin-bottom: 2rem;
4129
}
4230

43-
.about-content {
31+
nav ul {
32+
list-style-type: none;
33+
padding: 0;
4434
display: flex;
45-
align-items: flex-start;
46-
gap: 40px;
35+
justify-content: space-around;
4736
}
4837

49-
.profile-pic {
50-
width: 200px;
51-
height: 200px;
52-
border-radius: 50%;
53-
object-fit: cover;
38+
nav ul li a {
39+
color: #ecf0f1;
40+
font-weight: bold;
5441
}
5542

56-
.about-text {
57-
flex: 1;
43+
/* Sections */
44+
section {
45+
margin-bottom: 2rem;
46+
padding: 1rem;
47+
background-color: #f9f9f9;
48+
border-radius: 5px;
5849
}
5950

51+
/* Social Links */
6052
.social-links {
61-
margin-top: 20px;
53+
display: flex;
54+
gap: 1rem;
55+
margin-top: 1rem;
6256
}
6357

6458
.social-links a {
65-
font-size: 24px;
66-
margin-right: 20px;
67-
color: #3498db;
59+
display: inline-flex;
60+
align-items: center;
61+
gap: 0.5rem;
6862
}
6963

70-
h2 {
71-
color: #2c3e50;
72-
border-bottom: 2px solid #3498db;
73-
padding-bottom: 10px;
74-
margin-bottom: 20px;
64+
/* Project Grid */
65+
.project-grid {
66+
display: grid;
67+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
68+
gap: 1rem;
69+
}
70+
71+
.project-card {
72+
background-color: #fff;
73+
border: 1px solid #ddd;
74+
border-radius: 5px;
75+
padding: 1rem;
7576
}
7677

78+
/* Footer */
7779
footer {
78-
margin-top: 40px;
7980
text-align: center;
80-
color: #777;
81+
margin-top: 2rem;
82+
padding: 1rem;
83+
background-color: #2c3e50;
84+
color: #ecf0f1;
8185
}
8286

87+
/* Responsive Design */
8388
@media (max-width: 768px) {
84-
.about-content {
89+
nav ul {
8590
flex-direction: column;
8691
align-items: center;
8792
}
8893

89-
.profile-pic {
90-
margin-bottom: 20px;
94+
nav ul li {
95+
margin-bottom: 0.5rem;
9196
}
9297
}

0 commit comments

Comments
 (0)