-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
157 lines (137 loc) · 3.15 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
body {
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
font-family: 'Press Start 2P', cursive;
background-color: #fafafa;
}
.winner {
background: linear-gradient(124deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3);
background-size: 1800% 1800%;
animation: rainbow 10s ease infinite;
}
h1 {
margin: 20px 0px 50px 0px;
color: #fafafa;
-webkit-text-stroke: 0.5px black;
text-shadow: 2px 2px black;
}
.playground {
margin: 0px 105px;
display: grid;
justify-items: center;
align-items: center;
grid-template-columns: 14% 72% 14%;
}
.playground > div {
width: 230px;
margin: 30px;
padding: 5px;
border: 3px solid black;
border-radius: 5px;
background-color: #fafafa;
text-align: center;
}
.okay {
text-align: right;
padding: 50px 15px 10px 0px;
}
.playground > div > div:hover {
cursor: pointer;
}
.left-box {
animation: float-left 6s ease-in-out infinite;
}
.right-box {
animation: float-right 5.5s ease-in-out infinite;
}
button {
font-size: 20px;
}
.execute {
display: block;
margin: 5px auto;
width: 500px;
}
.start-button {
position: relative;
width: 200px;
/* top: px; */
}
.hide {
display: none;
}
.commands {
min-width: 500px;
min-height: 60px;
font-size: 24px;
margin: 0 auto;
}
.missionControl-title {
background-color: lightgoldenrodyellow;
margin: 0px;
position: relative;
padding: 0px 0px 0px 4px;
top: 12px;
}
.missionControl {
border: 5px solid black;
margin: 0px 0px;
padding: 20px;
}
.pattern {
display: block;
font-size: 12px;
max-width: 1000px;
}
.shakeit {
animation: shake 0.2s;
animation-iteration-count: infinite;
}
@keyframes shake {
0% { transform: translate(1px, 1px) rotate(0deg); }
10% { transform: translate(-1px, -2px) rotate(-1deg); }
20% { transform: translate(-3px, 0px) rotate(1deg); }
30% { transform: translate(3px, 2px) rotate(0deg); }
40% { transform: translate(1px, -1px) rotate(1deg); }
50% { transform: translate(-1px, 2px) rotate(-1deg); }
60% { transform: translate(-3px, 1px) rotate(0deg); }
70% { transform: translate(3px, 1px) rotate(-1deg); }
80% { transform: translate(-1px, -1px) rotate(1deg); }
90% { transform: translate(1px, 2px) rotate(0deg); }
100% { transform: translate(1px, -2px) rotate(-1deg); }
}
@keyframes float-left {
0% {
box-shadow: -2px 5px black;
transform: translateY(0px);
}
50% {
box-shadow: -2px 10px black;
transform: translateY(-10px);
}
100% {
box-shadow: -2px 5px black;
transform: translateY(0px);
}
}
@keyframes float-right {
0% {
box-shadow: 2px 5px black;
transform: translateY(0px);
}
50% {
box-shadow: 2px 10px black;
transform: translateY(-10px);
}
100% {
box-shadow: 2px 5px black;
transform: translateY(0px);
}
}
@keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}