2022-08-04 17:12:14 +00:00
|
|
|
* {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2022-08-05 02:08:31 +00:00
|
|
|
user-select: none;
|
2022-08-04 17:12:14 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
font-family: 'Noto Serif SC', serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
width: 1280px;
|
|
|
|
padding: 1rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
background-color: #6a6;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gameboard {
|
|
|
|
width: 982px;
|
|
|
|
height: 1248px;
|
|
|
|
background-image: url(board.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
}
|
|
|
|
|
|
|
|
#display {
|
|
|
|
width: 240px;
|
|
|
|
height: 440px;
|
|
|
|
color: #030;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
2022-08-05 02:08:31 +00:00
|
|
|
#buttonContainer,
|
|
|
|
#pieceContainer {
|
2022-08-04 17:12:14 +00:00
|
|
|
width: 240px;
|
|
|
|
padding: 20px;
|
|
|
|
gap: 20px;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
border: 4px #363 dashed;
|
2022-08-04 14:22:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player1 {
|
2022-08-04 17:12:14 +00:00
|
|
|
color: #333;
|
2022-08-04 14:22:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player2 {
|
2022-08-04 17:12:14 +00:00
|
|
|
color: #833;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
.piece {
|
|
|
|
width: 80px;
|
|
|
|
height: 40px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 900;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: double 3px black;
|
|
|
|
text-shadow: 0 1px 0px white;
|
|
|
|
box-shadow: 1px 1px 2px black;
|
|
|
|
background: linear-gradient(to bottom, #fff, #ccc, #ddd);
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 80px;
|
|
|
|
height: 40px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 900;
|
2022-08-04 14:22:54 +00:00
|
|
|
}
|