-
Notifications
You must be signed in to change notification settings - Fork 0
/
memoryMatchStyle.css
51 lines (47 loc) · 1.4 KB
/
memoryMatchStyle.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
#memoryMatch { display: inline-block }
#memoryMatch .grid { display: table; padding: 5px; border: 0px; }
#memoryMatch .grid.alert { border: 5px solid #f00; padding: 0px; }
#memoryMatch .grid .row .col {
background-color: #09f;
border: 1px solid #000;
margin: 2px;
padding: 10px;
float: left;
width: 100px;
height: 100px;
line-height: 100px;
}
#memoryMatch .grid .row .col.selected { background-color: #FFD700; }
#memoryMatch .grid .row .col.matched { background-color: #090; }
#memoryMatch .grid .row .col.not-matched { background-color: #f00; }
#memoryMatch .grid .row .col .cell { visibility: hidden;
vertical-align: middle;
text-align: center;
width: 100%;
height: 100%;
}
#memoryMatch .grid .row .col.selected .cell,
#memoryMatch .grid .row .col.matched .cell,
#memoryMatch .grid .row .col.not-matched .cell {
visibility: visible;
}
#memoryMatch .grid .row .col .cell img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
#memoryMatch .restart-btn {
margin-left: 10px;
background-color: #e7e7e7; /* Green */
border: none;
color: #000;
padding: 10px 24px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
border-radius: 8px;
}
#memoryMatch .info { float: right; padding-top: 5px; margin-right: 10px; }
#memoryMatch .info .timer-title { font-weight: bold }
#memoryMatch .info .timer { width: 85px; display: inline-block; text-align: right }