Skip to content

Commit

Permalink
container and margin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberSphinxxx committed Oct 8, 2024
1 parent e8e5436 commit 83efb23
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ h1 {
transition: color 0.5s ease-out;

text-shadow:
0 0 10px gold,
0 0 5px gold,
0 0 0px gold;
}
h1:hover {
Expand All @@ -41,7 +41,7 @@ h1:hover {
.difficulty-levels {
text-align: center;
margin-bottom: 20px;
margin-top: 10px;
margin-top: -5%;
user-select: none;
}

Expand Down Expand Up @@ -70,15 +70,20 @@ button {
background-color: #282c34;
padding: 40px;
border-radius: 10px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
text-align: center;
width: 90%;
max-width: 800px;
min-height: 250px;
margin-top: 10px;
user-select: none;
transition: ease 1s;
overflow-wrap: break-word;
white-space: normal;
}



#resetButton {
margin-top: 20px;
padding: 10px 20px;
Expand All @@ -96,9 +101,11 @@ button {

#targetText {
font-size: 1.9rem;
margin-top: -5px;
margin-bottom: 10px;
letter-spacing: 2px;
color: var(--text-color);
transition: color 0.3s ease;
}

#userInput {
Expand All @@ -116,6 +123,7 @@ button {
color: #a7a7a7;
margin-top: 15px;
cursor: pointer;
transition: 0.3s ease-in-out;
}

.correct {
Expand Down

0 comments on commit 83efb23

Please sign in to comment.