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

FIxed Side Bar Issue and Provide a Gaming Themed Side Bar #590

Merged
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
12 changes: 0 additions & 12 deletions aboutus.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,6 @@ <h2>Feedback Form</h2>

</footer>

<!-- SIDEBAR -->

<div class="social-sidebar">
<div class="close-btn" id="SideBar" onclick="toggleSidebar()" title="Close Sidebar">&times;</div>
<ul id="sidebar-content">
<li><a class="facebook" href="#"><i class="fa-brands fa-meta"></i></a></li>
<li><a class="twitter" href="#"><i class="fa-brands fa-x-twitter"></i></a></li>
<li><a class="facebook" href="#"><i class="fa-brands fa-instagram"></i></a></li>
<li><a class="facebook" href="#"><i class="fa-brands fa-youtube"></i></a></li>
</ul>
</div>

<!-- SIDEBAR -->
<div class="social-sidebar">
<div class="close-btn" id="SideBar" onclick="toggleSidebar()" title="Close Sidebar">&times;</div>
Expand Down
31 changes: 26 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ button {
font-size: 20px;
color: white;
cursor: pointer;
background-color: #1f2937;
background-color: #ff1476;
border: 2px solid white;
border-radius: 50%;
display: flex;
Expand All @@ -1001,15 +1001,19 @@ button {
top: 50%;
right: 0;
transform: translateY(-50%);
transition: transform 0.3s ease-in-out;
background-color: #333;
transition: all 0.5s linear, width 0.5s ease;
background: linear-gradient(45deg, #8a2be2, #FF1493);
border-radius: 10px 0 0 10px;
cursor: pointer;
color: white;
font-size: 25px;
padding: 12px;
z-index: 1;
}
.toggle-arrow:hover{
background: linear-gradient(45deg, #8400ffa6, #ff0088ac);
width: 30px;
}

.social-sidebar {
position: fixed;
Expand All @@ -1019,7 +1023,7 @@ button {
display: flex;
flex-direction: column;
gap: 15px;
background-color: #333;
background: linear-gradient(135deg, #8514ee, #00ffffc9, #ff078b);
padding: 3px;
border-radius: 15px 0 0 15px;
border: none;
Expand Down Expand Up @@ -1063,8 +1067,9 @@ button {
.social-sidebar li a:hover {
background-color: #ffffff;
border-radius: 50%;
color: #1f2937;
/* color: #1f2937; */
transform: scale(1.1);
transition: all linear 0.3s;
}

.social-sidebar i {
Expand All @@ -1076,6 +1081,22 @@ button {
transform: scale(1.1);
}

.social-sidebar .facebook:hover{
color: #1877F2;
}

.social-sidebar .twitter:hover {
color: black;
}

.social-sidebar .instagram:hover {
color: #C13584;
}

.social-sidebar .youtube:hover {
color: #FF0000;
}

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

/* ----------------------------for mobiles--------------------------------------- */
Expand Down