Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better navbar ui #52

Closed
wants to merge 2 commits into from
Closed
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
2,117 changes: 47 additions & 2,070 deletions package-lock.json

Large diffs are not rendered by default.

Binary file added public/image/logo5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,286 changes: 1,137 additions & 1,149 deletions public/styles/Home.css

Large diffs are not rendered by default.

210 changes: 124 additions & 86 deletions public/styles/cart.css
Original file line number Diff line number Diff line change
@@ -1,105 +1,143 @@
footer {
position: fixed;
bottom: 0;
width: 100%;
/* background-color: #333; */
/* color: #fff; */
padding: 20px 0;
text-align: center;
}
position: fixed;
bottom: 0;
width: 100%;
/* background-color: #333; */
/* color: #fff; */
padding: 20px 0;
text-align: center;
}

section nav {
display: flex;

align-items: center;
justify-content: space-between;
background: rgba(211, 200, 25, 1);
background: linear-gradient(
90deg,
rgba(250, 204, 34, 1),
rgba(228, 172, 2, 1)
);
position: fixed;
right: 0;
left: 0;
z-index: 1000;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
height: 80px;
padding: 10px 10px;
margin: 0;

line-height: 1;
}
section nav:hover {
background: linear-gradient(
90deg,
rgba(228, 172, 2, 1),
rgba(250, 204, 34, 1)
);
}
section nav ul li a {
color: black;
font-weight: lighter;
text-decoration: none;
transition: 0.3s;
}
section nav ul li a i {
margin-right: 5px;
}

#Effect {
color: white;
text-shadow: 1px 1px 2px black, 0 0 10px rgb(187, 152, 35);}
section nav ul li a.action {
color: #facc22;
}

._3Y9ZP {
margin-top: 24px;
font-size: 20px;
font-weight: 600;
color: #535665;
section nav ul li a:hover {
color: #fff;
text-shadow: 0px 0px 20px white;
}
._3Y9ZP {
margin-top: 24px;
font-size: 20px;
font-weight: 600;
color: #535665;
}
.d7jCU {
margin-top: 8px;
color: #7e808c;
margin-top: 8px;
color: #7e808c;
}
button._3pgCg {
margin-top: 30px;
padding: 11px 20px;
text-transform: uppercase;
background-color: #fc8019;
color: #fff;
font-weight: 600;
cursor: pointer;
border: 0;
outline: 0;
font-size: 15px;
text-align: center;
-ms-transform: translateY(0);
transform: translateY(0);
transition: transform .8s cubic-bezier(.2,1,.2,1);
margin-top: 30px;
padding: 11px 20px;
text-transform: uppercase;
background-color: #fc8019;
color: #fff;
font-weight: 600;
cursor: pointer;
border: 0;
outline: 0;
font-size: 15px;
text-align: center;
-ms-transform: translateY(0);
transform: translateY(0);
transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}


._3Y9ZP,
.d7jCU,
._3pgCg {
margin: 10px;
margin: 10px;
}
.main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 10vh;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 10vh;
text-align: center;
}



/* Add this to your CSS file */
.cart-item {
display: flex;
border: 1px solid #ccc;
margin-bottom: 10px;
padding: 10px;
align-items: center;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item-image {
max-width: 100px;
height: auto;
margin-right: 20px;
}

.item-name {
font-size: 18px;
font-weight: bold;

}

.item-description {
font-size: 14px;
}

.order-button {
background-color: #ff5722;
color: #fff;
padding: 10px 20px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
margin-left: 10px;
}

.order-button:hover {
background-color: #e64a19;
}

.item-price {
font-size: 14px;
color: #007bff;
margin-top: -1px;
}

border: 1px solid #ccc;
margin-bottom: 10px;
padding: 10px;
align-items: center;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item-image {
max-width: 100px;
height: auto;
margin-right: 20px;
}

.item-name {
font-size: 18px;
font-weight: bold;
}

.item-description {
font-size: 14px;
}

.order-button {
background-color: #ff5722;
color: #fff;
padding: 10px 20px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
margin-left: 10px;
}

.order-button:hover {
background-color: #e64a19;
}

.item-price {
font-size: 14px;
color: #007bff;
margin-top: -1px;
}
Loading