79 lines
1.2 KiB
CSS
79 lines
1.2 KiB
CSS
body {
|
|
font-family: monospace;
|
|
height: 95vh;
|
|
width: 95vw;
|
|
overflow: hidden;
|
|
margin: 0 auto;
|
|
|
|
user-select: none;
|
|
|
|
background-color: #222;
|
|
color: #ccc;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
display: table;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
td {
|
|
text-align: center;
|
|
height: calc(100vh / 6);
|
|
transition: background-color ease-out .350s;
|
|
border-radius: 40px;
|
|
font-size: xx-large;
|
|
}
|
|
|
|
canvas {
|
|
pointer-events: none;
|
|
}
|
|
|
|
td:hover {
|
|
background-color: blueviolet;
|
|
}
|
|
|
|
td.drawn {
|
|
background-color: green;
|
|
}
|
|
|
|
td.center-field {
|
|
background-color: green;
|
|
}
|
|
|
|
img {
|
|
max-height: calc(100vh / 6);
|
|
max-width: calc(100vh / 6);
|
|
}
|
|
|
|
h1, p {
|
|
text-align: center;
|
|
margin: 5px;
|
|
}
|
|
|
|
p#seeed {
|
|
user-select: text;
|
|
}
|
|
|
|
span#copy-permalink, span#refresh-bingo {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#winner-message {
|
|
display: flex;
|
|
position: fixed;
|
|
font-size: 3000%;
|
|
left: 50%;
|
|
top: 100%;
|
|
transform: translate(-50%, 0);
|
|
text-shadow: 10px 10px 20px black;
|
|
color: orange;
|
|
transition: all ease-out .75s;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#winner-message.won {
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
} |