69 lines
950 B
CSS
69 lines
950 B
CSS
/* /var/www/minitactix/static/style.css */
|
|
body {
|
|
font-family: sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
.container {
|
|
max-width: 960px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
margin: 10px;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
border: 1px solid #ccc;
|
|
background: white;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background: #eee;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 80px);
|
|
grid-gap: 5px;
|
|
justify-content: center;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.tile {
|
|
width: 80px;
|
|
height: 80px;
|
|
font-size: 36px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 1px solid #888;
|
|
background: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tile:hover {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#status {
|
|
font-size: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
|