-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (75 loc) · 1.53 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
@media (min-width: 760px) {
#container {
margin: 25px auto;
width: 500px;
}
#screen {
width: 500px;
height: 500px;
}
}
@media (max-width: 760px) {
#container {
margin: 25px auto;
width: 400px;
}
#screen {
width: 400px;
height: 400px;
}
}
@media (orientation: portrait) {
#container {
margin: 2vh auto;
width: 80vw;
}
#screen {
width: 80vw;
height: 80vw;
}
}
.text {
font-family: Ubuntu Mono, cursive, Arial;
font-size: 18px;
font-style: normal;
font-variant: normal;
font-weight: 500;
line-height: 19px;
}
#btn {
-webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 3s; /* Firefox < 16 */
-ms-animation: fadein 3s; /* Internet Explorer */
-o-animation: fadein 3s; /* Opera < 12.1 */
animation: fadein 3s;
display: block;
margin: auto;
background: #A8A8A8;
border: 1px solid;
border-radius: 5px;
font-family: Ubuntu Mono, cursive, Arial;
font-size: 15px;
padding: 5px;
}
#btn:hover {
background: #D0D0D0;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Internet Explorer */
@-ms-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}