-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (99 loc) · 1.96 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;700;800&display=swap');
*{
margin: 0;
padding: 0;
}
body{
background-color: #18191A;
overflow-x: hidden;
font-family: 'Poppins', sans-serif;
}
.uploadContainer{
height: 200px;
width: 90%;
max-width: 800px;
margin: auto;
margin-top: 2em;
border-radius: 20px;
border: 2px dashed #fff;
background-color: #222;
}
.uploadContainer:hover{
border: 3px dashed #fff;
}
.uploadForm{
width: 100%;
height: 100%;
}
.fileLabel{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
cursor: pointer;
}
.folderImg{
width: 100px;
}
.fileInput{
opacity: 0;
}
.text{
color: lightgray;
font-weight: bold;
font-size: 1.1em;
margin-top: 1em;
}
.previewContainer{
width: 95%;
max-width: 1200px;
margin: auto;
margin-top: 2em;
display: grid;
justify-items: center;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
transition: all 1s ease-in-out;
}
.image{
width: 150px;
height: 200px;
position: relative;
transition: all .1s ease-in-out;
}
.close{
position: absolute;
top: -10px;
right: -10px;
z-index: 200;
width: 25px;
height: 25px;
cursor: pointer;
}
.closeImg{
width: 100%;
}
.image img{
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
border-radius: 15px;
}
@media screen and (min-width:650px) {
.previewContainer{
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}
@media screen and (min-width:800px) {
.previewContainer{
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
}
@media screen and (min-width:1000px) {
.previewContainer{
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
}