2019-08-06 21:13:51 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=La+Belle+Aurore|Raleway:300|Raleway:600');
|
2019-08-06 18:22:43 +00:00
|
|
|
|
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;
|
2019-08-06 21:13:51 +00:00
|
|
|
font-family: 'Raleway', sans-serif;
|
2019-08-03 21:15:17 +00:00
|
|
|
}
|
2019-08-06 18:22:43 +00:00
|
|
|
|
2019-08-08 21:49:45 +00:00
|
|
|
html {
|
|
|
|
font-size: 12px;
|
|
|
|
background: radial-gradient(farthest-corner at 55% 40%, rgb(150, 200, 220) 0%, rgb(97, 166, 194) 65%, rgb(70,100,120) 90%, rgb(40, 80, 90) 100%);
|
|
|
|
}
|
|
|
|
|
2019-08-03 21:15:17 +00:00
|
|
|
body {
|
2019-08-04 02:42:39 +00:00
|
|
|
height: vh;
|
|
|
|
width: vw;
|
2019-08-08 18:45:03 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2019-07-26 18:02:30 +00:00
|
|
|
}
|
|
|
|
|
2019-08-04 03:43:57 +00:00
|
|
|
.modal {
|
|
|
|
display: flex;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 2;
|
2019-08-05 23:13:23 +00:00
|
|
|
/* display: none; */
|
2019-08-04 03:43:57 +00:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: rgba(0,0,0,0.3);
|
2019-08-06 21:13:51 +00:00
|
|
|
align-items: flex-start;
|
2019-08-04 03:43:57 +00:00
|
|
|
justify-content: center;
|
2019-08-05 23:13:23 +00:00
|
|
|
visibility: hidden;
|
2019-08-06 18:51:01 +00:00
|
|
|
overflow-y: scroll;
|
2019-08-06 21:13:51 +00:00
|
|
|
|
2019-08-04 03:43:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#menu {
|
2019-08-06 21:13:51 +00:00
|
|
|
position: relative;
|
2019-08-06 18:22:43 +00:00
|
|
|
background-color: rgb(250, 2250, 255, 0.9);
|
2019-08-04 03:43:57 +00:00
|
|
|
padding: 1vmin;
|
2019-08-06 18:22:43 +00:00
|
|
|
display: grid;
|
2019-08-08 18:45:03 +00:00
|
|
|
grid-template-columns: 60vw;
|
|
|
|
grid-template-rows: auto auto 60vw auto;
|
2019-08-06 18:22:43 +00:00
|
|
|
grid-template-areas:
|
|
|
|
"meta"
|
|
|
|
"player"
|
|
|
|
"record"
|
|
|
|
"submit";
|
2019-08-07 19:45:58 +00:00
|
|
|
font-family: 'La Belle Aurore', cursive;
|
2019-08-06 21:13:51 +00:00
|
|
|
min-height: 0;
|
2019-08-09 05:39:12 +00:00
|
|
|
max-height: 100vh;
|
2019-08-08 22:56:51 +00:00
|
|
|
z-index: 3;
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#menu .menu-subblock {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game-meta {
|
|
|
|
grid-area: meta;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-heading, content, #instructions, div[data-player-meta] label {
|
|
|
|
font-family: 'Raleway', sans-serif;
|
2019-08-07 06:13:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 140%;
|
|
|
|
font-weight: 600;
|
2019-08-06 18:51:01 +00:00
|
|
|
}
|
|
|
|
|
2019-08-06 21:13:51 +00:00
|
|
|
h4 {
|
2019-08-06 18:51:01 +00:00
|
|
|
font-weight: 600;
|
2019-08-08 22:49:51 +00:00
|
|
|
margin: .25em;
|
2019-08-06 18:51:01 +00:00
|
|
|
font-size: 110%;
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#player-meta {
|
|
|
|
grid-area: player;
|
|
|
|
display: flex;
|
|
|
|
justify-items: stretch;
|
2019-08-06 18:51:01 +00:00
|
|
|
flex-direction: column;
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
|
|
|
|
2019-08-06 22:25:58 +00:00
|
|
|
#player-meta span[id$="rank"] {
|
|
|
|
margin: 0 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#player-meta input[type="button"] {
|
|
|
|
margin: .25em;
|
|
|
|
}
|
|
|
|
|
2019-08-07 22:08:55 +00:00
|
|
|
#player-meta * .menu-line {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: baseline;
|
|
|
|
justify-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-08-06 18:22:43 +00:00
|
|
|
div[data-player-meta] {
|
2019-08-06 18:51:01 +00:00
|
|
|
width: 100%;
|
2019-08-06 18:22:43 +00:00
|
|
|
justify-self: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
div[data-player-meta] input[type="text"] {
|
2019-08-06 18:51:01 +00:00
|
|
|
width: 90%;
|
2019-08-06 18:22:43 +00:00
|
|
|
justify-self: stretch;
|
|
|
|
}
|
|
|
|
|
2019-08-06 18:51:01 +00:00
|
|
|
div[data-player-meta] input {
|
|
|
|
margin: 1vmin;
|
|
|
|
}
|
|
|
|
|
2019-08-06 23:36:39 +00:00
|
|
|
#confirm {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2019-08-06 18:22:43 +00:00
|
|
|
div[data-player-meta] label {
|
|
|
|
margin: .25em;
|
2019-08-06 18:51:01 +00:00
|
|
|
font-size: 100%;
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#game-record-space {
|
|
|
|
grid-area: record;
|
|
|
|
}
|
|
|
|
|
|
|
|
#instructions {
|
|
|
|
padding: .5em;
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow: scroll;
|
2019-08-06 23:36:39 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
2019-08-04 03:43:57 +00:00
|
|
|
|
2019-08-06 18:22:43 +00:00
|
|
|
#instructions, #game-record{
|
|
|
|
border: 2px solid black;
|
2019-08-06 21:13:51 +00:00
|
|
|
height: 1;
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#game-record {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game-update-space {
|
|
|
|
grid-area: submit;
|
|
|
|
margin: .5em;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2019-08-02 21:14:23 +00:00
|
|
|
content {
|
2019-08-04 02:42:39 +00:00
|
|
|
display: flex !important;
|
2019-08-03 21:15:17 +00:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between !important;
|
2019-08-04 02:42:39 +00:00
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player-pos {
|
|
|
|
display: flex;
|
2019-08-08 21:49:45 +00:00
|
|
|
align-items: flex-end;
|
2019-08-04 02:42:39 +00:00
|
|
|
justify-content: space-around;
|
|
|
|
flex: 5;
|
2019-08-06 21:13:51 +00:00
|
|
|
height: 9vmin;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
2019-08-07 01:13:34 +00:00
|
|
|
#game-hud p {
|
|
|
|
font-size: 130%;
|
2019-08-08 22:49:51 +00:00
|
|
|
width: 100%;
|
2019-08-07 19:45:58 +00:00
|
|
|
order: 0;
|
|
|
|
width: 10vh;
|
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
padding: 1vh;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
visibility: hidden;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.player-pos#black-pos {
|
2019-08-08 21:49:45 +00:00
|
|
|
align-items: flex-start;
|
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);
|
|
|
|
}
|
|
|
|
|
2019-08-02 21:14:23 +00:00
|
|
|
.bowl {
|
|
|
|
order: -1;
|
2019-08-08 21:49:45 +00:00
|
|
|
margin: 4vh;
|
|
|
|
height: 15vh;
|
|
|
|
width: 15vh;
|
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-09 05:39:12 +00:00
|
|
|
background: radial-gradient(farthest-corner at 48% 54%, rgba(30, 5, 0, 0.25) 0%, rgba(30, 5, 0, 0.45) 2%, rgba(30, 5, 0, 0.75) 32%, rgb(0,0,0,0.85)35%, rgb(116,48,17) 48%, rgb(140, 60, 40) 52%, rgb(100, 40, 5) 55%, rgb(116, 48, 17) 58%, rgb(140,60,40) 65%, rgb(100, 40, 5) 80%, rgb(80, 20, 0) 90%);
|
2019-08-08 21:49:45 +00:00
|
|
|
box-shadow: -1vmin 2vmin 1.5vmin rgba(83, 53, 35, 0.61);
|
2019-08-05 18:37:03 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bowl p {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-08-08 21:49:45 +00:00
|
|
|
.stone-image {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 50%;
|
2019-08-09 05:39:12 +00:00
|
|
|
background-size: cover;
|
2019-08-08 21:49:45 +00:00
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
2019-08-09 05:39:12 +00:00
|
|
|
#white-stone-image {
|
|
|
|
background-image: url(../images/white-stones-bowl.jpg);
|
|
|
|
}
|
|
|
|
|
|
|
|
#black-stone-image {
|
|
|
|
background-image: url(../images/black-stones-bowl.jpg);
|
|
|
|
}
|
|
|
|
|
2019-08-05 18:37:03 +00:00
|
|
|
.bowl[data-turn]:hover p {
|
|
|
|
display: block;
|
|
|
|
color: #FFF;
|
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
padding: .5em;
|
2019-08-05 23:13:23 +00:00
|
|
|
cursor: grab;
|
2019-08-05 18:37:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bowl[data-turn] {
|
2019-08-07 19:45:58 +00:00
|
|
|
box-shadow: 0 0 3vh 3vh rgb(255, 175, 2);
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
2019-08-04 04:38:31 +00:00
|
|
|
.caps-space {
|
2019-08-03 23:59:56 +00:00
|
|
|
color: #FFF;
|
2019-08-08 22:49:51 +00:00
|
|
|
margin: 1vh;
|
2019-08-08 21:49:45 +00:00
|
|
|
height: 10vh;
|
|
|
|
width: 10vh;
|
2019-08-03 21:15:17 +00:00
|
|
|
border-radius: 50%;
|
2019-08-08 22:49:51 +00:00
|
|
|
background: radial-gradient(farthest-side at 49% 52%, rgb(150, 75, 50) 0%, rgb(116,48,17) 35%, rgb(116,48,17) 64%, rgb(80, 20, 0) 65%, rgb(175, 140, 95) 70%, rgb(120, 50, 40) 80%, rgb(80, 20, 0) 95%, rgb(175, 140, 95) 100%);
|
|
|
|
box-shadow: -0.5vmin 1vmin 1vmin rgba(83, 53, 35, 0.61);
|
2019-08-04 04:38:31 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2019-08-02 21:14:23 +00:00
|
|
|
}
|
|
|
|
|
2019-08-06 23:36:39 +00:00
|
|
|
.caps-space :first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bowl[data-turn] + .name-space .caps-space:hover :first-child {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
background-color: rgba(0,0,0,0.7);
|
|
|
|
padding: .5em;
|
|
|
|
cursor: grab;
|
|
|
|
}
|
|
|
|
|
2019-08-06 18:22:43 +00:00
|
|
|
.name-space {
|
|
|
|
order: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-08-06 21:13:51 +00:00
|
|
|
.name-space h4 {
|
|
|
|
font-size: 120%;
|
2019-08-08 22:49:51 +00:00
|
|
|
color: rgb(255,240,230);
|
|
|
|
background-color: rgba(0,0,0,0.7);
|
|
|
|
padding: 0.25em;
|
2019-08-08 22:56:51 +00:00
|
|
|
z-index: 1;
|
2019-08-06 18:22:43 +00:00
|
|
|
}
|
|
|
|
|
2019-08-06 23:36:39 +00:00
|
|
|
#board-container {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: 100%;
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-template-areas:
|
2019-08-08 22:49:51 +00:00
|
|
|
"board";
|
|
|
|
}
|
|
|
|
|
|
|
|
#board-space tbody {
|
|
|
|
background: radial-gradient(farthest-corner at 55% 40%, rgba(244, 230, 120, 0.75) 0%, rgba(234, 178, 78, 0.5) 65%, rgba(200, 160, 90, 0.45) 90%, rgba(200, 140, 90, 0.45) 100%);
|
|
|
|
background-size: cover;
|
|
|
|
padding: 1vmin;
|
2019-08-06 23:36:39 +00:00
|
|
|
}
|
|
|
|
|
2019-08-02 21:14:23 +00:00
|
|
|
#board-space {
|
2019-08-06 23:36:39 +00:00
|
|
|
grid-area: board;
|
2019-08-02 21:14:23 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-08-08 22:49:51 +00:00
|
|
|
background-image: url(../images/board.png);
|
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
|
|
|
}
|
|
|
|
|
2019-08-06 23:36:39 +00:00
|
|
|
|
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;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2019-08-03 23:59:56 +00:00
|
|
|
#board-space td {
|
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) 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-08 18:45:03 +00:00
|
|
|
#board-space .board-9x9 td {
|
|
|
|
height: 9vmin;
|
|
|
|
width: 9vmin;
|
|
|
|
}
|
|
|
|
|
|
|
|
#board-space .board-13x13 td {
|
|
|
|
height: 7vmin;
|
|
|
|
width: 7vmin;
|
|
|
|
}
|
|
|
|
|
|
|
|
#board-space .board-19x19 td {
|
|
|
|
height: 5vmin;
|
|
|
|
width: 5vmin;
|
|
|
|
}
|
|
|
|
|
2019-08-08 06:52:13 +00:00
|
|
|
#board-space td.top {
|
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-08 06:52:13 +00:00
|
|
|
#board-space td.btm {
|
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-08 06:52:13 +00:00
|
|
|
#board-space td.lft {
|
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-08 06:52:13 +00:00
|
|
|
#board-space td.rgt {
|
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-08 06:52:13 +00:00
|
|
|
#board-space td.top.lft {
|
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-08 06:52:13 +00:00
|
|
|
#board-space td.top.rgt {
|
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
|
|
|
|
2019-08-08 06:52:13 +00:00
|
|
|
#board-space td.btm.lft {
|
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
|
|
|
|
2019-08-08 06:52:13 +00:00
|
|
|
#board-space td.btm.rgt {
|
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
|
|
|
}
|
|
|
|
|
2019-08-08 22:49:51 +00:00
|
|
|
.stone.hoshi {
|
2019-08-08 21:49:45 +00:00
|
|
|
background: radial-gradient(circle farthest-corner at center, #000 0%, #000 14%, rgba(0,0,0,0) 15%);
|
2019-08-06 21:13:51 +00:00
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
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;
|
2019-08-08 21:49:45 +00:00
|
|
|
border: 1vmin solid rgba(200,20,50,0.8);
|
|
|
|
border-radius: 0%;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-03 06:42:49 +00:00
|
|
|
td .stone[data-stone="white"] {
|
2019-08-08 21:49:45 +00:00
|
|
|
background: radial-gradient(farthest-side at 55% 40%, white 0%, rgb(200,200,200) 65%, rgb(100,100,100) 90%, rgb(68, 50, 0) 100%);
|
|
|
|
box-shadow: -.25vmin .5vmin .5vmin rgba(145, 92, 23, 0.5);
|
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-08 21:49:45 +00:00
|
|
|
background: radial-gradient(farthest-side at 55% 40%, rgb(220,220,220) 0%, rgb(60,60,60) 45%, rgb(15,15,15) 90%, rgb(5, 5, 0) 100%);
|
|
|
|
box-shadow: -.25vmin .5vmin .5vmin rgba(145, 92, 23, 0.75);
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
2019-08-08 21:49:45 +00:00
|
|
|
|
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
|
|
|
}
|
2019-08-06 21:13:51 +00:00
|
|
|
td .dot[data-dot="dame"] {
|
|
|
|
background-color: purple;
|
2019-08-03 04:19:31 +00:00
|
|
|
}
|
|
|
|
|
2019-08-07 22:08:55 +00:00
|
|
|
@media only screen and (min-width: 591px) {
|
2019-08-07 19:45:58 +00:00
|
|
|
|
2019-08-06 18:51:01 +00:00
|
|
|
#player-meta {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2019-08-07 19:45:58 +00:00
|
|
|
|
2019-08-06 18:51:01 +00:00
|
|
|
div[data-player-meta] {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2019-08-07 19:45:58 +00:00
|
|
|
|
2019-08-06 21:13:51 +00:00
|
|
|
}
|
|
|
|
|
2019-08-08 22:49:51 +00:00
|
|
|
/* Responsive Design */
|
|
|
|
|
2019-08-06 21:13:51 +00:00
|
|
|
@media only screen and (min-width: 500px) {
|
2019-08-08 18:45:03 +00:00
|
|
|
|
2019-08-07 19:45:58 +00:00
|
|
|
html {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2019-08-08 18:45:03 +00:00
|
|
|
|
2019-08-06 21:13:51 +00:00
|
|
|
.player-pos {
|
|
|
|
height: 14vh;
|
|
|
|
}
|
|
|
|
|
2019-08-08 18:45:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 590px) {
|
|
|
|
|
|
|
|
#board-space .board-19x19 td {
|
|
|
|
height: 3.5vh;
|
|
|
|
width: 3.5vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 570px) {
|
|
|
|
|
|
|
|
#board-space .board-9x9 td {
|
2019-08-08 22:49:51 +00:00
|
|
|
height: 7.5vh;
|
|
|
|
width: 7.5vh;
|
2019-08-08 18:45:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#board-space .board-13x13 td {
|
2019-08-08 22:49:51 +00:00
|
|
|
height: 5vh;
|
|
|
|
width: 5vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bowl {
|
|
|
|
order: -1;
|
|
|
|
margin: 3vh;
|
|
|
|
height: 10vh;
|
|
|
|
width: 10vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caps-space {
|
|
|
|
color: #FFF;
|
|
|
|
margin: 2vh;
|
|
|
|
height: 7vh;
|
|
|
|
width: 7vh;
|
|
|
|
}
|
|
|
|
|
2019-08-08 18:45:03 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 700px) {
|
|
|
|
|
|
|
|
content {
|
|
|
|
width: 700px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu {
|
|
|
|
grid-template-columns: 50vw;
|
|
|
|
grid-template-rows: auto auto 50vw auto;
|
|
|
|
}
|
2019-08-06 21:13:51 +00:00
|
|
|
|
2019-08-08 18:45:03 +00:00
|
|
|
}
|
2019-08-06 21:13:51 +00:00
|
|
|
|
2019-08-08 18:45:03 +00:00
|
|
|
@media only screen and (min-width: 900px) {
|
|
|
|
|
|
|
|
#menu {
|
2019-08-09 05:39:12 +00:00
|
|
|
grid-template-columns: 55vh;
|
|
|
|
grid-template-rows: auto auto 55vh auto;
|
2019-08-08 18:45:03 +00:00
|
|
|
}
|
|
|
|
|
2019-08-08 21:49:45 +00:00
|
|
|
}
|