2020-11-18 11:43:45 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: "Alarm Clock";
|
|
|
|
src: url("../res/fonts/alarm\ clock.ttf") format("truetype"),
|
|
|
|
}
|
|
|
|
|
2020-11-27 19:06:50 +01:00
|
|
|
@keyframes zoom {
|
|
|
|
0% {
|
|
|
|
transform: rotate(-10deg) translate(9em, 0em) scale(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(-10deg) translate(9em, 0em) scale(1.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
body {
|
2020-11-08 22:47:13 +01:00
|
|
|
font-family: monospace;
|
|
|
|
padding: 2em;
|
|
|
|
margin: 0;
|
|
|
|
background-color: #111111;
|
|
|
|
color: white;
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
h1 {
|
|
|
|
text-align: center;
|
2020-11-27 19:54:43 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
fill: white;
|
|
|
|
filter: invert(1);
|
|
|
|
height: 1em;
|
|
|
|
padding-right: 0.3em;
|
|
|
|
margin-bottom: -0.15em;
|
|
|
|
}
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-27 19:06:50 +01:00
|
|
|
h4.subheader {
|
|
|
|
text-align: center;
|
|
|
|
transform-origin: center;
|
|
|
|
color: yellow;
|
|
|
|
width: max-content;
|
|
|
|
margin: 0 auto;
|
|
|
|
animation: 0.4s linear 0s infinite alternate zoom;
|
|
|
|
}
|
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
div#main {
|
|
|
|
height: 100%;
|
|
|
|
width: max-content;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
column-gap: 1em;
|
|
|
|
margin: 0 auto;
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-30 22:05:23 +01:00
|
|
|
h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
div {
|
|
|
|
padding: 1em;
|
2020-11-18 11:43:45 +01:00
|
|
|
margin-bottom: 1em;
|
2020-11-08 22:47:13 +01:00
|
|
|
border-radius: 0.25em;
|
|
|
|
background-color: #212121;
|
2020-11-18 11:43:45 +01:00
|
|
|
display: block;
|
|
|
|
|
|
|
|
div#board {
|
2020-11-08 13:23:38 +01:00
|
|
|
text-align: center;
|
|
|
|
width: min-content;
|
|
|
|
display: grid;
|
2020-11-08 22:47:13 +01:00
|
|
|
column-gap: 3px;
|
|
|
|
row-gap: 3px;
|
2020-11-18 11:43:45 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
span.cell {
|
2020-11-08 22:47:13 +01:00
|
|
|
color: white;
|
2020-11-08 13:23:38 +01:00
|
|
|
text-align: center;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2020-11-08 22:47:13 +01:00
|
|
|
padding: 0.4em;
|
|
|
|
border-radius: 0.1em;
|
|
|
|
background-color: #303030;
|
|
|
|
font-size: large;
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-27 19:54:43 +01:00
|
|
|
img {
|
|
|
|
fill: white;
|
|
|
|
filter: invert(1);
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
&.discovered {
|
2020-11-08 22:47:13 +01:00
|
|
|
background-color: #424242;
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
&.bomb {
|
2020-11-30 22:05:23 +01:00
|
|
|
background-color: #e85354;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.added {
|
|
|
|
background-color: #e89759;
|
2020-11-08 22:47:13 +01:00
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-08 22:47:13 +01:00
|
|
|
&.flag {
|
2020-11-30 22:05:23 +01:00
|
|
|
background-color: #4be3e3;
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
div:nth-of-type(2) {
|
|
|
|
min-width: 300px;
|
|
|
|
|
|
|
|
div {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
2020-11-27 19:06:50 +01:00
|
|
|
&#stats {
|
2020-11-18 11:43:45 +01:00
|
|
|
span {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-family: "Alarm Clock";
|
2020-11-27 19:06:50 +01:00
|
|
|
|
|
|
|
&:nth-of-type(1) {
|
|
|
|
font-size: 4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
div {
|
|
|
|
display: inline-grid;
|
|
|
|
width: calc(50% - 0.5em);
|
|
|
|
grid-column-gap: 1em;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
min-width: auto;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 2em !important;
|
|
|
|
}
|
|
|
|
}
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&#register {
|
|
|
|
display: none;
|
2020-11-30 22:05:23 +01:00
|
|
|
|
|
|
|
span#query {
|
|
|
|
height: 6rem;
|
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&#log {
|
|
|
|
display: none;
|
|
|
|
font-size: 12px;
|
2020-11-30 22:05:23 +01:00
|
|
|
position: relative;
|
|
|
|
min-height: 24rem;
|
2020-11-18 11:43:45 +01:00
|
|
|
|
|
|
|
div {
|
2020-11-27 19:06:50 +01:00
|
|
|
max-height: calc(14 * 1.25rem);
|
2020-11-18 11:43:45 +01:00
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
color: darkgray;
|
2020-11-27 19:06:50 +01:00
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
|
2020-11-18 11:43:45 +01:00
|
|
|
&.error {
|
|
|
|
color: red;
|
|
|
|
}
|
2020-11-27 19:06:50 +01:00
|
|
|
|
2020-11-18 11:43:45 +01:00
|
|
|
&.alert {
|
|
|
|
color: orange;
|
|
|
|
}
|
2020-11-27 19:06:50 +01:00
|
|
|
|
2020-11-18 11:43:45 +01:00
|
|
|
&.success {
|
|
|
|
color: cyan;
|
|
|
|
}
|
|
|
|
}
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|
2020-11-30 22:05:23 +01:00
|
|
|
|
|
|
|
div:nth-of-type(2) {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
min-width: unset;
|
|
|
|
}
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-18 11:43:45 +01:00
|
|
|
|
2020-11-08 22:47:13 +01:00
|
|
|
footer {
|
2020-11-27 19:06:50 +01:00
|
|
|
position: relative;
|
2020-11-18 11:43:45 +01:00
|
|
|
bottom: 0;
|
2020-11-27 19:06:50 +01:00
|
|
|
// left: 1em;
|
2020-11-08 22:47:13 +01:00
|
|
|
color: darkgray;
|
2020-11-27 19:06:50 +01:00
|
|
|
height: 2em;
|
2020-11-18 11:43:45 +01:00
|
|
|
background: #111111;
|
|
|
|
width: 100%;
|
|
|
|
padding: 1em;
|
|
|
|
|
2020-11-08 22:47:13 +01:00
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-08 13:23:38 +01:00
|
|
|
}
|