Skip to content

Commit

Permalink
Merge pull request #1538 from srilekha279/footer-section-icons
Browse files Browse the repository at this point in the history
Footer section icons
  • Loading branch information
arghadipmanna101 authored Aug 8, 2024
2 parents 1889967 + d0fea06 commit 1548cbd
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 43 deletions.
80 changes: 49 additions & 31 deletions css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,65 +6,71 @@
}

/* footer */
footer{
footer {
/* background: #292d33; */
color: #fff;
font-size: 12px;
}

footer .footerTop{
footer .footerTop {
padding: 22px;
}

footer .footerTop a{
footer .footerTop a {
text-decoration: none;
color: #fff;
}
footer .footerTop ul{

footer .footerTop ul {
list-style-type: none;
padding: 0;
margin: 0;
}
footer .footerI h5{

footer .footerI h5 {
color: #878787;
font-size: 16px;
margin: 20px 5px;
text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}
footer .mailSocial{

footer .mailSocial {
border-left: 1px solid #454d5e;
padding-left: 32px;

}

footer .social li:hover {
transform: scale(1.1025);
background-color: #1b1919;
}

@media screen and (max-width: 991px) {
footer .mailSocial{
footer .mailSocial {
border-left: none;
padding-left: 0;
}
}
footer .footerTop li:hover{

footer .footerTop li:hover {
text-decoration: underline;
text-decoration-thickness: 2px;
}
footer .social ul{

footer .social ul {
display: flex;
align-items: center;
}
footer .social li{

footer .social li {
margin: 5px;
opacity: 0.75;
}
footer .social a img
{

footer .social a img {
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, filter 0.3s ease-in-out;
border-radius: 50%;
}

footer .social a:hover img {
transform: scale(1.5) translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
Expand All @@ -86,7 +92,7 @@ footer .social ul li:nth-child(3) a:hover {
filter: invert(16%) sepia(73%) saturate(7437%) hue-rotate(450deg) brightness(90%) contrast(98%);
}

footer .footerEnd{
footer .footerEnd {
border-top: 1px solid #454d5e;
padding: 25px 0;
margin-top: 40px;
Expand All @@ -97,32 +103,44 @@ footer .footerEnd{
color: #fff;
font-size: 12px;
}
footer .footerEnd .col-auto{

footer .footerEnd .col-auto {
display: flex;
align-items: center; /* Align items horizontally */
margin: 0 22px;
}
footer .footerEnd a{
text-decoration: none;
color: #fff
}

footer .footerEnd a li:hover {
transform: scale(1.1025);
background-color: #2b2828;
footer .footerEnd .col-auto img {
margin-right: 10px; /* Space between icon and text */
}

@media screen and (max-width: 770px){
.pCGSTEF{
width: 80vw;
footer .footerEnd .col-auto a {
text-decoration: none;
color: #fff;
display: flex;
align-items: center; /* Center-align text vertically with the icon */
}
.footerEnd{
flex-flow: column;

footer .footerEnd .col-auto a:hover img {
transform: scale(1.1); /* Slightly scale up on hover */
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 770px) {
.pCGSTEF {
width: 80vw;
}

footer .footerEnd {
flex-flow: column;
align-items: center; /* Center-align items in column layout */
}
}

#visitorCount{
#visitorCount {
margin-top: 30px;
}

#visitorCount a{
#visitorCount a {
/* padding: 20px; */
}
}
24 changes: 12 additions & 12 deletions footer/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ <h5>Mail Us:</h5>
<h5>Social</h5>
<ul>
<li><a href="https://www.facebook.com/flipkart/" aria-label="Facebook">
<img src="data:image/svg+xml;base64,..." alt="Facebook"></a></li>
<img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjkzMzEgMjFDMTcuOTAzNyAyMSAyMS45MzMxIDE2Ljk3MDYgMjEuOTMzMSAxMkMyMS45MzMxIDcuMDI5NDQgMTcuOTAzNyAzIDEyLjkzMzEgM0M3Ljk2MjU0IDMgMy45MzMxMSA3LjAyOTQ0IDMuOTMzMTEgMTJDMy45MzMxMSAxNi45NzA2IDcuOTYyNTQgMjEgMTIuOTMzMSAyMVoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTE2LjY4MzEgOC4yNUgxNS4xODMxQzE0LjU4NjQgOC4yNSAxNC4wMTQxIDguNDg3MDUgMTMuNTkyMSA4LjkwOTAxQzEzLjE3MDIgOS4zMzA5NyAxMi45MzMxIDkuOTAzMjYgMTIuOTMzMSAxMC41VjIxIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik05LjkzMzExIDEzLjVIMTUuOTMzMSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K" alt="Flipkart Facebook Page"></a></li>
<li><a href="https://twitter.com/Flipkart" aria-label="Twitter">
<img src="data:image/svg+xml;base64,..." alt="Twitter"></a></li>
<img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE4M18yMCkiPgo8cGF0aCBkPSJNMTMuNTQzNiAxMC42MTc5TDIwLjA5NzEgM0gxOC41NDQxTDEyLjg1MzcgOS42MTQ0OEw4LjMwODg3IDNIMy4wNjY4OUw5LjkzOTY0IDEzLjAwMjNMMy4wNjY4OSAyMC45OTA4SDQuNjE5OTRMMTAuNjI5MSAxNC4wMDU2TDE1LjQyODggMjAuOTkwOEgyMC42NzA4TDEzLjU0MzIgMTAuNjE3OUgxMy41NDM2Wk0xMS40MTY1IDEzLjA5MDRMMTAuNzIwMiAxMi4wOTQ0TDUuMTc5NTMgNC4xNjkxMUg3LjU2NDkxTDEyLjAzNjMgMTAuNTY1MUwxMi43MzI2IDExLjU2MTFMMTguNTQ0OCAxOS44NzQ4SDE2LjE1OTVMMTEuNDE2NSAxMy4wOTA4VjEzLjA5MDRaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzE4M18yMCI+CjxyZWN0IHg9IjMuMDY2ODkiIHk9IjMiIHdpZHRoPSIxNy42MDM5IiBoZWlnaHQ9IjE4IiByeD0iMC4yIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=" alt="Flipkart Twitter Page"></a></li>
<li><a href="https://www.youtube.com/flipkart" aria-label="YouTube">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/YoutubeLogo-8425c4.svg" alt="YouTube"></a></li>
<img src="https://static-assets-web.flixcart.com/fk-p-linchpin-web/fk-cp-zion/img/YoutubeLogo_958b78.svg" alt="Flipkart YouTube Channel"></a></li>
</ul>
</div>
</div>
Expand All @@ -123,25 +123,25 @@ <h5>Registered Office Address:</h5>
<div class="container-fluid footerEnd">
<div class="row align-items-center">
<div class="col-auto">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/sell-image-9de8ef.svg"
alt="Become a Seller" width="13" height="12">
<a href="../pages/Sell_Online/sell_online.html"
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE1Ij4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjAlIiB4Mj0iODYuODc2JSIgeTE9IjAlIiB5Mj0iODAuMjAyJSI+CiAgICAgICAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNGRkQ4MDAiLz4KICAgICAgICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjRkZBRjAwIi8+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTS0yLTJoMjB2MjBILTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTUuOTMgNS42MTRoLTIuOTQ4VjQuMTRjMC0uODE4LS42NTUtMS40NzMtMS40NzMtMS40NzNIOC41NmMtLjgxNyAwLTEuNDczLjY1NS0xLjQ3MyAxLjQ3M3YxLjQ3NEg0LjE0Yy0uODE4IDAtMS40NjYuNjU2LTEuNDY2IDEuNDc0bC0uMDA3IDguMTA1YzAgLjgxOC42NTUgMS40NzQgMS40NzMgMS40NzRoMTEuNzljLjgxOCAwIDEuNDc0LS42NTYgMS40NzQtMS40NzRWNy4wODhjMC0uODE4LS42NTYtMS40NzQtMS40NzQtMS40NzR6bS00LjQyMSAwSDguNTZWNC4xNGgyLjk0OHYxLjQ3NHoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yIC0yKSIvPgogICAgPC9nPgo8L3N2Zz4K"
alt="Become a Seller" width="16" height="15">
<a href="../pages/Sell_Online/sell_online.html"
aria-label="Become a Seller"><span>Become a Seller</span></a>
</div>
<div class="col-auto">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/advertise-image-866c0b.svg"
alt="Advertise" width="14" height="14">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE1IDE1Ij4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjAlIiB4Mj0iODYuODc2JSIgeTE9IjAlIiB5Mj0iODAuMjAyJSI+CiAgICAgICAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNGRkQ4MDAiLz4KICAgICAgICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjRkZBRjAwIi8+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTS0zLTNoMjB2MjBILTN6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTAuNDkyIDNDNi4zNTMgMyAzIDYuMzYgMyAxMC41YzAgNC4xNCAzLjM1MyA3LjUgNy40OTIgNy41QzE0LjY0IDE4IDE4IDE0LjY0IDE4IDEwLjUgMTggNi4zNiAxNC42NCAzIDEwLjQ5MiAzem0zLjE4IDEyTDEwLjUgMTMuMDg4IDcuMzI3IDE1bC44NC0zLjYwN0w1LjM3IDguOTdsMy42OS0uMzE1TDEwLjUgNS4yNWwxLjQ0IDMuMzk4IDMuNjkuMzE1LTIuNzk4IDIuNDIyLjg0IDMuNjE1eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMgLTMpIi8+CiAgICA8L2c+Cjwvc3ZnPgo="
alt="Advertise" width="15" height="15">
<a href="https://brands.flipkart.com" aria-label="Advertise"><span>Advertise</span></a>
</div>
<div class="col-auto">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/gift-cards-image-d7ff24.svg"
alt="Gift Cards" width="13" height="13">
<img src="data:image/svg+xml;base64,PHN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NC0yLjdMMTAgNi4xNjdsLjgzMyAxLjEzMyAxLjk4NCAyLjcgMS4zNS0uOTc1LTEuNzM0LTIuMzU4aDQuMjM0djV6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMSAtMSkiLz4KICAgIDwvZz4KPC9zdmc+Cg=="
alt="Gift Cards" width="18" height="17">
<a href="../the-gift-card-store/index.html"
aria-label="Gift Cards"><span>Gift Cards</span></a>
</div>
<div class="col-auto">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/help-centre-image-c4ace8.svg"
alt="Help Center" width="13" height="13">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE1IDE1Ij4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjAlIiB4Mj0iODYuODc2JSIgeTE9IjAlIiB5Mj0iODAuMjAyJSI+CiAgICAgICAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNGRkQ4MDAiLz4KICAgICAgICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjRkZBRjAwIi8+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTS0yLTNoMjB2MjBILTJ6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNOS41IDNDNS4zNiAzIDIgNi4zNiAyIDEwLjUgMiAxNC42NCA1LjM2IDE4IDkuNSAxOGM0LjE0IDAgNy41LTMuMzYgNy41LTcuNUMxNyA2LjM2IDEzLjY0IDMgOS41IDN6bS43NSAxMi43NWgtMS41di0xLjVoMS41djEuNXptMS41NTMtNS44MTNsLS42NzYuNjljLS41NC41NDgtLjg3Ny45OTgtLjg3NyAyLjEyM2gtMS41di0uMzc1YzAtLjgyNS4zMzgtMS41NzUuODc3LTIuMTIzbC45My0uOTQ1Yy4yNzgtLjI3LjQ0My0uNjQ1LjQ0My0xLjA1NyAwLS44MjUtLjY3NS0xLjUtMS41LTEuNVM4IDcuNDI1IDggOC4yNUg2LjVhMyAzIDAgMSAxIDYgMGMwIC42Ni0uMjcgMS4yNi0uNjk3IDEuNjg4eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIgLTMpIi8+CiAgICA8L2c+Cjwvc3ZnPgo="
alt="Help Center" width="15" height="15">
<a href="https://www.flipkart.com/helpcentre?otracker=${otracker}_footer_navlinks"
aria-label="Help Center"><span>Help Center</span></a>
</div>
Expand Down

0 comments on commit 1548cbd

Please sign in to comment.