-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
302 lines (271 loc) · 5.69 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
header {
background-color: white;
padding: 20px;
}
nav ul {
text-decoration: none;
list-style-type: none;
margin: none;
padding: 20px 20px 20px 20px;
justify-content: center;
display: flex;
background-color: chocolate;
background-size: auto;
}
nav li {
display: inline;
margin-right: 50px;
font-size: 15px;
}
nav a {
color: white;
text-decoration: none;
}
/*Add hover effect to the navigation links*/
nav ul li a:hover {
color: white;
}
.logo {
font-size: 25px;
color: #881b29;
text-decoration: none;
font-weight: 600;
text-decoration: none;
bottom: 100;
font-style: italic;
}
/*hero-section*/
.hero {
background-color: rgb(0, 238, 255);
padding: 80px;
text-align: center;
width: 1000px;
height: 350px;
margin: 0%;
}
.hero-content {
color: white;
}
.hero h1 {
margin-top: 50vh;
font-size: 50px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.hero h2 {
font-size: 30px;
}
.button {
background-color: white;
padding: 10px 20px;
text-decoration: none;
color: orange;
}
img {
border-radius: 10;
/*Adds a circular border to the images*/
width: 400px;
/*Sets the width of images*/
height: 200px;
/*Sets the height of images*/
object-fit: cover;
/*Maintains aspect ratio and covers the image box*/
margin-bottom: 80vh;
/*Adds a margin at the bottom for spacing*/
margin-left: 100px;
}
.about {
margin: bottom 0;
}
.about-me {
text-align: center;
/*center-align the content inside the container*/
max-width: 800px;
/*sets the maximum width of the container*/
}
/*styles for paragraphs*/
p {
max-width: 800px;
font-size: 20px;
/*sets the font size for paragraphs*/
margin-bottom: 50px;
/*Adds a margin at the bottom for spacing*/
text-align: justify;
/*Justifies the text within paragraphs*/
line-height: 1.5;
/*Adjusts the line height for better readability*/
color: #333;
/*Changes the text color*/
background-color: #f5f5f5;
/*Adds a background color to the paragraph*/
padding: 10px;
/*Adds padding around the paragraph*/
border: 1px solid #ccc;
/* Adds a border around the paragraph*/
}
/*Styles for unodered lists*/
ul {
list-style: none;
/*Removes default list styles (bullets)*/
padding: 0;
/*Removes padding around the list*/
margin: 0;
/*Remove margin around the list*/
}
/*Styles for list items within unordered lists*/
li {
display: inline-block;
/*Displays list items in a row*/
margin-right: 10px;
/*Add a small margin to separate list items*/
}
/*Styles for links within list items*/
li a {
text-decoration: none;
/*Remove underline from links*/
color: brown;
/*Changes link color to orange*/
transition: background-color 0.3s;
/*Adds a smooth transition for background color changes*/
}
/*Styles for link hover state*/
li a:hover {
background-color: #00abf0;
/*Changes background color on link hover*/
color: white;
/*Changes text color on link hover*/
}
/*Styles for visited links*/
li a visited {
color: white;
/*Changes color of visited links to orange*/
}
/*skills section styles*/
.title h1{
text-align: center;
padding-top: 50px;
font-size: 42px;
margin-top: 100px;
}
title h1 ::after{
content: '';
height: 4px;
width: 230px;
background-color: #000;
display: block;
margin: auto;
}
.skills{
display: flex;
justify-content: space-between;
}
.card{
width: 30;
background-color:rgba(122, 66, 212, 0.753);
padding: 20px;
border-radius: 5px;
border: 20px;
box-sizing: border-box;
}
.card .icon{
font-size: 35px;
margin-bottom: 10px;
}
.card h2{
color: antiquewhite;
}
.card p{
color: black;
}
.button{
font-size: 15px;
text-decoration: none;
color:white;
background-color: #2c677c;
padding: 8px 12px;
border-radius: 5px;
letter-spacing: 1px;
transition: 0.5s;
}
.button a:hover{
background-color: #c94f4f;
transition: 0.4s ease;
}
.footer {
width: 200px;
position: absolute;
bottom: 0;
background: linear-gradient(to right, #00093c, #2d0b00);
color: #fff;
padding: 10px 0 30px;
border-radius: 125px;
font-size: 13px;
line-height: 20px;
background-color: lawngreen;
}
.footer-col {
flex-basis: 25px;
padding: 0 15px;
}
.footer-col h4 {
font-size: 18px;
color: #ffffff;
text-transform: capitalize;
margin-bottom: 30px;
font-weight: 500px;
position: relative;
}
.footer-col h4::before {
content: '';
position: absolute;
left: 0;
bottom: -10px;
background-color: #e91e63;
height: 2px;
box-sizing: border-box;
width: 50px;
}
.footer-col .social media a{
display: block;
height: 40px;
width: 60px;
background-color: rgba(255, 255, 255, 0.2);
margin: 10px 10px 0;
text-align: center;
line-height: 40px;
border-radius: 40%;
color: #ffffff;
position: absolute;
bottom: 40px;
justify-content: space-between;
}
.social-media a {
position: relative;
display: inline-flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
background: transparent;
border: 2px solid #00abf0;
border-radius: 50%;
font-size: 20px;
color: #881b29;
text-decoration: none;
overflow: hidden;
}
.social-media a::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: #00abf0;
transition: 2s;
border: 50;
}
.social-media a:hover::before {
width: 100%;
border-radius: 50%;
height: 60;
}