-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
139 lines (106 loc) · 1.92 KB
/
index.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
*{
padding:0px;
margin:0px;
box-sizing: border-box;
font-family: sans-serif;
font-size: 1;
}
.parent{
display: flex;
justify-content: space-around;
align-items: center;
height:100vh;
max-width:100%;
background-color: black;
margin:auto
}
.origin{
height: 80%;
width:30%;
background-color:black;
border: 2px dashed #4AAE9B;
}
.draggable-item{
position: relative;
top:15%;
text-align: center;
width:40%;
background-color: #4AAE9B;
font-weight: normal;
border-style: none;
border-radius: 3%;
margin: auto;
margin-bottom: 1rem;
padding: 2rem;
}
.dropzone{
text-align: center;
padding: 1rem;
height: 80%;
width:30%;
background-color: black;
border:2px dashed #4AAE9B;
}
.dragging{
background-color: #D0F5BE;
display: hidden;
}
.dropping{
background-color: #00DFA2;
}
.reset-btn{
position: absolute;
top: 80%;
background-color: #4AAE9B;
color: black;
font-weight: 800;
padding: 1.2rem;
text-align: center;
border-style: none;
border-radius: 17%;
}
.instruction{
margin: auto;
position: relative;
top:20%;
width: 60%;
text-align:justify;
color:#4AAE9B;
padding: 1rem;
font-weight: bolder;
}
.instruction li{
list-style: none;
margin: 0.9rem;line-height: 1.5rem;
}
@media (min-width: 30em) and (max-width: 80em) {
.parent{
display: flex;
flex-direction: column;
}
.origin{
height: 30%;
width:60%;
margin: 2rem;
}
.dropzone{
text-align: center;
height:60%;
width: 60%;
margin:0.5rem;
}
.draggable-item{
width:65%;
padding: 0.5rem;
}
.reset-btn{
top:88%;
left: 44%;
padding: 0.5rem;
}
}
@media only screen and (max-width: 115em) {
.instruction{
display: none;
}
}