worsdle/static/css/styles.css

112 lines
1.7 KiB
CSS
Raw Normal View History

2023-09-25 01:03:40 +00:00
body > * {
font-family: sans-serif;
}
body {
min-height: 99dvh;
2023-09-30 06:58:25 +00:00
display: grid;
grid-template-rows: auto 1fr auto;
justify-items: center;
gap: 5px;
}
2023-10-16 08:19:48 +00:00
button {
padding-left: 0;
padding-right: 0;
direction: ltr;
}
2023-09-30 06:58:25 +00:00
main {
padding-left: 20px;
padding-right: 20px;
display: flex !important;
2023-09-25 01:03:40 +00:00
flex-direction: column;
2023-09-30 06:58:25 +00:00
align-items: center;
gap: 10px;
2023-09-25 01:03:40 +00:00
}
.board {
display: grid;
2023-09-30 06:58:25 +00:00
width: min-content;
2023-09-25 01:03:40 +00:00
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
justify-items: center;
2023-09-30 06:58:25 +00:00
gap: 5px;
2023-09-25 01:03:40 +00:00
padding-bottom: 10px;
}
.board > p {
display: flex;
2023-09-30 06:58:25 +00:00
width: 50px;
height: 50px;
2023-09-25 01:03:40 +00:00
border: 3px solid #444444;
border-radius: 10px;
justify-content: center;
align-items: center;
margin: 0;
2023-09-30 06:58:25 +00:00
font-size: 30px;
2023-09-25 01:03:40 +00:00
}
.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 {
2023-09-30 06:58:25 +00:00
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
2023-09-25 01:03:40 +00:00
}
2023-09-30 06:58:25 +00:00
.result-board > p {
2023-09-25 01:03:40 +00:00
margin: 0;
font-size: 20px;
}
2023-09-29 20:08:23 +00:00
.keyboard {
display: grid;
grid-template-columns: repeat(20, 1fr);
2023-10-03 23:38:10 +00:00
gap: 2px;
2023-09-29 20:08:23 +00:00
}
.keyboard > button {
grid-column: span 2;
2023-09-30 06:58:25 +00:00
width: auto;
height: 60px;
2023-10-03 23:38:10 +00:00
border: 2px solid lightgray;
touch-action: manipulation;
2023-09-29 20:08:23 +00:00
}
.keyboard > button.key-big {
grid-column: span 3;
}