2018-05-25 17:45:34 -07:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2018-06-11 19:56:25 -07:00
|
|
|
font-family: "Comfortaa", serif;
|
2018-06-12 20:50:07 -07:00
|
|
|
text-align: center; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
h1 {
|
2018-06-11 19:56:25 -07:00
|
|
|
font-family: "Bangers", serif;
|
|
|
|
font-size: 7em;
|
|
|
|
color: darkred;
|
|
|
|
display: inline;
|
2018-06-12 20:50:07 -07:00
|
|
|
margin: 0px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2018-06-11 19:56:25 -07:00
|
|
|
background: white;
|
|
|
|
padding: 2px 17px 2px 8px;
|
2018-06-12 20:50:07 -07:00
|
|
|
border-radius: 15px; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
body {
|
2018-06-11 19:56:25 -07:00
|
|
|
font-family: "Comfortaa", sans-serif;
|
2018-05-25 17:45:34 -07:00
|
|
|
margin: 0px;
|
2018-06-12 20:50:07 -07:00
|
|
|
background-color: #f4f4f4; }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
.rules-body {
|
2018-06-12 20:50:07 -07:00
|
|
|
background-image: url(/images/grid.jpg); }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
.rules-title {
|
|
|
|
font-family: "Bangers", serif;
|
|
|
|
font-size: 66px;
|
|
|
|
color: darkred;
|
|
|
|
display: inline;
|
|
|
|
border-radius: 20px;
|
|
|
|
line-height: 115px;
|
|
|
|
padding: 10px;
|
|
|
|
background-color: white;
|
2018-06-12 20:50:07 -07:00
|
|
|
margin-left: 35%; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
max-width: 750px;
|
2018-06-12 20:50:07 -07:00
|
|
|
margin: auto; }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
ul.rules-list {
|
|
|
|
background-color: #f4f4f4;
|
|
|
|
padding: 26px;
|
|
|
|
border-radius: 15px;
|
2018-06-12 20:50:07 -07:00
|
|
|
margin: 0px 25px; }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
li.rule {
|
|
|
|
padding: 3px;
|
2018-06-12 20:50:07 -07:00
|
|
|
font-size: 18px; }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
ul.game-instructions {
|
|
|
|
display: flex;
|
2018-06-12 20:50:07 -07:00
|
|
|
padding: 0px; }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
li#welcome {
|
|
|
|
padding: 0px 10px 0px 5px;
|
|
|
|
border-left: solid tomato;
|
|
|
|
text-align: center;
|
2018-06-12 20:50:07 -07:00
|
|
|
list-style: none; }
|
|
|
|
li#welcome:last-child {
|
|
|
|
border-right: solid tomato; }
|
2018-06-11 19:56:25 -07:00
|
|
|
|
|
|
|
div.top-bar {
|
2018-06-12 20:50:07 -07:00
|
|
|
background-image: url(/images/grid.jpg);
|
2018-06-11 19:56:25 -07:00
|
|
|
line-height: 135px;
|
2018-06-12 20:50:07 -07:00
|
|
|
display: flex;
|
|
|
|
justify-content: center; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
.board {
|
|
|
|
background-color: tomato;
|
|
|
|
padding: 20px;
|
|
|
|
max-width: 500px;
|
|
|
|
margin: auto;
|
2018-06-12 21:01:28 -07:00
|
|
|
margin-top: 20px;
|
2018-06-12 20:50:07 -07:00
|
|
|
border-radius: 10px; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
2018-06-03 13:09:20 -07:00
|
|
|
.black-player .board-cell:hover .overlay {
|
2018-06-12 20:50:07 -07:00
|
|
|
background-color: black; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
2018-06-03 13:09:20 -07:00
|
|
|
.white-player .board-cell:hover .overlay {
|
2018-06-12 20:50:07 -07:00
|
|
|
background-color: white; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
.board-cell {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2018-06-12 20:50:07 -07:00
|
|
|
padding: 5.55556%; }
|
2018-05-25 17:45:34 -07:00
|
|
|
.board-cell .overlay {
|
|
|
|
position: absolute;
|
|
|
|
box-sizing: border-box;
|
2018-06-03 13:09:20 -07:00
|
|
|
top: 10%;
|
|
|
|
left: 10%;
|
|
|
|
width: 80%;
|
|
|
|
height: 80%;
|
|
|
|
border-radius: 50%;
|
|
|
|
transition: background-color .25s; }
|
2018-05-25 17:45:34 -07:00
|
|
|
.board-cell.small {
|
2018-06-12 20:50:07 -07:00
|
|
|
padding: 5.55556%; }
|
2018-05-25 17:45:34 -07:00
|
|
|
.board-cell.medium {
|
2018-06-12 20:50:07 -07:00
|
|
|
padding: 3.84615%; }
|
2018-05-25 17:45:34 -07:00
|
|
|
.board-cell.large {
|
2018-06-12 20:50:07 -07:00
|
|
|
padding: 2.63158%; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
.black-cell .overlay {
|
2018-06-12 20:50:07 -07:00
|
|
|
background-color: black; }
|
2018-05-25 17:45:34 -07:00
|
|
|
|
|
|
|
.white-cell .overlay {
|
2018-06-12 20:50:07 -07:00
|
|
|
background-color: white; }
|
2018-05-25 23:01:55 -07:00
|
|
|
|
|
|
|
.split-wrapper {
|
|
|
|
display: flex;
|
2018-06-12 20:50:07 -07:00
|
|
|
width: 100%; }
|
|
|
|
@media screen and (max-width: 640px) {
|
|
|
|
.split-wrapper {
|
|
|
|
flex-direction: column; } }
|
2018-05-25 23:01:55 -07:00
|
|
|
|
|
|
|
.split-item {
|
|
|
|
flex-grow: 1;
|
2018-06-11 19:56:25 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
border: solid tomato 1px;
|
|
|
|
border-radius: 22px;
|
|
|
|
background-color: white;
|
2018-06-12 20:50:07 -07:00
|
|
|
margin: 0px 10px; }
|
2018-05-25 23:01:55 -07:00
|
|
|
|
|
|
|
.split-wrapper form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2018-06-12 20:50:07 -07:00
|
|
|
padding: 10px; }
|
|
|
|
.split-wrapper form input {
|
|
|
|
margin-top: 20px;
|
|
|
|
padding: 5px;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 300px; }
|
|
|
|
.split-wrapper form input[type="radio"] {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0px;
|
|
|
|
height: 0px; }
|
|
|
|
.split-wrapper form input[type="radio"]:checked ~ label {
|
|
|
|
color: tomato;
|
|
|
|
transition: color .25s; }
|
|
|
|
.split-wrapper form input[type="submit"] {
|
|
|
|
padding: 10px;
|
|
|
|
background-color: tomato;
|
|
|
|
color: white; }
|
|
|
|
.split-wrapper form input[type="submit"]:focus, .split-wrapper form input[type="submit"]:hover {
|
|
|
|
background-color: inherit;
|
|
|
|
color: tomato;
|
|
|
|
transition: background-color .25s, color .25s; }
|
|
|
|
.split-wrapper form input[type="text"] {
|
|
|
|
background-color: inherit;
|
|
|
|
border-bottom: solid tomato;
|
|
|
|
border-width: 2px;
|
|
|
|
height: 3em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block; }
|
|
|
|
.split-wrapper form input[type="text"]:focus {
|
|
|
|
border-width: 3px;
|
|
|
|
transition: background-color .25s, border-width .25s; }
|
|
|
|
.split-wrapper form .radio-parent {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 20px;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 300px; }
|
|
|
|
.split-wrapper form .radio-wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center; }
|