perborgen commited on
Commit
0bb7128
·
1 Parent(s): a0c652a

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +41 -19
style.css CHANGED
@@ -1,28 +1,50 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ html, body {
2
+ margin: 20px;
3
+ font-family:Arial, Helvetica, sans-serif;
4
  }
5
 
6
+ .container {
7
+ margin: 0 auto;
8
+ width: 400px;
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
  }
13
 
14
+ label {
15
+ border: 2px solid black;
16
+ padding: 8px 16px;
17
+ cursor: pointer;
18
+ display: flex;
19
+ align-items: center;
20
  }
21
 
22
+ input[type="file"] {
23
+ display: none;
 
 
 
 
24
  }
25
 
26
+ .upload-icon {
27
+ width: 30px;
28
+ margin-right: 10px;
29
  }
30
+
31
+ #image-container {
32
+ margin-top: 20px;
33
+ position: relative;
34
+ }
35
+
36
+ #image-container img {
37
+ width: 400px;
38
+ }
39
+
40
+ .bounding-box {
41
+ position: absolute;
42
+ box-sizing: border-box;
43
+ }
44
+
45
+ .bounding-box-label {
46
+ position: absolute;
47
+ color: white;
48
+ font-size: 12px;
49
+ }
50
+