forked from FronterAS/top-trumps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (71 loc) · 1.25 KB
/
styles.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
.card-wrapper {
display: inline-block;
vertical-align: top;
}
.card-wrapper,
.card {
width: 390px;
height: 600px;
}
.card {
background-repeat: no-repeat;
position: relative;
font-family: "Comic Sans MS", cursive, sans-serif
}
.card-image {
width: 327px;
height: 260px;
position: absolute;
top: 84px;
left: 23px;
background-size: cover;
background-repeat: no-repeat;
}
.card.front {
background-image: url("images/card-bg.png");
}
.card.back {
background-image: url("images/card-back.png");
}
ul {
list-style: none;
}
.value {
position: absolute;
color: white;
font-weight: bold;
padding: 2px 9px;
-webkit-transform:rotate(-3deg); /* Opera, Chrome, and Safari */
-ms-transform:rotate(-3deg); /* IE 9 */
transform:rotate(-3deg);
text-transform: capitalize;
}
.my-go .value {
cursor: pointer;
}
.my-go .value:hover {
background: red;
}
#my-card .card.back {
display: none;
}
.value-0 {
top: 346px;
left: 178px;
width: 155px;
}
.value-1 {
top: 377px;
left: 217px;
width: 114px;
}
.my-go-marker {
color: white;
background: red;
}
.scores-wrapper {
position: fixed;
top: 0;
right: 0;
padding: 25px;
}