git / hangman-game /style.css
KEXEL's picture
1.1
f59f14b verified
raw
history blame contribute delete
978 Bytes
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min-height: 100vh;
font-family: Arial, Helvetica, sans-serif;
background-color: #57ee3d;
}
main {
display: flex;
align-items: center;
gap: 30px;
}
.content {
display: flex;
flex-direction: column;
gap: 30px;
height: 200px;
max-width: 400px;
}
.guess-word {
display: flex;
gap: 10px;
font-size: 50px;
flex-wrap: wrap;
}
.btns {
display: flex;
gap: 5px;
flex-wrap: wrap;
}
button {
height: 30px;
font-size: 20px;
cursor: pointer;
color: white;
border: none;
border-radius: 3px;
}
.btns button {
width: 30px;
background-color: #0ea989;
}
.new {
width: 120px;
background-color: #3ba128;
margin: 20px;
}
button:hover {
opacity: 0.8;
}
.clue {
font-size: 18px;
}
@media (max-width:650px) {
main {
flex-direction: column;
padding: 10px;
}
}