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

Alligned Navbar #749

Closed
wants to merge 4 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
109 changes: 109 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,85 @@
<title>Dots & Boxes Game</title>
</head>

<audio id="background-music" autoplay loop>
<source src="./assets/sounds/bgMusic.mp3" type="audio/mpeg" />
</audio>
<div class="settings">
<video autoplay muted class="video" loop id="myVideo">
<source src="/assets/videos/1.mp4" type="video/mp4" />
</video>
<div class="whole-background">
<nav class="navbarr">
<div class="logo">
<a href="#">Dots & Boxes ⚄</a>
</div>

<ul class="nav-links">
<li><a href="index.html"><i class="fas fa-home"></i> Home</a></li>
<li><a href="./pages/about.html"><i class="fas fa-info-circle"></i> About Us</a></li>
<li><a href="./pages/FAQs.html"><i class="fas fa-question-circle"></i> FAQs</a></li>
<li><a href="./pages/contributors.html"><i class="fas fa-users"></i> Contributors</a></li>
</ul>
<div class="hamburger">
<i class="fas fa-bars"></i>
</div>
</nav>

<button class="sticky-button" onclick="openForm()">Feedback</button>
<div class="feed-bg">
<div id="formContainer" class="form-container">
<div class="form-content">
<div class="sub">
<h5>We'd Love Your Feedback!</h5>
<span class="close-button" onclick="closeForm()">&times;</span>
</div>
<div class="wrapper">
<input type="radio" name="rate" id="star-1" />
<input type="radio" name="rate" id="star-2" />
<input type="radio" name="rate" id="star-3" />
<input type="radio" name="rate" id="star-4" />
<input type="radio" name="rate" id="star-5" />
<div class="content">
<div class="outer">
<div class="emojis">
<li class="slideImg">
<img
src="./assets/images/emojis/emoji-1-bg.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-2-bg.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-3.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-4-bg.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-5-bg.png"
alt="emoji"
/>
</li>
</div>
</div>
<div class="stars">
<label for="star-1" class="star-1 fas fa-star"></label>
<label for="star-2" class="star-2 fas fa-star"></label>
<label for="star-3" class="star-3 fas fa-star"></label>
<label for="star-4" class="star-4 fas fa-star"></label>
<label for="star-5" class="star-5 fas fa-star"></label>
<body>
<script src="/js/global.js"></script>

Expand Down Expand Up @@ -80,6 +159,7 @@ <h5>We'd Love Your Feedback!</h5>
<li>
<img src="./assets/images/emojis/emoji-5-bg.png" alt="emoji" />
</li>

</div>
</div>
<div class="stars">
Expand Down Expand Up @@ -182,6 +262,35 @@ <h3 class="instructions-heading" style="text-decoration: underline">
</div>
</div>
</div>

<div class="author">
<div class="fotbar">
<a href="./pages/howtoplay.html"><i class="fas fa-gamepad"></i> HowToPlay?</a>
<a href="./pages/termsofservice.html"><i class="fas fa-file-contract"></i> TermsOfService</a>
<a href="./pages/privacypolicy.html"><i class="fas fa-user-shield"></i> PrivacyPolicy</a>
<a href="./pages/licensing.html"><i class="fas fa-copyright"></i> Licensing</a>
</div>
<div id="copyright">
&copy;
<script>
document.write(new Date().getFullYear());
</script>
Made with ❤️ by
</div>
<div class="footer">
<div class="social-icons" style="display: flex; justify-content: flex-end;">
<a href="https://github.com/ChromeGaming" style="font-size: 12px;">Chrome Gaming</a>

<a href="https://github.com/ChromeGaming/Dot-Box" target="_blank" style="font-size: 16px;">
<i class="fab fa-github"></i>
</a>
<a href="https://discord.gg/2HTCFrSvPB" target="_blank" style="font-size: 16px;">
<i class="fab fa-discord"></i>
</a>
</div>
</div>


</div>
<div class="author">
<div class="fotbar">
Expand Down
78 changes: 68 additions & 10 deletions styles/index.style.css
Original file line number Diff line number Diff line change
Expand Up @@ -582,18 +582,76 @@ form {
}
}

.footer {
/* border-top: 2px dashed #ff6b6b; */
/* background: linear-gradient(125deg, #ffecd2, #ffece5); */
width: 100%;
border-radius: 3px;
height: 40px;
padding: 0 15px;
display: flex;
align-items: center;
justify-content: space-between;
/* General reset for margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
}

/* Footer Styling */
footer {
background-color: #222;
color: #fff;
padding: 20px 0;
}

.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
text-align: center;
}
.social-icons {
display: flex;
justify-content: flex-end; /* Aligns the icons to the right */
gap: 10px; /* Adds space between the icons */
}

.social-icons a {
color: inherit; /* Ensures the icon color matches the current text color */
text-decoration: none; /* Removes the underline from the links */
}
#copyright {
margin-top: 20px; /* Adjust the value as needed to move it down */
text-align: center; /* Center-align the text if desired */
font-size: 14px; /* Optional: Adjust the font size */
}

.footer-links {
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}

.footer-links li {
margin: 10px 0;
}

.footer-links a {
color: #fff;
text-decoration: none;
font-size: 16px;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: #ffd700; /* Gold color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
.footer-links {
flex-direction: column;
gap: 10px;
}
.footer span {
font-size: 18px;
font-weight: 600;
Expand Down
Loading