-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
153 lines (128 loc) · 2.63 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
header {
background-color: #333;
padding: 10px 0;
}
header nav ul {
list-style: none;
display: flex;
justify-content: center;
margin: 0;
padding: 0;
}
header nav ul li {
margin: 0 15px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 500;
}
header nav ul li a:hover {
text-decoration: underline;
}
.home {
text-align: center;
padding: 50px 20px;
background: linear-gradient(to right, #007BFF, #00BFFF);
color: white;
}
.home h1 {
font-size: 48px;
margin-bottom: 10px;
}
.home p {
font-size: 30px;
margin-bottom: 20px;
font-family: 'Poppins', sans-serif;
font-weight: bold;
}
.home .profile-photo {
border-radius: 50%;
width: 150px;
height: 150px;
margin-top: 20px;
}
.about, .skills, .projects, .contact {
padding: 50px 20px;
text-align: center;
background-color: #fff;
margin: 20px 0;
}
.about h2, .skills h2, .projects h2, .contact h2 {
margin-bottom: 20px;
font-weight: 700;
}
.about h3, .skills h3 {
margin-bottom: 10px;
font-weight: 500;
font-weight: bold;
font-size: 24px;
}
.about p, .skills p, .projects p, .contact p {
font-size: 18px;
line-height: 1.6;
}
.about ul, .skills ul {
list-style: none;
padding: 0;
}
.about ul li, .skills ul li {
margin: 10px 0;
}
.skills ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.skills ul li {
background: #007BFF;
color: white;
padding: 10px 20px;
margin: 5px;
border-radius: 5px;
}
.projects .project-item {
margin: 20px 0;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background: #f9f9f9;
transition: transform 0.3s;
}
.projects .project-item:hover {
transform: scale(1.05);
}
.projects .project-item img {
max-width: 100%;
height: auto;
border-radius: 5px;
margin-bottom: 10px;
}
.contact a {
color: #007BFF;
text-decoration: none;
font-weight: 500;
}
.contact a:hover {
text-decoration: underline;
}
.footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 20px;
}
.footer p {
margin: 0;
}