Skip to content

Commit 0d3799b

Browse files
Merge pull request #3 from Juggernaunt884/testing
Testing
2 parents b721ce9 + 7cdb2ff commit 0d3799b

File tree

3 files changed

+77
-7
lines changed

3 files changed

+77
-7
lines changed

Profile.jpg

259 KB
Loading

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,14 @@ <h2>About Me</h2>
134134
</table>
135135
</div>
136136
<div class="about-pic">
137+
<img src="Profile.jpg" alt="Profile Picture">
137138
<!-- From Uiverse.io by Sharkotech -->
138-
<div class="main">
139+
<!-- <div class="main">
139140
<div class="card" id="c1"></div>
140141
<div class="card" id="c2"></div>
141142
<div class="card" id="c3"></div>
142143
<div class="card" id="c4"></div>
143-
</div>
144+
</div> -->
144145
</div>
145146
</section>
146147
</main>

styles.css

Lines changed: 74 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ body{
122122
gap: 1rem;
123123
flex-direction: row;
124124
}
125-
.buttons a{
125+
/* .buttons a{
126126
text-decoration: none;
127127
color: #000;
128128
background: white;
@@ -140,6 +140,49 @@ body{
140140
border: white 2px solid;
141141
transform: translateY(-5px);
142142
transition: all 0.3s ease;
143+
} */
144+
145+
.buttons a{
146+
position: relative;
147+
display: inline-block;
148+
font-size: 1.2rem;
149+
font-weight: 500;
150+
font-family: "poppins", sans-serif;
151+
padding: 12px 24px;
152+
color: #fff;
153+
background-color: transparent;
154+
border-radius: 20px;
155+
border: 2px solid #fff;
156+
text-decoration: none;
157+
overflow: hidden;
158+
transition: color 0.3s ease;
159+
}
160+
161+
.buttons a::before {
162+
content: "";
163+
position: absolute;
164+
top: 0;
165+
left: 0;
166+
width: 0%;
167+
height: 100%;
168+
background-color: #fff;
169+
z-index: 0;
170+
transition: width 0.4s ease;
171+
}
172+
173+
174+
.buttons a span {
175+
position: relative;
176+
z-index: 1;
177+
transition: color 0.3s ease;
178+
}
179+
180+
.buttons a:hover::before {
181+
width: 100%;
182+
}
183+
184+
.buttons a:hover span {
185+
color: #000;
143186
}
144187
.social-buttons-container{
145188
display: flex;
@@ -201,7 +244,7 @@ body{
201244
display: flex;
202245
flex-direction: column;
203246
flex: 6 6 60%;
204-
padding: 0 50px;
247+
padding-left: 150px;
205248
text-align: left;
206249
gap: 20px;
207250
}
@@ -238,25 +281,36 @@ body{
238281
justify-content: center;
239282
align-items: center;
240283
}
284+
.about-pic img{
285+
width: 70%;
286+
height: auto;
287+
border-radius: 20px;
288+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
289+
}
241290

242291

243292
@media(max-width: 880px){
244293
.navbar-container .navbar-menu{
245-
display: none;
294+
/* display: none; */
295+
background-color: #000e;
246296
flex-direction: column;
247297
align-items: flex-start;
248298
gap: 1.7rem !important;
249299
position: absolute;
250300
height: 100vh;
251-
width: 250px;
301+
width: 0px;
252302
top: 0;
253-
right: 0;
303+
right: -250px;
254304
padding: 5rem 1.5rem;
255305
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
256306
backdrop-filter: blur(10px);
307+
transition: all 0.3s ease-in-out;
257308
}
258309
.navbar-container .navbar-menu.active{
259310
display: flex;
311+
right: 0px;
312+
transition: all 0.3s ease-in-out;
313+
width: 250px;
260314
}
261315
.navbar-toggle{
262316
display: block;
@@ -281,6 +335,21 @@ body{
281335
text-align: center;
282336
padding: 50px 0;
283337
}
338+
339+
.about{
340+
flex-direction: column-reverse;
341+
padding: 0 1rem;
342+
}
343+
.about-info{
344+
padding: 0 1rem;
345+
text-align: center;
346+
}
347+
.about-pic img{
348+
width: 300px;
349+
height: auto;
350+
border-radius: 20px;
351+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
352+
}
284353
}
285354
@media (max-width: 400px) {
286355
.navbar-container{

0 commit comments

Comments
 (0)