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

Main page #11

Closed
wants to merge 5 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
486 changes: 486 additions & 0 deletions SignUp.html

Large diffs are not rendered by default.

342 changes: 342 additions & 0 deletions footer.html

Large diffs are not rendered by default.

313 changes: 313 additions & 0 deletions header and footer/headerFooter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,313 @@
* {
margin-left: 0;
margin-right: 0;
}

.ans-header {
position: fixed;
top: 0;
width: 100%;
background-color: white;
height: 200px;
}

.centerContainer {
margin-top: 240px;
}

/* for section 1 */
.ans-accessibility {
text-align: center;
font-size: 10px;
}

/* for section 2 */

.ans-offersSec {
background-color: rgb(52, 50, 50);
color: white;
padding: 0px 35px;
display: flex;
justify-content: space-between;
align-items: center;
}

.stores-sInsUp {
display: flex;
}

.stores-sInsUp a {
text-decoration: none;
color: white;
}

.storesLink {
margin-right: 30px;
}

/* section 3 */
.searchLogoCart {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 35px;
}

.searchLogoCart img {
width: 200px;
}

.ans-logoBox {
width: 400px;
}

.searchLogoCart input {
border: none;
border-bottom-style: groove;
}

/* for section 4 */
#ans-navbarBox {
width: 100%;
}

.ans-navList {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 160px;
padding: 10px 0;
width: 100%;
margin: auto;
}

.ans-navList>li {
list-style-type: none;
margin: 0 10px;
}

.ans-navList a {
text-decoration: none;
color: rgb(52, 50, 50);
}






/* for responsiveness */
@media screen and (max-width: 820px) {

/* ----------header starts here-------------- */
.ans-header {
height: 239px;
}

.ans-accessibility {
font-size: 14px;
}

/* for section 2 */
.rewardsonP {
font-size: 14px;
}

.ans-viewOffers>h5 {
font-size: 11px;
}

.stores-sInsUp {
font-size: 10px;
}

.ans-logoBox {
margin-left: 50px;
}

/* for navbar */
.ans-offersSec {
background-color: #4295a5;
}

.ans-navList>li {
list-style-type: none;
margin: 6px 9px;
}

#locationSymbol-ans {
display: none;
}

/* ----------header ends here-------------- */
}

/* for smaller screen */
@media screen and (max-width: 430px) {
/* for header */

.ans-header {
position: static;
height: 30px;
}

.ans-logoBox>img {
width: 150px;
}

.ans-searchBox {
width: 50px;
}

.ans-searchBox input {
width: 70px;
}

.rewardsonP {
font-size: 8px;
}

.ans-viewOffers>h5 {
font-size: 7px;
}

.stores-sInsUp p {
font-size: 8px;
}


/* headre ends here */



}



/* _________________________________________________fottter css ________________________________*/
/* for upper */
.footer-section-container-upper img {
width: 40px;
margin-right: 20px;
}

.footer-section-container-upper {
display: grid;
grid-template-columns: 25% 25% 25%;
justify-content: center;
gap: 30px;
}

.footer-section-container-upper>div {
display: flex;
justify-content: center;
align-items: center;
}

/* for lower*/
.ans-footerLowerSection img {
width: 20px;
}

.ans-footerLowerSection {
display: grid;
grid-template-columns: 15% 15% 15% 15% 15%;
justify-content: center;
gap: 15px;
}

/* for last */
.ans-footer-lastSection {
display: grid;
grid-template-columns: 20% 20% 20%;
justify-content: space-evenly;
align-items: center;
}

footer {
background-color: rgb(245, 245, 245);

}

footer a {
text-decoration: none;
color: black;
}


footer button {
width: 200px;
padding: 8px;
font-size: 15px;
font-weight: bold;
margin-top: 10px;
color: white;
line-height: 19px;
background-color: rgb(51, 51, 51);

}

footer button:hover {
cursor: pointer;
background-color: white;
color: black;
}

#signup img {
margin-top: 20px;
}

/* for medium screen */
@media screen and (max-width: 800px) {
.footer-section-container-upper {
grid-template-columns: 35% 35%;
}

.ans-footerLowerSection {
grid-template-columns: 40% 40%;
justify-content: space-around;
margin-left: 80px;
}
}

/* for small screen */
@media screen and (max-width: 500px) {
.footer-section-container-upper {
grid-template-columns: 80%;
}

.ans-footerLowerSection {
grid-template-columns: 80%;
justify-content: space-around;
margin-left: 80px;
}

.ans-footer-lastSection {
font-size: 10px;
}

.termsAndConditions {
font-size: 6px;
}

}

/* ________________________________________ */

/* hover functionality css */
#ans-navHoverContainer {
display: none;
}

#ans-navHoverContainer li {
list-style-type: none;
}


#ans-navbarBox li:hover a {
color: red;
}

#ans-navbarBox li:hover + #ans-navHoverContainer {
display: block;
}
Loading