worsdle/static/css/styles.css

85 lines
1.3 KiB
CSS
Raw Normal View History

2023-09-25 01:03:40 +00:00
body > * {
font-family: sans-serif;
}
body {
min-height: 99dvh;
margin-left: 150px;
margin-right: 150px;
display: flex;
align-items: center;
flex-direction: column;
}
.board {
width: 25%;
height: 25%;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
justify-items: center;
justify-self: auto;
gap: 10px;
padding-bottom: 10px;
}
.board > p {
display: flex;
width: 70px;
height: 70px;
border: 3px solid #444444;
border-radius: 10px;
justify-content: center;
align-items: center;
margin: 0;
font-size: 40px;
}
.correct {
border-color: #BDD9BF !important;
background-color: #BDD9BF90;
color: black;
}
.almost {
border-color: #FFC857 !important;
background-color: #FFC85790;
color: black;
}
.missed {
border-color: #444444 !important;
background-color: #44444490;
color: white;
}
.result {
display: flex;
flex-direction: column;
align-items: center;
}
.result > span {
font-size: 20px;
}
.hidden {
visibility: hidden;
}
.result-board {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
width: fit-content;
gap: 2px;
}
.result-board > span {
margin: 0;
font-size: 20px;
height: 20px;
width: 20px;
}