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

Successfully implemented attractive scroll bar and changed font family of all website #766

Merged
merged 2 commits into from
Nov 10, 2024
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
33 changes: 30 additions & 3 deletions Alien.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
/* Theme Variables */
:root {
/* Light Theme Colors */
Expand All @@ -23,11 +24,33 @@
--border-dark: #2d2d3a;

/* Common Variables */
--game-font: "Roboto", sans-serif;
--game-font : "Bruno Ace SC", sans-serif;
/* Updated to 'Roboto' */
--transition-speed: 0.3s;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
width: 14px;
}

::-webkit-scrollbar-track {
background: #e0e0e0; /* Light background for the track */
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #007bff, #ff66cc); /* Diagonal gradient from blue to pink */
border-radius: 10px;
border: 3px solid #e0e0e0; /* Contrast border */
box-shadow: 0 0 8px rgba(255, 102, 204, 0.7); /* Soft glow around thumb */
}

::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #0066ff, #ff4db8); /* Darker gradient on hover */
box-shadow: 0 0 12px rgba(0, 123, 255, 0.7), 0 0 12px rgba(255, 102, 204, 0.7); /* Intensified glow on hover */
}

/* Base Styles */
body {
margin: 0;
Expand Down Expand Up @@ -83,7 +106,8 @@ body.dark-theme {
justify-content: center;
align-items: center;
flex-wrap: wrap;
position: absolute;
/* position: absolute; */
position: fixed;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -127,7 +151,8 @@ body:not(.dark-theme) .navbar a {

/* Responsive Navbar Styling */
.navbar .faq-btn {
font-size: 0.8em;
font-size: 1em;
font-weight: bolder;
padding: 10px 20px;
margin: 5px;
}
Expand Down Expand Up @@ -375,6 +400,8 @@ body:not(.dark-theme) #congratsPopup.show {

/* Buttons */
button {
font-size: 1em;
font-weight: bolder;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
Expand Down
24 changes: 23 additions & 1 deletion Contributors/contributor.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: "Bruno Ace", sans-serif;
margin: 0;
padding: 0;
}
/* Custom Scrollbar Styling */
::-webkit-scrollbar {
width: 14px;
}

::-webkit-scrollbar-track {
background: #e0e0e0; /* Light background for the track */
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #007bff, #ff66cc); /* Diagonal gradient from blue to pink */
border-radius: 10px;
border: 3px solid #e0e0e0; /* Contrast border */
box-shadow: 0 0 8px rgba(255, 102, 204, 0.7); /* Soft glow around thumb */
}

::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #0066ff, #ff4db8); /* Darker gradient on hover */
box-shadow: 0 0 12px rgba(0, 123, 255, 0.7), 0 0 12px rgba(255, 102, 204, 0.7); /* Intensified glow on hover */
}

.container {
text-align: center;
Expand Down
4 changes: 2 additions & 2 deletions Login_and_Signup/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
font-family: "Bruno Ace", sans-serif;
}

body {
Expand Down
3 changes: 2 additions & 1 deletion contributors.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: "Bruno Ace", sans-serif;
margin: 0;
padding: 0;
}
Expand Down
27 changes: 26 additions & 1 deletion donation_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
<style>


Expand All @@ -18,6 +21,7 @@

cursor: none; /* Hide the default cursor */


}

/* Cursor Tail Effect - the small dots trailing behind */
Expand Down Expand Up @@ -103,8 +107,29 @@
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Arial", sans-serif;
font-family: "Bruno Ace", sans-serif;
}
/* Custom Scrollbar Styling */
::-webkit-scrollbar {
width: 14px;
}

::-webkit-scrollbar-track {
background: #e0e0e0; /* Light background for the track */
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #007bff, #ff66cc); /* Diagonal gradient from blue to pink */
border-radius: 10px;
border: 3px solid #e0e0e0; /* Contrast border */
box-shadow: 0 0 8px rgba(255, 102, 204, 0.7); /* Soft glow around thumb */
}

::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #0066ff, #ff4db8); /* Darker gradient on hover */
box-shadow: 0 0 12px rgba(0, 123, 255, 0.7), 0 0 12px rgba(255, 102, 204, 0.7); /* Intensified glow on hover */
}

body {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
Expand Down
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@

<link rel="icon" href="favicon.png" type="image/x-icon">
<title>Alien Invasion Defense</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="Alien.css">

<link rel="manifest" href="/manifest.json">
Expand Down Expand Up @@ -99,7 +100,7 @@
body {


font-family: Arial, sans-serif;
font-family: "Bruno Ace", sans-serif;
}


Expand Down
4 changes: 2 additions & 2 deletions login.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
margin: 0;
Expand All @@ -8,7 +8,7 @@

body,
input {
font-family: "Poppins", sans-serif;
font-family: "Bruno Ace", sans-serif;
}

.container {
Expand Down
3 changes: 2 additions & 1 deletion login/login.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-family: "Bruno Ace", sans-serif;
background: linear-gradient(135deg, #2d0232, #0d0722);
margin: 0;
padding: 0;
Expand Down
5 changes: 4 additions & 1 deletion share_score.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Bruno+Ace+SC&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
<title>Share Your Score</title>
<style>
/*basic styling */
Expand All @@ -17,7 +20,7 @@
align-items: center;
flex-direction: column;
height: 100vh;
font-family: Arial, sans-serif;
font-family: "Bruno Ace", sans-serif;
background-color: #121212;
color: #ffffff;
text-align: center;
Expand Down