-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (74 loc) · 1.12 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
body {
background: url(img/background.jpg) no-repeat center right fixed;
background-size: cover;
}
#the-board {
width: 450px;
height: 450px;
background: rgba(255, 255, 255, 0.8);
border: solid rgba(255, 255, 255, 0.9) 3px;
position: relative;
}
.square {
background: url(img/tigre.jpg);
width: 33%;
height: 33%;
position: absolute;
z-index:100;
}
.fixed-piece {
opacity: 0.2;
z-index:1;
}
#piece_1_1 {
top: 0;
left: 0;
background-position: top left;
}
#piece_2_1 {
top: 0;
left: 33.5%;
background-position: top center;
}
#piece_3_1 {
top: 0;
left: 67%;
background-position: top right;
}
#piece_1_2 {
top: 33.5%;
left: 0;
background-position: center left;
}
#piece_2_2 {
top: 33.5%;
left: 33.5%;
background-position: center center;
}
#piece_3_2 {
top: 33.5%;
left: 67%;
background-position: center right;
}
#piece_1_3 {
top: 67%;
left: 0;
background-position: bottom left;
}
#piece_2_3 {
top: 67%;
left: 33.5%;
background-position: bottom center;
}
#piece_3_3 {
top: 67%;
left: 67%;
background-position: bottom right;
}
#actions {
padding: 1em;
width: 450px;
}
#win {
display: none;
}