summaryrefslogtreecommitdiff
path: root/style.css
blob: 5d1d6d502faa5b899c8099ba62ee923bf5b96070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#board {
  background-image: url("assets/board.jpg");
  background-size: 100%;
  opacity: 0.9;
  margin: 0 auto;
  padding: 5vh;
  height: 60vh;
  aspect-ratio: 1; }

@media screen and (max-width: 600px) {
  #board {
    height: 80vw;
    padding: 5vw; } }

table {
  height: 100%;
  width: 100%; }

table, tr, td {
  border: 1px solid black;
  padding: 0;
  margin: 0;
  border-collapse: collapse; }

.stone {
  position: absolute;
  display: block; }

.stone img {
  width: 100%; }

#head {
  display: block;
  height: 14vh;
  margin: 0;
  padding: 0;
  overflow: scroll; }

@media screen and (max-width: 600px) {
  #head {
    height: 30vw;
    margin-top: calc(20vh - 20vw); } }

img.player-image-left {
  left: calc(50% - 35vh);
  position: absolute;
  display: inline-block;
  z-index: 1;
  height: 8.4vh;
  margin: 2.8vh;
  top: 0; }

img.player-image-right {
  left: calc(50% + 21vh);
  position: absolute;
  display: inline-block;
  z-index: 1;
  height: 8.4vh;
  margin: 2.8vh;
  top: 0; }

@media screen and (max-width: 600px) {
  img.player-image-left {
    left: calc(50% - 52.8vw);
    height: 12vw;
    margin: 9vw;
    top: calc(20vh - 20vw); }
  img.player-image-right {
    left: calc(50% + 22.8vw);
    height: 12vw;
    margin: 9vw;
    top: calc(20vh - 20vw); } }

.turn {
  width: 20vh;
  height: 4vh;
  margin: 0 auto;
  margin-top: calc(7vh - 4vh);
  background-color: black;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%); }

.turn h2 {
  font-size: 3vh; }

.turn .border {
  height: 4vh;
  margin: 0 auto;
  margin-top: 4vh;
  background-color: black;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%); }

.turn .inner {
  height: 100%;
  width: 100%;
  text-align: center;
  background-color: #efd;
  clip-path: polygon(7% 10%, 93% 10%, 97% 50%, 93% 90%, 7% 90%, 3% 50%); }

div.player-label-left {
  clip-path: polygon(0 0, 0 100%, 90% 100%, 100% 0%);
  left: calc(50% - 25.4vh);
  width: 16vh;
  height: 4vh;
  font-size: 3vh;
  text-align: center;
  background-color: #000b;
  color: white;
  position: absolute;
  top: calc(5vh); }

div.player-label-right {
  clip-path: polygon(100% 0, 100% 100%, 10% 100%, 0% 0%);
  left: calc(50% + 9.4vh);
  width: 16vh;
  height: 4vh;
  font-size: 3vh;
  text-align: center;
  background-color: #000b;
  color: white;
  position: absolute;
  top: calc(5vh); }

@media screen and (max-width: 600px) {
  div.player-label-left {
    left: calc(50% - 37.2vw);
    width: 26vw;
    height: 6vw;
    font-size: 5vw;
    top: calc(20vh - 20vw + 15vw - 3vw); }
  div.player-label-right {
    left: calc(50% + 45vw - 33.8vw);
    width: 26vw;
    height: 6vw;
    font-size: 5vw;
    top: calc(20vh - 20vw + 15vw - 3vw); } }

body {
  background-image: url("assets/dismal.jpg");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center top;
  background-attachment: fixed;
  background-color: #efd;
  margin: 0; }