Skip to content

Commit

Permalink
footer ui is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanththalla committed Oct 8, 2024
1 parent e8d132d commit 26acd74
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 92 deletions.
99 changes: 51 additions & 48 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,55 +300,58 @@ <h2>Contact Us</h2>
</div>
</section>

<footer class="footer">
<div class="footer-content">
<div class="footer-section about">
<div class="logo-container">
<img src="images/logo.png" alt="GamingTools Logo" class="footer-logo">
<h2 class="logo-text">Collect your GamingTools</h2>
</div>
<p class="about-text">
Your one-stop shop for premium gaming accessories. Elevate your gaming experience with our curated selection of controllers, VR gear, and more.
</p>
<div class="contact">
<span><i class="fas fa-phone"></i> &nbsp; 123-456-789</span>
<span><i class="fas fa-envelope"></i> &nbsp; [email protected]</span>
</div>
<div class="socials">
<!-- Added classes to the <a> tags to add the Hover animations -->
<a class="facebook" href="#"><i class="fab fa-facebook"></i></a>
<a class="instagram" href="#"><i class="fab fa-instagram"></i></a>
<a class="twitter" href="#" ><i class="fa-brands fa-x-twitter"></i></a>
<a class="youtube" href="#"><i class="fab fa-youtube"></i></a>
<footer class="footer">
<div class="footer-content">
<div class="footer-section about">
<div class="logo-container">
<img src="images/logo.png" alt="GamingTools Logo" class="footer-logo">
<h2 class="logo-text">Collect your GamingTools</h2>
</div>
<p class="about-text">
Your one-stop shop for premium gaming accessories. Elevate your gaming experience with our curated selection of controllers, VR gear, and more.
</p>
<div class="contact">
<span><i class="fas fa-phone"></i> &nbsp; 123-456-789</span>
<span><i class="fas fa-envelope"></i> &nbsp; [email protected]</span>
</div>
<div class="socials">
<a href="#" class="facebook"><i class="fab fa-facebook"></i></a>
<a href="#" class="instagram"><i class="fab fa-instagram"></i></a>
<a href="#" class="twitter"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#" class="youtube"><i class="fab fa-youtube"></i></a>
<a href="#" class="twitch"><i class="fab fa-twitch"></i></a>
<a href="#" class="github"><i class="fab fa-github"></i></a>
<a href="#" class="discord"><i class="fab fa-discord"></i></a>
</div>
</div>
<div class="footer-section links">
<h2>Quick Links</h2>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Game Controllers</a></li>
<li><a href="#">VR Accessories</a></li>
<li><a href="#">Media Remotes</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">FAQ</a></li>
</ul>
</div>
<div class="footer-section contact-form">
<h2>Contact Us</h2>
<form action="#" method="post">
<input type="email" name="email" class="text-input contact-input" placeholder="Your email address...">
<textarea name="message" class="text-input contact-input" placeholder="Your message..."></textarea>
<button type="submit" class="btn btn-big contact-btn">
<i class="fas fa-envelope"></i> Send
</button>
</form>
</div>
</div>
</div>
<div class="footer-section links">
<h2>Quick Links</h2>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">FAQ</a></li>
</ul>
</div>
<div class="footer-section contact-form">
<h2>Contact Us</h2>
<form action="#" method="post">
<input type="email" name="email" class="text-input contact-input" placeholder="Your email address...">
<textarea name="message" class="text-input contact-input" placeholder="Your message..."></textarea>
<button type="submit" class="btn btn-big contact-btn">
<i class="fas fa-envelope"></i>
Send
</button>
</form>
</div>
</div>
<div class="footer-bottom">
&copy; 2024 GamingTools | Designed by Swaraj
</div>

</footer>
<div class="footer-bottom">
&copy; 2024 GamingTools | Designed by Swaraj
</div>
</footer>


<!-- Scroll to Top Button -->
<div class="scroll-top" onclick="scrollToTop()">
Expand Down
89 changes: 45 additions & 44 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -536,12 +536,13 @@ button:hover img {
color: #ff3c6d;
font-weight: 600;
}

.footer {
background: #303036;
background: linear-gradient(135deg, #303036, #1c1c1e);
color: #d3d3d3;
padding: 50px 0 0;
font-family: 'Arial', sans-serif;
box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
font-size: 0.9em; /* Decreased overall font size */
}

.footer-content {
Expand All @@ -562,8 +563,9 @@ button:hover img {

.footer h2 {
color: white;
font-size: 1.3em;
font-size: 1.2em; /* Decreased heading size */
margin-bottom: 20px;
text-transform: uppercase;
}

.logo-container {
Expand All @@ -573,25 +575,29 @@ button:hover img {
}

.footer-logo {
width: 60px;
width: 50px; /* Slightly reduced logo size */
height: auto;
margin-right: 15px;
filter: drop-shadow(0 0 5px #fff);
}

.logo-text {
font-size: 1.5em;
font-size: 1.4em; /* Decreased logo text size */
margin: 0;
color: #ffda44;
}

.about-text {
line-height: 1.5;
margin-bottom: 20px;
font-size: 0.95em; /* Decreased about text size */
}

.contact span {
display: block;
font-size: 1.1em;
font-size: 1em; /* Decreased contact info size */
margin-bottom: 8px;
color: #fff;
}

.socials {
Expand All @@ -600,41 +606,30 @@ button:hover img {

.socials a {
display: inline-block;
width: 40px;
height: 40px;
background: rgba(255,255,255,0.1);
width: 35px; /* Decreased social icon size */
height: 35px;
background: rgba(255, 255, 255, 0.1);
margin-right: 10px;
text-align: center;
line-height: 40px;
line-height: 35px;
border-radius: 50%;
color: #d3d3d3;
transition: all .3s;
transition: transform 0.3s ease, background 0.3s ease; /* Added transform property */
transition: transform 0.3s ease, background 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.socials a:hover{
transform: scale(1.2); /* Zoom effect on hover */
.socials a:hover {
transform: scale(1.2);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
/* Hover zoom effect for facebook icon */
.socials .facebook:hover {
background: blue;
color: white;
}
/* Hover zoom effect for instagram icon */
.socials .instagram:hover {
background: orangered;
color: white;
}
/* Hover zoom effect for twitter[X] icon */
.socials .twitter:hover {
background: black;
color: white;
}
/* Hover zoom effect for youtube icon */
.socials .youtube:hover {
background: red;
color: white;
}

.socials .facebook:hover { background: #3b5998; color: white; }
.socials .instagram:hover { background: #e1306c; color: white; }
.socials .twitter:hover { background: #1da1f2; color: white; }
.socials .youtube:hover { background: #ff0000; color: white; }
.socials .twitch:hover { background: #6441a5; color: white; }
.socials .github:hover { background: #333; color: white; }
.socials .discord:hover { background: #7289DA; color: white; }

.links ul {
list-style-type: none;
Expand All @@ -644,14 +639,14 @@ button:hover img {
.links ul a {
display: block;
margin-bottom: 10px;
font-size: 1.1em;
font-size: 1em; /* Decreased link size */
color: #d3d3d3;
text-decoration: none;
transition: all .3s;
}

.links ul a:hover {
color: white;
color: #ffda44;
padding-left: 10px;
}

Expand All @@ -664,28 +659,32 @@ button:hover img {
border: none;
width: 100%;
border-radius: 5px;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
font-size: 0.9em; /* Decreased input text size */
}

.contact-form textarea.text-input {
height: 120px;
height: 100px; /* Reduced textarea height */
resize: none;
}

.contact-form .contact-btn {
float: right;
font-size: 1.1em;
display: inline-block;
font-size: 1em; /* Decreased button text size */
font-family: 'Arial', sans-serif;
background: #4CAF50;
background: linear-gradient(135deg, #4CAF50, #3e8e41);
color: white;
border: none;
padding: 12px 20px;
padding: 10px 15px; /* Reduced button padding */
border-radius: 5px;
cursor: pointer;
transition: all .3s;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
transition: all .3s ease;
}

.contact-form .contact-btn:hover {
background: #45a049;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.footer-bottom {
Expand All @@ -694,17 +693,18 @@ button:hover img {
text-align: center;
padding: 15px 0;
margin-top: 40px;
font-size: 0.9em; /* Decreased footer bottom text size */
}

@media screen and (max-width: 768px) {
.footer-content {
flex-direction: column;
}

.footer-section {
margin-bottom: 30px;
}

.contact-form .contact-btn {
width: 100%;
float: none;
Expand All @@ -714,6 +714,7 @@ button:hover img {




/* -----------------------------------------------Responsiveness----------------------------------------------------- */


Expand Down

0 comments on commit 26acd74

Please sign in to comment.