-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselection.css
More file actions
159 lines (133 loc) · 2.87 KB
/
selection.css
File metadata and controls
159 lines (133 loc) · 2.87 KB
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
158
159
body{
font-family: "Chakra Petch";
background-color: #faefd9;
}
h1{
display: flex;
margin-top: 20px;
justify-content: center;
align-items: center;
flex-wrap:wrap;
}
p{
display: flex;
margin-top: 20px;
justify-content: center;
align-items: center;
flex-wrap:wrap;
}
h3{
display: flex;
margin-top: 20px;
justify-content: center;
align-items: center;
flex-wrap:wrap;
}
.container{
display: flex;
margin-top: 20px;
flex-direction: column;
align-items: center;
flex-wrap:wrap; /* ensures that the boxes will wrap to the next line if there's not enough space */
}
#instructions{
border: 2px dotted #6e5219;
align-items: center;
gap: 10px;
padding: 20px; /* add padding inside the boxes */
animation: glowingborder 4s infinite alternate;
}
#selection{
border: 2px dotted #6e5219;
display: flex;
align-items: center;
height: 200px;
gap: 10px;
margin: 15px; /* add some margin between the boxes */
padding: 20px; /* add padding inside the boxes */
}
.visual{
display: flex;
background-color: #f0dbb0;
position: relative;
height: 300px;
border: 2px dotted #6e5219;
}
#selectAlgorithm :active {
background-color: lightblue;
color: aliceblue;
}
.bar{
position: absolute;
background-color: #6e5219;
transition: all 300ms ease-out;
border-radius: 6px;
bottom: 0;
}
.bar.activate{
background: lightblue;
transition-property: 0.3s;
animation: updown 1.5s ease-in-out;
}
@keyframes updown {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
button{
border: 2px solid white;
background-color: #a38852;
color: white;
padding: 5px;
font-family: "Chakra Petch";
border-radius: 10px;
}
button:hover{
background-color: white;
color: pink;
}
#selectAlgorithm{
border: 2px solid #a38852;
background-color: #ebd8b1;
color: white;
padding: 5px;
font-family: "Chakra Petch";
color: #6e5219;
border-radius: 10px;
margin: 10px;
}
#number{
border: 2px solid #a38852;
background-color: white;
height: 20px;
}
#newnumber{
margin: 10px;
}
@keyframes glowingborder {
from {
border-color: #dba843;
box-shadow: 0 0 10px white;
}
to {
border-color: #fadedc;
box-shadow: 0 0 20px #dba843;
}
}
.text{
margin: 20px;
display: flex;
background-color: #f0dbb0;
position: relative;
border: 2px dotted #6e5219;
align-items: flex-end;
gap: 10px;
padding: 20px; /* add padding inside the boxes */
animation: glowingborder 4s infinite alternate;
}