themes
This commit is contained in:
@ -1,7 +1,14 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: sans-serif;
|
||||
color: white;
|
||||
background: #222;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
section {
|
||||
@ -14,6 +21,19 @@ div {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#settingsSection {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #444;
|
||||
}
|
||||
|
||||
legend {
|
||||
font-size: 0.9em;
|
||||
color: #AAA;
|
||||
}
|
||||
|
||||
fieldset > div {
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 2fr 3fr 2fr;
|
||||
@ -23,28 +43,33 @@ fieldset > div {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
fieldset button, input {
|
||||
fieldset > div > * {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
label {
|
||||
text-align: center;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: lightblue;
|
||||
#themePreviewTable {
|
||||
grid-column: 3 / 5;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#gameSection {
|
||||
width: 72vmin;
|
||||
grid-template-columns: 18vmin 30vmin 18vmin;
|
||||
grid-gap: 3vmin;
|
||||
margin: auto;
|
||||
fieldset input[type="checkbox"] {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#showGhostDiv {
|
||||
grid-row: 2;
|
||||
grid-column: 1/5;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#gameSection div {
|
||||
display: grid;
|
||||
grid-gap: 3vmin;
|
||||
margin: -3vmin 0 auto 0;
|
||||
}
|
||||
|
||||
#holdTable {
|
||||
@ -53,18 +78,6 @@ a {
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
#statsTable {
|
||||
grid-column: 1;
|
||||
grid-row: 3;
|
||||
height: 0;
|
||||
justify-self: end;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#scoreTable {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#matrixTable {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / 4;
|
||||
@ -94,88 +107,107 @@ a {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.minoes-table tr {
|
||||
height: 3vmin;
|
||||
}
|
||||
|
||||
.minoes-table th, td {
|
||||
th, td {
|
||||
font-weight: normal;
|
||||
padding: 0;
|
||||
height: 3vmin;
|
||||
width: 3vmin;
|
||||
}
|
||||
|
||||
th {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.minoes-table th {
|
||||
border: 1px solid transparent;
|
||||
td {
|
||||
border: 1px solid #444;
|
||||
}
|
||||
|
||||
.minoes-table td {
|
||||
border: 1px solid #888;
|
||||
}
|
||||
|
||||
.minoes-table .mino {
|
||||
.mino {
|
||||
border: 1px solid;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.minoes-table .I {
|
||||
/* cyan */
|
||||
.I { /* cyan */
|
||||
background: #99d9ea;
|
||||
border-color: #d1edf5;
|
||||
}
|
||||
|
||||
.minoes-table .J {
|
||||
/* blue */
|
||||
.J { /* blue */
|
||||
background: #7f92ff;
|
||||
border-color: #c2cbff;
|
||||
}
|
||||
|
||||
.minoes-table .L {
|
||||
/* orange */
|
||||
.L { /* orange */
|
||||
background: #ffb27f;
|
||||
border-color: #ffe1cd;
|
||||
}
|
||||
|
||||
.minoes-table .O {
|
||||
/* yellow */
|
||||
.O { /* yellow */
|
||||
background: #ffe97f;
|
||||
border-color: #fff5ca;
|
||||
}
|
||||
|
||||
.minoes-table .S {
|
||||
/* green */
|
||||
.S { /* green */
|
||||
background: #7fff8e;
|
||||
border-color: #ccffd2;
|
||||
}
|
||||
|
||||
.minoes-table .T {
|
||||
/* magenta */
|
||||
.T { /* magenta */
|
||||
background: #d67fff;
|
||||
border-color: #edc9ff;
|
||||
}
|
||||
|
||||
.minoes-table .Z {
|
||||
/* red */
|
||||
.Z { /* red */
|
||||
background: #ff7f7f;
|
||||
border-color: #ffdada;
|
||||
}
|
||||
|
||||
.locked, .cleared-line {
|
||||
background: white;
|
||||
border: 1px solid white;
|
||||
.locked-mino, .cleared-line {
|
||||
background: #AAA;
|
||||
border: 1px solid #CCC;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.trail {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border: 1px solid white;
|
||||
background: #333;
|
||||
border: 1px solid #444;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.ghost {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
border: 1px solid rgba(255, 255, 255, 0.6);
|
||||
background: #555;
|
||||
border: 1px solid #666;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
|
||||
#statsTable {
|
||||
grid-column: 1;
|
||||
grid-row: 3;
|
||||
height: 0;
|
||||
justify-self: end;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#statsTable td {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 1em;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: lightblue;
|
||||
}
|
||||
|
||||
#credits {
|
||||
font-size: 0.8em;
|
||||
gap: 0.8em;
|
||||
}
|
||||
|
Reference in New Issue
Block a user