Skip to content
Snippets Groups Projects
Commit 96c17bba authored by enr27's avatar enr27
Browse files

Replace style.css

parent daa937ae
No related branches found
No related tags found
No related merge requests found
...@@ -98,3 +98,70 @@ body { ...@@ -98,3 +98,70 @@ body {
background: #09001d; background: #09001d;
box-shadow: none; box-shadow: none;
} }
#gameArea {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
padding-top: 200px;
padding-left: 200px;
}
#question {
font-size: 28px;
margin-bottom: 20px;
max-width: 80%;
line-height: 1.5;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
#options {
display: flex;
flex-direction: column;
gap: 15px;
width: 80%;
}
#options button {
padding: 10px 20px;
font-size: 18px;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: blue;
color: white;
transition: background-color 0.3s;
}
#options button:hover {
background-color: darkblue;
}
#score {
position: absolute;
top: 20px;
right: 20px;
font-size: 18px;
background: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 10px 15px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#timer {
position: absolute;
top: 20px;
left: 20px;
font-size: 18px;
background: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 10px 15px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 100;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment