You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
186 lines
3.0 KiB
CSS
186 lines
3.0 KiB
CSS
@font-face {
|
|
font-family: "VCROCDFaux";
|
|
src: url("./VCROCDFaux.woff2") format("woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "MonaSans";
|
|
src: url("./Mona-Sans.woff2") format("woff2");
|
|
}
|
|
|
|
/*body {
|
|
background: #000;
|
|
color: #fff;
|
|
margin: 20px auto;
|
|
max-width: 640px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.cover {
|
|
aspect-ratio: 1/1;
|
|
display: block;
|
|
margin: 20px 0;
|
|
width: 100%;
|
|
}*/
|
|
|
|
h2 {
|
|
font-family: MonaSans, sans-serif;
|
|
margin-top: 60px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
p {
|
|
font-family: VCROCDFaux, monospace;
|
|
color: #aaa;
|
|
}
|
|
|
|
/*.btn {
|
|
display: block;
|
|
background: #cc4d47;
|
|
color: #fff;
|
|
font-family: VCROCDFaux, monospace;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
line-height: 50px;
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 40px 0;
|
|
}
|
|
|
|
.btn:hover {
|
|
background: #4e1614;
|
|
}
|
|
|
|
.btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}*/
|
|
|
|
/* HTML Selectors */
|
|
body {
|
|
font-family: VCROCDFaux, 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;
|
|
}
|
|
|
|
canvas {
|
|
pointer-events: none;
|
|
}
|
|
|
|
td {
|
|
text-align: center;
|
|
height: calc(100vh / 6);
|
|
transition: background-color ease-out .350s;
|
|
border-radius: 40px;
|
|
font-size: x-large;
|
|
}
|
|
|
|
h1, p {
|
|
text-align: center;
|
|
margin: 5px;
|
|
}
|
|
|
|
/* Specific selectors */
|
|
|
|
td:hover {
|
|
background-color: gray;
|
|
}
|
|
|
|
td.drawn {
|
|
background-color: cornflowerblue;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
td.drawn:hover {
|
|
background-color: cadetblue;
|
|
}
|
|
|
|
td.drawn.bingo {
|
|
background-color: green;
|
|
}
|
|
|
|
td.drawn.bingo:hover {
|
|
background-color: darkgreen;
|
|
}
|
|
|
|
img#center-field-image {
|
|
max-height: calc(100vh / 6);
|
|
max-width: calc(100vw / 6);
|
|
}
|
|
|
|
p#seeed {
|
|
user-select: text;
|
|
}
|
|
|
|
span#copy-permalink, span#refresh-bingo {
|
|
cursor: pointer;
|
|
}
|
|
|
|
@keyframes won {
|
|
0% {
|
|
left: 50%;
|
|
top: 100%;
|
|
transform: translate(-50%, 0);
|
|
color: green;
|
|
}
|
|
|
|
20% {
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
opacity: 100%;
|
|
color: yellow;
|
|
}
|
|
|
|
40% {
|
|
color: orange;
|
|
}
|
|
|
|
50% {
|
|
left: 50%;
|
|
top: 50%;
|
|
}
|
|
|
|
60% {
|
|
color: purple;
|
|
}
|
|
|
|
80% {
|
|
color: blue;
|
|
opacity: 100%;
|
|
}
|
|
|
|
100% {
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 767px) and (orientation: portrait) {
|
|
td {
|
|
font-size: large;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 576px) and (orientation: portrait) {
|
|
td {
|
|
font-size: small;
|
|
}
|
|
} |