forked from lihongxun945/gobang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
91 lines (91 loc) · 1.44 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
html {
font-size: 10px;
}
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@media (min-width: 370px) {
html {
font-size: 11px;
}
}
@media (min-width: 400px) {
html {
font-size: 12px;
}
}
@media (min-width: 500px) {
html {
font-size: 14px;
}
}
h1 {
color: #3cc51f;
font-size: 2rem;
margin: 1rem;
text-align: center;
}
p {
font-size: 1.4rem;
color: #999;
text-align: center;
}
.board {
position: relative;
background: url("../img/board.jpg");
width: 32rem;
height: 32rem;
margin: 1.5rem auto;
background-size: 100%;
}
.board .chessman {
height: 1.7rem;
width: 1.7rem;
margin-left: -0.85rem;
margin-top: -0.85rem;
border-radius: .85rem;
background: white;
position: absolute;
}
.board .chessman.black {
background: black;
}
.board .indicator {
box-sizing: border-box;
height: 2rem;
width: 2rem;
margin-left: -1rem;
margin-top: -1rem;
border: 1px solid #EF4F4F;
position: absolute;
}
.buttons {
width: 30rem;
margin: auto;
padding-bottom: 1rem;
}
.status {
text-align: center;
margin: 1rem;
font-size: 1.4rem;
height: 2rem;
line-height: 2rem;
color: #666;
}
@media screen and (min-width: 1024px) {
.weui_dialog,
.weui_toast {
left: 32.5%;
}
}
footer {
margin: 1rem;
text-align: center;
color: gray;
}