76 lines
1.4 KiB
CSS
76 lines
1.4 KiB
CSS
body {
|
|
background-color: #F8F9FA;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
}
|
|
|
|
.game-container {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.grid-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 8px;
|
|
border: 2px solid #dee2e6;
|
|
padding: 8px;
|
|
background-color: #fff;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.grid-cell {
|
|
width: 100%;
|
|
padding-top: 100%; /* Creates a square aspect ratio */
|
|
position: relative;
|
|
background-color: #f1f3f5;
|
|
border-radius: 0.25rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease-in-out;
|
|
}
|
|
|
|
.grid-cell:hover {
|
|
background-color: #e9ecef;
|
|
}
|
|
|
|
.grid-cell.filled {
|
|
background-color: #e7f5ff;
|
|
cursor: default;
|
|
}
|
|
|
|
.cell-content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #343a40;
|
|
}
|
|
|
|
.timer, .status-message {
|
|
font-size: 1.5rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.accent-color {
|
|
color: #FD7E14;
|
|
}
|
|
|
|
.countdown-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1050;
|
|
color: white;
|
|
font-size: 10rem;
|
|
font-weight: bold;
|
|
} |