149 lines
2.1 KiB
CSS
149 lines
2.1 KiB
CSS
body {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
div {
|
|
display: flex;
|
|
column-gap: 0.5em;
|
|
margin: 1em auto;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
}
|
|
|
|
td, tr {
|
|
padding: 0;
|
|
}
|
|
|
|
table tr:first-child td:first-child {
|
|
border-top-left-radius: 6px;
|
|
}
|
|
|
|
table tr:first-child td:first-child > input {
|
|
border-top-left-radius: 4px;
|
|
}
|
|
|
|
table tr:first-child td {
|
|
border-top: 2px solid black;
|
|
}
|
|
|
|
table tr:first-child td:last-child {
|
|
border-top-right-radius: 6px;
|
|
}
|
|
|
|
table tr:first-child td:last-child > input {
|
|
border-top-right-radius: 4px;
|
|
}
|
|
|
|
table tr td:first-child {
|
|
border-left: 2px solid black;
|
|
}
|
|
|
|
table tr td:last-child {
|
|
border-right: 2px solid black;
|
|
}
|
|
|
|
table tr:last-child td:first-child {
|
|
border-bottom-left-radius: 6px;
|
|
}
|
|
|
|
table tr:last-child td:first-child > input {
|
|
border-bottom-left-radius: 4px;
|
|
}
|
|
|
|
table tr:last-child td {
|
|
border-bottom: 2px solid black;
|
|
}
|
|
|
|
table tr:last-child td:last-child {
|
|
border-bottom-right-radius: 6px;
|
|
}
|
|
|
|
table tr:last-child td:last-child > input {
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
|
|
.regionTop {
|
|
border-top: 1px solid black;
|
|
}
|
|
|
|
.regionMiddle {
|
|
border-top: 1px solid grey;
|
|
border-bottom: 1px solid grey;
|
|
}
|
|
|
|
.regionBottom {
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.regionLeft {
|
|
border-left: 1px solid black;
|
|
}
|
|
|
|
.regionCenter {
|
|
border-left: 1px solid grey;
|
|
border-right: 1px solid grey;
|
|
}
|
|
|
|
.regionRight {
|
|
border-right: 1px solid black;
|
|
}
|
|
|
|
input {
|
|
width: 1.6em;
|
|
height: 1.6em;
|
|
font-size: 1.5em;
|
|
border: 0;
|
|
padding: 0;
|
|
text-align: center;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
input:enabled {
|
|
color: darkblue;
|
|
background: white;
|
|
}
|
|
|
|
input:disabled {
|
|
color: white;
|
|
background: #6666ff;
|
|
}
|
|
|
|
.same-value:enabled {
|
|
color: #009973;
|
|
background: #66ffd9;
|
|
}
|
|
|
|
.forbidden-value:enabled {
|
|
background: #b3ffda;
|
|
}
|
|
|
|
.same-value:disabled {
|
|
color: white;
|
|
background: #00e6ac;
|
|
}
|
|
|
|
.forbidden-value:disabled {
|
|
background: #6288ea;
|
|
}
|
|
|
|
input::placeholder {
|
|
color: #888;
|
|
}
|
|
|
|
.buttons {
|
|
column-gap: 0.2em;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|