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
81 changes: 44 additions & 37 deletions assests/style.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins",sans-serif;
}

html{
scroll-behavior: smooth;
overflow-x: hidden;
}

body{
margin: 0%;
margin-left: 0%;
margin-right: 0%;
}

/*===== Colores =====*/
:root{
Expand All @@ -18,44 +21,48 @@ body{
}

/* Navbar*/
.nav-link{

color: #fff !important ;

.header{
position:fixed;
top:0;
left: 0;
width: 100%;
padding: 5px 50px;
background:#e94560;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}
.nav-link:hover, .nav-link:active{
color: #0a0909 !important;
.logo{
font-size: 20px;
color: #ffffff;
text-decoration: none;
font-weight: 700;
margin-left: 0px;
}
.nav{

margin-top: 0;
margin-right: 10rem;
font-family: cursive;
.navbar a{
position: relative;
font-size: 10px;
color: #ffffff;
font-weight: 500;
text-decoration: none;
margin-left: 40px;
}
.navbar a::before{
content:'' ;
position: absolute;
top: 100%;
left: 0;
width: 0;
height: 2px;
background:#000000;
transition: .3s;
}
.navbar a:hover::before{
width: 100%;
position: fixed;
top: 0%;
padding-top: 2px;
z-index: 1;
background-color: var(--fourth-color);
box-shadow: 0 1px 4px rgba(146,161,176,.15);


}
.nav-item{
margin-bottom: .1rem;
font-size: larger;
margin-top: .1rem;



}
.logo{
color: #fff !important;
margin-right: 60rem;
margin-bottom: 5rem;
font-size: larger;
margin-top: 0rem;
}
/* box Sections*/
.container{
margin-top: .2rem;
Expand Down
27 changes: 9 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,15 @@
<body>
<!---=====Navbar======-->

<section class="nav justify-content-end ">
<li class="nav-item">
<div class="nav-link"></div>
<a class="logo" href="index.html">Coding Hustlers</a>
</li>


<li class="nav-item">
<a class="nav-link " href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact US</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/Satakshijain/CodingHustlers">Contibute</a>
</li>

</section>
<header class="header">
<a href="index.html" class="logo">Coding Hustlers</a>
<nav class="navbar">
<a href="index.html">Home</a>
<a href="#contact">Contact Us</a>
<a href="https://github.com/Satakshijain/CodingHustlers">Contribute</a>
</nav>
</header>

<!---=====Cover======--
<div id="carouselExampleSlidesOnly" class="carousel-slide" data-bs-ride="carousel">
<div class="carousel-inner">
Expand Down