Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions Projects/ManthanSutrave/styleAA.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@

/* Basic styling for the navigation bar */
body {
margin: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, Helvetica, sans-serif;
}

li.scroll-nav-item {
float: left;
}

li.scroll-nav-item a {
display: block;
color: rgb(255, 255, 255);
text-align: center;
padding: 14px 16px;
text-decoration: none;
transition: background-color 0.3s;
}

li.scroll-nav-item a:hover {
background-color: #555;
}

/* Styling for the sections
.section {
height: 800px;
padding: 100px;
text-align: center;
font-size: 24px;
}*/

#home {
margin: 0;
padding: 300px;
font-size: xx-large;
font-style: bold;
background-image: url(https://source.unsplash.com/sfL_QOnmy00);
text-align: center;
background-size: cover;
background-repeat: no-repeat;
height: 100vh;

}

#about {
margin: 0;
padding: 0;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
background-image: url(https://source.unsplash.com/sfL_QOnmy00);
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
}

#Education {
margin: 0;
padding: 0;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
background-image: url(https://source.unsplash.com/TamMbr4okv4);
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
}

#contact {
margin: 0;
padding: 0;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
background-image: url(https://source.unsplash.com/lUaaKCUANVI);
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
}
56 changes: 56 additions & 0 deletions Projects/ManthanSutrave/web5.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styleAA.css">
</head>
<body>

<nav>
<ul class="scroll-navbar">
<li class="scroll-nav-item"><a href="#home">Home</a></li>
<li class="scroll-nav-item"><a href="#about">About me</a></li>
<li class="scroll-nav-item"><a href="#Education">Education</a></li>
<li class="scroll-nav-item"><a href="#contact">Contact me</a></li>
</ul>
</nav>

<div id="home" class="section">
<h1>Welcome to my Website</h1>
</div>
<div id="about" class="section">
<h1>
About me <br>
<img src="PXL_20230825_180250935~2.jpg" alt="image" style="height: 150px" style="width: 175px;" style="border-radius: 60%;"> <br>
Hello guys, I'm a Graduate Student currently pursing my masters in Civil Engineering.
</h1>
</div>
<div id="Education" class="section">
<h1>
Education <br>
1. Btech - Civil Engineering (Mumbai University) <br>
2. Diploma - Civil Engineering (MSBTE)
</h1>
</div>
<div id="contact" class="section">
<h1>
Contact me <br>
You can Contact me at manthansutrave@gmail.com
</h1>
</div>

<script>
// Smooth scrolling behavior
document.querySelectorAll('ul.scroll-navbar a').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();

document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
</script>

</body>
</html>