-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
123 lines (122 loc) · 2.56 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
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
118
119
120
121
122
123
html {
background-color: #66ff33;
margin: 0px 0px;
-webkit-user-select: none;
}
#wrapper {
width: 100%;
height: 100%;
align-self: center;
text-align: center;
vertical-align: bottom;
margin: 0px 0px;
}
#wrapper.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#warning-message {
width: 100%;
height: 100%;
display: none;
text-align: center;
vertical-align: middle;
margin: 0px 0px;
color: white;
font-family: fantasy;
font-style: italic;
}
#warning-message.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media only screen and (orientation:portrait){
#wrapper {
display:none;
}
#warning-message {
display:block;
}
}
@media only screen and (orientation:landscape){
#warning-message {
display:none;
}
}
button {
background-color: transparent;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
border: 0;
width: 20%;
height: 25%;
vertical-align: bottom;
position: absolute;
}
button:hover, button:active, button:focus {
border: 0;
outline: none;
}
.button {
background-color: #008CBA;
border: 2px solid #008CBA;
color: white;
padding: 2%;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 4em;
margin: 5%;
cursor: pointer;
border-radius: 20px;
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
}
.button:hover {
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
#restart {
background-image: url(img/restart.png);
right: 15%;
top: 2%;
}
#shutdown {
background-image: url(img/shutdown.png);
right: 0;
top: 2%;
}
#up {
background-image: url(img/up.png);
left: 0;
bottom: 30%;
}
#down {
background-image: url(img/down.png);
bottom: 0;
left: 0;
}
#left {
background-image: url(img/left.png);
bottom: 0;
right: 20%;
}
#right {
background-image: url(img/right.png);
bottom: 0;
right: 0;
}
#restart:active {
background-image: url(img/pressed/restart.png);
}
#shutdown:active {
background-image: url(img/pressed/shutdown.png);
}