143 lines
2.2 KiB
CSS
143 lines
2.2 KiB
CSS
body {
|
|
text-align: center;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
color: black;
|
|
}
|
|
|
|
.board-outer {
|
|
width: 600px;
|
|
border: 5px solid black;
|
|
background-color: blue;
|
|
margin-top: 30px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.board-inner {
|
|
width: 560px;
|
|
height: 480px;
|
|
display: grid;
|
|
grid-template-columns: repeat(7, auto [col-start]);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.board-inner .field {
|
|
border: 3px solid black;
|
|
border-radius: 100%;
|
|
margin: 10px;
|
|
outline-offset: -7px;
|
|
}
|
|
|
|
.inner-button {
|
|
width: 17%;
|
|
height: 60px;
|
|
font-size: larger;
|
|
border: 3px solid black;
|
|
background-color: white;
|
|
margin-left: 3%;
|
|
margin-right: 3%;
|
|
}
|
|
|
|
#restart{
|
|
font-size: x-large;
|
|
}
|
|
|
|
.inner-button:hover {
|
|
cursor: pointer;
|
|
background-color: lightgray;
|
|
}
|
|
|
|
#board-load-button{
|
|
margin-left: 16.1%;
|
|
}
|
|
|
|
.flex-box .inner-button{
|
|
width: 200px;
|
|
}
|
|
|
|
.board-state .inner-button:disabled{
|
|
margin-left: 16.1%;
|
|
color: black;
|
|
background-color: lightgray;
|
|
border-color: black;
|
|
cursor: not-allowed ;
|
|
}
|
|
|
|
|
|
.gamemode-div {
|
|
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: 300px;
|
|
height: 202px;
|
|
border: 5px solid black;
|
|
background-color: blue;
|
|
|
|
}
|
|
|
|
.gamemode-div .gamemode-button {
|
|
margin-top: 34px;
|
|
border: 3px solid black;
|
|
width: 50%;
|
|
height: 50px;
|
|
font-size: larger;
|
|
|
|
}
|
|
|
|
.gamemode-div .gamemode-button:hover {
|
|
cursor: pointer;
|
|
background-color: lightgray;
|
|
}
|
|
|
|
.message {
|
|
font-size: larger;
|
|
}
|
|
|
|
.heading{
|
|
transition: font-size 1s ease-out 100ms;
|
|
}
|
|
|
|
.heading:hover{
|
|
font-size:3em;
|
|
}
|
|
|
|
.board-rw{
|
|
height: 40px;
|
|
width: 60%;
|
|
border: 3px solid black;
|
|
font-size: medium;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.board-state{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 90%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.action-bar{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.board-state .inner-button{
|
|
width: 100px;
|
|
height: 48px;
|
|
}
|
|
|
|
.field-div{
|
|
width: 20%;
|
|
margin-left: auto;
|
|
} |