-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.css
98 lines (92 loc) · 1.51 KB
/
main.css
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
html {
height:100%;
background:white;
}
body {
min-height: 100%;
margin:0;
padding: 0;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#page {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
text-align: center;
min-height: 200px;
}
.scale {
display: inline-block;
height: 100%;
}
#game-cont {
position: absolute;
top:70px;
left: 0;
right: 0;
bottom: 0;
text-align: center;
margin: 20px 0 20px 0;
}
@media (max-width: 768px) {
#game-cont {
margin: 0;
}
}
#game-cont > div {
vertical-align: middle;
display: inline-block;
}
#board {
width: 100%;
}
#board > div {
position: relative;
}
#turn-cont {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 30px;
color: white;
position: absolute;
top:0;
left: 0;
right: 0;
height: 70px;
text-align: center;
}
#turn-cont > div {
vertical-align: middle;
display: inline-block;
}
.row {
display: inline-block;
width: 14%;
}
.sqHolder{
position: relative;
width: 100%;
}
.sqHolder:before{
content: "";
display: block;
padding-top: 100%;
}
.gem.available {
border: 2px solid #DDDDDD;
background-color: #F6F6F6;
}
.gem{
border-radius:50%;
margin: 5%;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}