Skip to content

Commit 6441de4

Browse files
committed
header colored
1 parent b1f24cd commit 6441de4

File tree

2 files changed

+44
-7
lines changed

2 files changed

+44
-7
lines changed

index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@
1616
</head>
1717
<body>
1818
<header>
19-
<div class="logo">
20-
<img src="./img/pi-logo.png" alt="mohite-pi">
21-
</div>
22-
<button class="nav-toggle"></button>
19+
20+
<!-- <button class="nav-toggle"></button>
2321
2422
<button class="nav-toggle">
2523
<span class="nav-button"></span>
26-
</button>
27-
<div class="nav-div"><nav class="nav">
24+
</button> -->
25+
<div class="nav-div flex">
26+
<span class="logo flex">
27+
<img src="./img/pi-logo.png" alt="mohite-pi">
28+
</span>
29+
30+
<nav class="nav flex">
2831

2932
<a class="nav__list" href="#home">Home</a>
3033
<a class="nav__list" href="#my-work">My Work</a>
@@ -64,11 +67,13 @@ <h3 id="workid3">Sleep</h3>
6467
<!-- About Me -->
6568

6669
<section class="aboutme" id="about-me">
70+
<div id="about-me-box">
6771
<div class="container"><h2 class="section__title section__title--aboutme">About Me</h2></div>
6872
<div><img src="./img/myself.jpeg" alt="Piyush" id="myself"></div>
6973
<h3 class="section__subtitle section__subtitle--aboutme">Undergrad student based in Maharashtra, India</h3>
7074
<div><p id="aboutme-para">Lorem ipsum dolor sit amet consectetur adipisicing elit. Libero omnis eos minima illo accusantium dolorum illum nam, perspiciatis fuga deserunt deleniti. Nemo ea dolorum delectus fugiat molestiae, odit temporibus explicabo?</p>
7175
</div>
76+
</div>
7277
</section>
7378

7479
<!-- Connect with Me -->

style.css

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
margin: 0;
33
padding: 0;
44
box-sizing: border-box;
5+
-webkit-font-smotthing: antialiased;
56
}
67

78
html{
@@ -20,7 +21,7 @@ body{
2021
}
2122

2223
section{
23-
margin: 15%;
24+
margin: auto;
2425
padding: 12%;
2526
justify-content: center;
2627
}
@@ -31,6 +32,33 @@ section{
3132
}
3233

3334

35+
/* navbar */
36+
header{
37+
background-color: #42f08d;
38+
height: 20px;
39+
}
40+
41+
.nav-div{
42+
max-width: 1152px;
43+
padding: 0 15px;
44+
margin: 0 auto;
45+
}
46+
47+
header .nav-div nav a{
48+
color: #272525;
49+
text-decoration: none;
50+
justify-content: space-between;
51+
}
52+
53+
54+
.logo img{
55+
max-width: 10%;
56+
57+
}
58+
59+
.flex{
60+
display: flex;
61+
}
3462

3563

3664

@@ -68,3 +96,7 @@ section{
6896

6997

7098
/* Connect With Me */
99+
.handles a{
100+
text-decoration: none;
101+
color: #42f08d;
102+
}

0 commit comments

Comments
 (0)