Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
HamzaMemon007 committed May 18, 2024
1 parent 65f575d commit ecf2c07
Showing 3 changed files with 42 additions and 89 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -7,9 +7,8 @@
<title>Lyari Zone</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<!-- <link rel="stylesheet" href="./nav.css"> -->
<link rel="stylesheet" href="./nav.css">
<link rel="shortcut icon" href="./assets/shopping-cart.png" type="image/x-icon">
<link rel="stylesheet" href="./just test.css">
</head>

<body>
54 changes: 0 additions & 54 deletions just test.css

This file was deleted.

74 changes: 41 additions & 33 deletions nav.css
Original file line number Diff line number Diff line change
@@ -1,56 +1,64 @@
nav a {
position: relative;
font-size: 1.1em;
color: #333;
text-decoration: none;
padding: 6px 20px;
transition: .5s;
}
nav a:hover {
color: #002fff;
}
nav a span {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
border-bottom: 2px solid #002fff;
border-radius: 15px;
transform: scale(0) translateY(50px);
opacity: 0;
transition: .5s;
}
nav a:hover span {
transform: scale(1) translateY(0);
opacity: 1;
}
header {
color: #fff;
/* text-align: center; */
/* background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 19, 181, 1) 100%); */
background-color: #002fff;
/* background-color: #002fff; */
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.7em;
flex-wrap: wrap;
/* border-bottom: 3px double grey; */
}

.topnav {
/* background: rgb(255, 255, 255); */
justify-content: center;
/* padding: 0.5em; */
align-items: center;
}

.brand-name {
justify-content: left;
color: rgb(255, 255, 255);
color: #002fff;
padding: 0 0 0 10px;
margin: 0;
font-weight: bolder;
font-size: 22px;
}

.topnav a {

color: #a7a7a7;
text-align: center;
padding: .5em;
text-decoration: none;
font-size: 1em;
border-radius: 45%;
/* border: solid 1px #002fff; */
/* margin-top: 0.5em;
margin-bottom: 0.9em; */
}

.topnav a:hover {
background-color: #ddd;
color: black;
}

.topnav a.active {
background-color: #ffffff;
color: #002fff;

}
@media screen and (max-width: 768px) {
header{
justify-content: center;
}
}
@media screen and (max-width: 410px) {
header {
justify-content: center;

nav a{
font-size: 0.8em;
padding: 6px 10px;
}
}
}

0 comments on commit ecf2c07

Please sign in to comment.