minesweeper/src/index.css

66 lines
976 B
CSS

.game-board {
display: grid;
gap: 2px;
max-width: fit-content;
}
.game-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
.mine-button {
background-color: #666;
border: 1px solid black;
width: 2rem;
height: 2rem;
font-size: 1.25rem;
user-select: none;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
font-family: monospace;
box-sizing: border-box;
transition: all 0.2s ease-in-out;
}
html {
background: #111;
color: #eee;
}
body {
margin: auto;
max-width: 1400px;
padding: 1rem;
}
.timer {
flex-grow: 1;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 2rem;
font-family: monospace;
}
.footer {
display: flex;
flex-direction: column;
/* justify-content: space-between; */
align-items: center;
font-size: 1rem;
font-family: monospace;
}
pre {
margin: 0;
}
.stage {
font-size: 1rem;
font-family: monospace;
}