-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpixel.css
124 lines (106 loc) · 2.11 KB
/
pixel.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #000;
height: 100vh;
}
.main{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
#canvas1{
position: absolute;
background-color: #000000;
}
.controls{
position: absolute;
z-index: 1000;
width: 100%;
display: flex;
justify-content: center;
}
#image1{
display: none;
}
#WarpButton{
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 2rem;
padding-right: 2rem;
margin-right: 1rem;
margin-left: 1rem;;
background-color: #ff0000;
color: #ffffff;
font-size: 1.6rem;
font-weight: 600;
max-width: 300%;
margin-top: 85vh;
line-height: 1.5rem;
animation-name: changeColor;
animation-duration: 1000ms;
animation-iteration-count: infinite;
border: 5px outset #ffffff;
transform-style: preserve-3d;
min-height: 6rem;
font-family: monospace;
}
#WarpButton:hover{
color: #ff0000;
border: 5px outset #ff0000;
cursor: pointer;
}
#dont1,
#dont2{
color: #ffffff;
margin-top: 85vh;
margin-right: 1rem;
margin-left: 1rem;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
animation-name: blinking;
animation-duration: 3000ms;
animation-iteration-count: infinite;
animation-direction: ease-in-out;
min-height: 6rem;
font-family: monospace;
}
@keyframes blinking {
0% { border: 0.3rem dotted #ffffff;}
50% { border: 0.3rem dashed #ffffff; }
100% { border: 0.3rem dotted #ffffff; }
}
@keyframes changeColor{
0% { color: #000000; }
50% { color: #ffffff; }
100% { color: #000000; }
}
#time{
color: #ffffff;
z-index: 2000;
position: fixed;
margin-top: 1rem;
width: 100%;
text-align: center;
margin-top: 2em;
font-size: 1.6rem;
font-family: monospace;
}
@media (max-width: 768px) {
#WarpButton{
margin-top: 75vh;
}
#dont1,
#dont2{
margin-top: 75vh;
font-size: 1rem;
text-align: center;
}
}