Spaces:
Build error
Build error
Anthony-Ml
commited on
Commit
•
b08722d
1
Parent(s):
68cff78
Create style.css
Browse files
style.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
html,
|
2 |
+
body {
|
3 |
+
font-family: Arial, Helvetica, sans-serif;
|
4 |
+
}
|
5 |
+
|
6 |
+
.container {
|
7 |
+
margin: 40px auto;
|
8 |
+
width: max(50vw, 400px);
|
9 |
+
display: flex;
|
10 |
+
flex-direction: column;
|
11 |
+
align-items: center;
|
12 |
+
}
|
13 |
+
|
14 |
+
.custom-file-upload {
|
15 |
+
display: flex;
|
16 |
+
align-items: center;
|
17 |
+
cursor: pointer;
|
18 |
+
gap: 10px;
|
19 |
+
border: 2px solid black;
|
20 |
+
padding: 8px 16px;
|
21 |
+
cursor: pointer;
|
22 |
+
border-radius: 6px;
|
23 |
+
}
|
24 |
+
|
25 |
+
#file-upload {
|
26 |
+
display: none;
|
27 |
+
}
|
28 |
+
|
29 |
+
.upload-icon {
|
30 |
+
width: 30px;
|
31 |
+
}
|
32 |
+
|
33 |
+
#image-container {
|
34 |
+
width: 100%;
|
35 |
+
margin-top: 20px;
|
36 |
+
position: relative;
|
37 |
+
}
|
38 |
+
|
39 |
+
#image-container>img {
|
40 |
+
width: 100%;
|
41 |
+
}
|