-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplague-doctors.css
80 lines (69 loc) · 1.3 KB
/
plague-doctors.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
.plague-doctor-element {
position: absolute;
height: 52px;
width: 44px;
transform: scale(1);
opacity: 1;
transition: opacity 0.5s ease, top 0.1s, left 0.1s;
cursor: crosshair;
z-index: 100;
}
.plague-doctor-element-init.plague-doctor-element-init {
opacity: 0;
transition: opacity 0.5s ease top 0.1s, left 0.1s;
}
.image-reversed.image-reversed {
transform: scaleX(-1);
}
.dead.dead {
transform: rotate(-90deg);
}
.plague-doctor-controls {
position: fixed;
right: 0;
top: 0;
display: flex;
flex-direction: column;
padding: 12px;
max-width: 100px;
transform: translateY(-100%);
transition: transform 0.4s ease;
}
.plague-doctor-controls button {
margin: 8px;
}
.doctors-4tv-logo {
position: absolute;
top: 100%;
height: 40px;
align-self: flex-end;
}
.plague-doctor-controls:hover {
transform: translateY(0px);
}
@media only screen and (max-device-width: 768px) {
.plague-doctor-element {
transform: scale(2);
}
.image-reversed.image-reversed {
transform: scaleX(-2) scaleY(2);
}
}
main {
margin-right: 20%;
height: 100%;
}
.page-controls {
position: absolute;
top: 40px;
right: 0;
width: 20%;
z-index: 10;
display: flex;
flex-direction: column;
align-items: baseline;
padding: 24px;
}
.page-controls * {
margin-bottom: 20px;
}