2022-02-28 07:40:38 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>Four-Line Dropper</title>
|
|
|
|
<style>
|
2022-03-04 07:22:30 +00:00
|
|
|
b {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.menu {
|
|
|
|
background-color: #555;
|
|
|
|
position: absolute;
|
|
|
|
top: 25%;
|
|
|
|
left: 25%;
|
|
|
|
width: 50%;
|
|
|
|
height: 50%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(5, 1fr);
|
|
|
|
gap: 8px;
|
|
|
|
grid-auto-rows: 33%;
|
|
|
|
}
|
2022-03-10 07:17:16 +00:00
|
|
|
div.singlePlayerMenu {
|
2022-03-04 07:22:30 +00:00
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 2;
|
2022-03-10 07:17:16 +00:00
|
|
|
|
|
|
|
display: grid;
|
|
|
|
}
|
|
|
|
button.menuSinglePlayerEasy {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
button.menuSinglePlayerNormal {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
button.menuSinglePlayerHard {
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column: 1;
|
2022-03-04 07:22:30 +00:00
|
|
|
}
|
|
|
|
button.menuLocalMultiplayer {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 3;
|
|
|
|
}
|
2022-04-27 03:47:45 +00:00
|
|
|
div.multiplayerMenu {
|
2022-03-04 07:22:30 +00:00
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 4;
|
2022-04-27 03:47:45 +00:00
|
|
|
|
|
|
|
display: grid;
|
|
|
|
}
|
|
|
|
button.networkedMultiplayer {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
button.NMPhrase {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
input.NMPhrase {
|
|
|
|
grid-row: 3;
|
|
|
|
grid-column: 1;
|
2022-03-04 07:22:30 +00:00
|
|
|
}
|
|
|
|
b.menuText {
|
|
|
|
color: #FFF;
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column: 2 / 5;
|
|
|
|
line-height: 64px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
div.hidden_menu {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-02-28 07:40:38 +00:00
|
|
|
div.wrapper {
|
|
|
|
display: grid;
|
2022-03-02 08:51:14 +00:00
|
|
|
grid-template-columns: repeat(7, 50px) 400px;
|
2022-02-28 07:40:38 +00:00
|
|
|
gap: 2px;
|
|
|
|
grid-auto-rows: 50px;
|
|
|
|
border: 0px;
|
|
|
|
}
|
2022-03-01 07:02:59 +00:00
|
|
|
div.info_text_wrapper {
|
|
|
|
grid-row: 9;
|
|
|
|
grid-column: 1 / 8;
|
|
|
|
}
|
2022-03-03 08:36:51 +00:00
|
|
|
div.info_text_turn_wrapper {
|
|
|
|
grid-row: 1;
|
2022-03-02 08:51:14 +00:00
|
|
|
grid-column: 8;
|
|
|
|
}
|
|
|
|
div.info_text0 {
|
2022-03-01 07:02:59 +00:00
|
|
|
background-color: #DDD;
|
2022-03-02 08:51:14 +00:00
|
|
|
width: 100%;
|
2022-03-01 07:02:59 +00:00
|
|
|
height: 400px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
word-wrap: break-word;
|
2022-03-02 06:38:24 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
2022-03-01 07:02:59 +00:00
|
|
|
}
|
2022-03-02 08:51:14 +00:00
|
|
|
div.info_text1 {
|
2022-03-03 08:36:51 +00:00
|
|
|
background-color: #333;
|
2022-03-02 08:51:14 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
2022-03-03 08:36:51 +00:00
|
|
|
overflow-y: hidden;
|
2022-03-02 08:51:14 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
2022-03-03 08:36:51 +00:00
|
|
|
b.cyan {
|
|
|
|
color: #0FF;
|
|
|
|
}
|
|
|
|
b.magenta {
|
|
|
|
color: #F0F;
|
|
|
|
}
|
2022-02-28 07:40:38 +00:00
|
|
|
button.slot {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
border: 1px solid black;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
button.r0 {
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
button.r1 {
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
button.r2 {
|
|
|
|
grid-row: 3;
|
|
|
|
}
|
|
|
|
button.r3 {
|
|
|
|
grid-row: 4;
|
|
|
|
}
|
|
|
|
button.r4 {
|
|
|
|
grid-row: 5;
|
|
|
|
}
|
|
|
|
button.r5 {
|
|
|
|
grid-row: 6;
|
|
|
|
}
|
|
|
|
button.r6 {
|
|
|
|
grid-row: 7;
|
|
|
|
}
|
|
|
|
button.r7 {
|
|
|
|
grid-row: 8;
|
|
|
|
}
|
|
|
|
button.c0 {
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
button.c1 {
|
|
|
|
grid-column: 2;
|
|
|
|
}
|
|
|
|
button.c2 {
|
|
|
|
grid-column: 3;
|
|
|
|
}
|
|
|
|
button.c3 {
|
|
|
|
grid-column: 4;
|
|
|
|
}
|
|
|
|
button.c4 {
|
|
|
|
grid-column: 5;
|
|
|
|
}
|
|
|
|
button.c5 {
|
|
|
|
grid-column: 6;
|
|
|
|
}
|
|
|
|
button.c6 {
|
|
|
|
grid-column: 7;
|
|
|
|
}
|
|
|
|
button.open {
|
|
|
|
background: #FFF;
|
|
|
|
}
|
|
|
|
button.cyan {
|
|
|
|
background: #0FF;
|
|
|
|
}
|
|
|
|
button.magenta {
|
|
|
|
background: #F0F;
|
|
|
|
}
|
2022-03-09 09:10:13 +00:00
|
|
|
button.win {
|
|
|
|
animation-duration: 400ms;
|
|
|
|
animation-name: blink;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
|
|
|
}
|
|
|
|
@keyframes blink {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-03-10 06:43:03 +00:00
|
|
|
button.placed {
|
|
|
|
animation-duration: 2200ms;
|
|
|
|
animation-name: placed_blink;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
animation-direction: normal;
|
|
|
|
}
|
|
|
|
@keyframes placed_blink {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2022-04-25 06:02:18 +00:00
|
|
|
button#resetbutton {
|
|
|
|
background-color: #C55;
|
|
|
|
color: #FFF;
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 8;
|
|
|
|
}
|
2022-02-28 07:40:38 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
<!-- vim: et ts=2 sts=2 sw=2
|
|
|
|
-->
|