2019-08-02 00:10:56 +00:00
|
|
|
* {
|
2019-07-26 18:02:30 +00:00
|
|
|
box-sizing: border-box;
|
2019-08-02 21:14:23 +00:00
|
|
|
margin: 0;
|
2019-08-03 21:15:17 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
body {
|
2019-08-04 02:42:39 +00:00
|
|
|
height: vh;
|
|
|
|
width: vw;
|
2019-07-26 18:02:30 +00:00
|
|
|
}
|
|
|
|
|
2019-08-02 00:10:56 +00:00
|
|
|
.full-screen {
|
|
|
|
/* positioning will be absolue */
|
|
|
|
/* will take up whole screen */
|
|
|
|
/* background will be ~0.5 opacity */
|
|
|
|
/* grid-areas
|
|
|
|
"game-info *4" <-date, komi, handicap
|
|
|
|
"b-player-info*2 w-player-info*2" <- name, rank, rank-certainty
|
|
|
|
"record record record options" <- displays numbered record (stretch!), new game, get game record(stretch!)
|
|
|
|
pre-game record will display instructions
|
2019-08-03 21:15:17 +00:00
|
|
|
*/
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
content {
|
|
|
|
background-color: #61a6c2;
|
2019-08-03 21:15:17 +00:00
|
|
|
/* display: grid;
|
2019-08-02 21:14:23 +00:00
|
|
|
grid-template-columns: 100vmin;
|
|
|
|
grid-template-rows: 1fr 100vmin 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
"white-pos"
|
|
|
|
"board-space"
|
2019-08-03 21:15:17 +00:00
|
|
|
"black-pos"; */
|
2019-08-04 02:42:39 +00:00
|
|
|
display: flex !important;
|
2019-08-03 21:15:17 +00:00
|
|
|
flex-direction: column;
|
|
|
|
/* justify-content: flex-end; */
|
|
|
|
justify-content: space-between !important;
|
2019-08-04 02:42:39 +00:00
|
|
|
/* justify-items: stretch !important; */
|
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player-pos {
|
2019-08-03 21:15:17 +00:00
|
|
|
/* flex-grow: 2; */
|
2019-08-02 21:14:23 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-08-04 02:42:39 +00:00
|
|
|
justify-content: space-around;
|
|
|
|
flex: 5;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player-pos#white-pos {
|
2019-08-03 21:15:17 +00:00
|
|
|
/* grid-area: white-pos; */
|
|
|
|
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player-pos#black-pos {
|
2019-08-03 21:15:17 +00:00
|
|
|
/* grid-area: black-pos; */
|
2019-08-02 21:14:23 +00:00
|
|
|
flex-direction: row-reverse;
|
2019-08-04 02:42:39 +00:00
|
|
|
justify-self: flex-end;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#kifu {
|
|
|
|
order: 0;
|
2019-08-03 23:59:56 +00:00
|
|
|
height: 10vh;
|
|
|
|
width: 8vh;
|
|
|
|
background-color: #FFF;
|
|
|
|
transform: rotate(-20deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
#kifu table {
|
2019-08-04 02:42:39 +00:00
|
|
|
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bowl {
|
|
|
|
order: -1;
|
2019-08-03 21:15:17 +00:00
|
|
|
margin: 1vh;
|
2019-08-04 02:42:39 +00:00
|
|
|
height: 10vh;
|
|
|
|
width: 10vh;
|
2019-08-03 21:15:17 +00:00
|
|
|
/* border: solid black; */
|
2019-08-02 21:14:23 +00:00
|
|
|
border-radius: 50%;
|
2019-08-03 21:15:17 +00:00
|
|
|
background-color: rgb(116, 48, 17);
|
2019-08-03 23:59:56 +00:00
|
|
|
box-shadow: -1vmin 2vmin 3vmin rgba(83, 53, 35, 0.61);
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.caps {
|
2019-08-03 23:59:56 +00:00
|
|
|
color: #FFF;
|
2019-08-02 21:14:23 +00:00
|
|
|
order: 1;
|
2019-08-03 21:15:17 +00:00
|
|
|
margin: 1vh;
|
|
|
|
height: 6vh;
|
|
|
|
width: 6vh;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: rgb(116, 48, 17);
|
2019-08-03 23:59:56 +00:00
|
|
|
box-shadow: -0.5vmin 1vmin 3vmin rgba(83, 53, 35, 0.61);
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#board-space {
|
|
|
|
margin: 0 auto;
|
2019-08-03 21:15:17 +00:00
|
|
|
/* grid-area: board-space; */
|
2019-08-02 21:14:23 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background-color: #EAB24E;
|
2019-08-04 02:42:39 +00:00
|
|
|
/* width: 90vmin; */
|
|
|
|
/* height: 90vmin; */
|
2019-08-02 21:14:23 +00:00
|
|
|
padding: 1vmin;
|
2019-08-03 23:59:56 +00:00
|
|
|
z-index: 1;
|
|
|
|
box-shadow: -2vmin 4vmin 3vmin rgba(145, 92, 23, 0.5);
|
2019-08-04 02:42:39 +00:00
|
|
|
flex: 1;
|
2019-08-03 23:59:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#board-space table {
|
2019-08-02 21:14:23 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 81vmin;
|
|
|
|
width: 81min;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td {
|
2019-08-02 21:14:23 +00:00
|
|
|
height: 9vmin;
|
|
|
|
width: 9vmin;
|
|
|
|
background: conic-gradient(#000 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 24%, #000 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 49%, #000 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 74%, #000 75%, rgba(0,0,0,0) 76%, rgba(0,0,0,0) 99%, #000 100%);
|
|
|
|
border-radius: 50% solid black;
|
|
|
|
color: black;
|
2019-08-03 06:42:49 +00:00
|
|
|
margin: auto;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: middle;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td[id^="1"] {
|
2019-08-02 21:14:23 +00:00
|
|
|
background: conic-gradient( rgba(0,0,0,0) 24%, #000 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 49%, #000 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 74%, #000 75%, rgba(0,0,0,0) 76%);
|
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td[id^="9"] {
|
2019-08-02 21:14:23 +00:00
|
|
|
background: conic-gradient(#000 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 24%, #000 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 74%, #000 75%, rgba(0,0,0,0) 76%, rgba(0,0,0,0) 99%, #000 100%);
|
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td[id$="1"] {
|
2019-08-02 21:14:23 +00:00
|
|
|
background: conic-gradient(#000 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 24%, #000 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 49%, #000 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 99%, #000 100%);
|
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td[id$="9"] {
|
2019-08-02 21:14:23 +00:00
|
|
|
background: conic-gradient(#000 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 49%, #000 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 74%, #000 75%, rgba(0,0,0,0) 76%, rgba(0,0,0,0) 99%, #000 100%);
|
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td[id="1,1"] {
|
2019-08-03 21:15:17 +00:00
|
|
|
background: conic-gradient( rgba(0,0,0,0) 24%, #000 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 49%, #000 50%, rgba(0,0,0,0) 51%);
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td[id="1,9"] {
|
2019-08-03 21:15:17 +00:00
|
|
|
background: conic-gradient( rgba(0,0,0,0) 49%, #000 50%, rgba(0,0,0,0) 51%, rgba(0,0,0,0) 74%, #000 75%, rgba(0,0,0,0) 76% );
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
2019-08-03 23:59:56 +00:00
|
|
|
|
|
|
|
#board-space td[id="9,1"] {
|
2019-08-03 21:15:17 +00:00
|
|
|
background: conic-gradient(#000 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 24%, #000 25%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 99%, #000 100%);
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
2019-08-03 23:59:56 +00:00
|
|
|
|
|
|
|
#board-space td[id="9,9"] {
|
2019-08-03 21:15:17 +00:00
|
|
|
background: conic-gradient(#000 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0) 74%, #000 75%, rgba(0,0,0,0) 76%, rgba(0,0,0,0) 99%, #000 100%);
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td .stone {
|
|
|
|
width: 85%;
|
|
|
|
height: 85%;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin: auto;
|
2019-08-03 06:42:49 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
|
|
|
td .stone .dot {
|
|
|
|
width: 35%;
|
|
|
|
height: 35%;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin: auto;
|
2019-08-03 06:42:49 +00:00
|
|
|
vertical-align: middle;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
|
|
|
|
2019-08-03 06:42:49 +00:00
|
|
|
td .stone[data-stone="ko"] {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1vmin solid red;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .stone[data-stone="white"] {
|
|
|
|
background-color: white;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .stone[data-stone="black"] {
|
2019-08-03 04:19:31 +00:00
|
|
|
background-color: black;
|
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .stone[data-stone="none"] {
|
|
|
|
background-color: transparent;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .dot[data-dot="white"] {
|
|
|
|
background-color: white;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .dot[data-dot="black"] {
|
|
|
|
background-color: black;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .dot[data-dot="none"] {
|
|
|
|
background-color: transparent;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
|
|
|
td .dot .dame {
|
|
|
|
|
|
|
|
}
|
|
|
|
td .dot .seki {
|
|
|
|
|
|
|
|
}
|
|
|
|
|