forked from 75camp/2018-contest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (97 loc) · 1.67 KB
/
style.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
* {
margin: 0;
padding: 0;
}
html {
height: 100%; /*为了禁止页面滚动*/
overflow: hidden;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
background: #FFF5EE;
height: 100%;
overflow: hidden;
}
/* 禁止页面y方向滚动 */
html,
body {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.wrapper {
width: 100%;
height: 100%;
margin: 0 auto;
}
header {
text-align: center;
color: #F4A460;
margin-bottom: 15px;
}
header h1 {
font-size: 20px;
}
.container {
width: 100%;
height: 100%;
text-align: center;
overflow: hidden;
text-align: center;
}
.container .boxes {
font-size: 22px;
font-weight: bold;
width: 330px;
height: 320px;
/* display: flex;
flex-direction: column;
justify-content: space-between; */
padding: 15px;
background: #CDC0B0;
border-radius: 8px;
padding: 5px;
margin: 0 auto;
color: #8B8378;
}
.container .boxes .row {
display: flex;
justify-content: space-between;
}
.container .boxes .row .box {
width: 70px;
height: 70px;
border-radius: 10px;
background: #EBEBEB;
text-align: center;
margin: 5px;
line-height: 70px;
}
.scores {
font-size: 16px;
font-weight: bold;
margin-top: 20px;
color: #8B8378;
}
.scores .maxScore {
margin-bottom: 5px;
}
.scores .currScore {
margin-bottom: 10px;
}
.playAgain button {
width: 100px;
height: 40px;
border-radius: 10px;
background: #F4A460;
border-style: none;
font-size: 16px;
font-weight: bold;
color: #8B8378;
}
.playAgain button:hover {
background: #FFDEAD;
}