Skip to content

Commit

Permalink
Merge branch 'main' into firing_feature_improved
Browse files Browse the repository at this point in the history
  • Loading branch information
Archisman141 authored Oct 8, 2024
2 parents c9b6c42 + 5ea563b commit 8b4cae5
Show file tree
Hide file tree
Showing 10 changed files with 654 additions and 633 deletions.
55 changes: 20 additions & 35 deletions Alien.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ body {
background-color: rgba(0, 0, 0, 0.7);
padding: 5px 10px;
border-radius: 5px;
background-color: var(--background-color);
background-color: black;
border: var(--text-color) 2px solid;
}

Expand All @@ -71,7 +71,7 @@ body{

/* button styling */
.dropdown button{
background-color: rgb(20, 171, 20);
background-color: bisque;
color: #000;
letter-spacing: .5px;
word-spacing: 2px;
Expand Down Expand Up @@ -127,7 +127,7 @@ body{
position: absolute;
font-size: 24px;
padding: 10px 20px;
background-color: rgb(20, 171, 20);
background-color: #007bff;
color: #000;
border: none;
cursor: pointer;
Expand Down Expand Up @@ -170,33 +170,18 @@ button{
}

#instructionsList {

width: 500px; /* Increased to ensure to scrolling */
padding: 10px;
background-color: #007bff;
color: #000;
max-height: 300px; /* Set a maximum height to enable scrolling */
overflow-y: auto; /* Enable vertical scrolling */
display: none;
cursor: pointer;

}

/* scrollbar color adding for chrome */
#instructionsList::-webkit-scrollbar {
width: 12px; /* Width of the scrollbar */
}

#instructionsList::-webkit-scrollbar-track {
background: #f1f1f1; /* Background of the scrollbar track */
}

#instructionsList::-webkit-scrollbar-thumb {
background: navy; /* Color of the scrollbar handle */
border-radius: 6px; /* Rounded corners for the scrollbar handle */
}
background: linear-gradient(135deg,#33523d,#1b1e48);
color: #eecccc;
max-height: 500px; /* Set a maximum height to enable scrolling */
overflow-y: auto;
display: block;

#instructionsList::-webkit-scrollbar-thumb:hover {
background: #555; /* Color on hover */
cursor: pointer;
margin-left: 15px;
box-shadow: 4px 4px 0px #47697b;
}

a {
Expand All @@ -215,7 +200,7 @@ a {
border-radius: 50rem;
}
#instructionsTitle:hover{
background-color: #0056b3;
background-color: #5c7b9d;
transform: scale(1.05);
}
h3{
Expand All @@ -227,7 +212,7 @@ h3{
bottom: 10px;
left: 10px;
font-size: 22px;
color: #d8fd05;
color: orangered;
}

#finalScore {
Expand Down Expand Up @@ -788,24 +773,24 @@ h3{
/* Default light mode colors */
:root {

--background-color: #c3f8fa;
--text-color: #70abe6;
--background-color: bisque;
--text-color: white;
--header-bg: rgb(25, 46, 43);
#liveScore {
position: absolute;
top: 10px;
left: 134px;
font-size: 20px;
font-weight: bold;
color: #70abe6;
color: blue;
}
#liveLife {
position: absolute;
top: 42px;
left: 134px;
font-size: 20px;
font-weight: bold;
color: #70abe6;
color: blueviolet;
}

}
Expand All @@ -821,7 +806,7 @@ h2{
left: 134px;
font-size: 20px;
font-weight: bold;
color: #dd8bbb;
color: white;
}
#liveLife {
position: absolute;
Expand All @@ -847,7 +832,7 @@ body {
}

header {
background-color: grey;
background-color: black;
padding: 1rem;
display: flex;
justify-content: space-between;
Expand Down
Loading

0 comments on commit 8b4cae5

Please sign in to comment.