/
game.css
117 lines (115 loc) · 1.95 KB
/
game.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
112
113
114
115
116
117
body {
font-family:Verdana, Geneva, sans-serif;
}
h1 {
font-size:1.2em;
}
#game-container {
position:relative;
/*border:#000 1px solid;*/
width:730px;
height:270px;
margin:0 auto;
background-color:#FFB673;
margin-top:10px;
margin-bottom:10px;
}
#score{
position:relative;
width:730px;
height: 30px;
margin:0 auto;
text-align:center;
}
#score p {
margin: 0;
}
#game-area, #game-area *, #game-area .panel {
padding:0;
margin:0;
}
#game-area {
margin:0 auto;
width: 260px;
height: 250px;
padding:10px;
position:relative;
}
#game-area .panel {
/*border: 1px solid black;*/
color: white;
background: black;
height: 32.8%;
width: 32.5%;
text-align: center;
float: left;
margin-left:2px;
margin-bottom:2px;
position: relative;
font-size: 4em;
font-family: arial;
text-decoration:none;
}
#game-area .panel.enabled:hover {
background:#015965;
}
#game-area .panel.enabled {
background: white;
}
#game-area .panel.winner {
color: green;
}
#feedback {
/*border: 1px solid black;*/
width: 207px;
background-color: white;
position: absolute;
height: 258px;
left: 277px;
top: 5px;
}
#feedback h1, #introduction h1{
/*border-bottom:#000 solid 1px;*/
text-align:center;
margin: 0;
}
#feedback p, #introduction p{
text-align:center;
padding:2px;
}
#feedback p {
text-align:center;
padding-top:75px;
}
#feedback #startAgainBtn, #introduction #startBtn{
/*border: 2px solid black;*/
position: absolute;
right: 60px;
bottom: 10px;
padding:5px;
text-decoration:none;
border-radius:3px;
background-color:#03899c;
color:white;
}
#feedback #startAgainBtn:hover, #introduction #startBtn:hover{
background-color:#015965;
color:#fff;
}
#introduction {
/*border: 1px solid black;*/
width: 230px;
background-color: white;
position: absolute;
height: 258px;
left: 6px;
top: 5px;
}
#introduction #character-selections {
width: 50px;
position: relative;
margin: 0 auto;
}
#introduction #character-selections input{
margin-bottom:10px;
}