Xenova HF staff commited on
Commit
59898dd
1 Parent(s): 2420137

Rename style.css to index.css

Browse files
Files changed (2) hide show
  1. index.css +77 -0
  2. style.css +0 -28
index.css ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ font-family: sans-serif;
6
+ }
7
+
8
+ html,
9
+ body {
10
+ height: 100%;
11
+ }
12
+
13
+ body {
14
+ padding: 8px 32px;
15
+ }
16
+
17
+ body,
18
+ #container {
19
+ display: flex;
20
+ flex-direction: column;
21
+ justify-content: center;
22
+ align-items: center;
23
+ }
24
+
25
+ h1 {
26
+ text-align: center;
27
+ }
28
+
29
+ #container {
30
+ position: relative;
31
+ gap: 0.4rem;
32
+
33
+ width: 640px;
34
+ height: 640px;
35
+ max-width: 100%;
36
+ max-height: 100%;
37
+
38
+ border: 2px dashed #D1D5DB;
39
+ border-radius: 0.75rem;
40
+ overflow: hidden;
41
+ cursor: pointer;
42
+ margin: 1rem;
43
+
44
+ background-size: 100% 100%;
45
+ background-position: center;
46
+ background-repeat: no-repeat;
47
+ font-size: 18px;
48
+ }
49
+
50
+ #upload {
51
+ display: none;
52
+ }
53
+
54
+ svg {
55
+ pointer-events: none;
56
+ }
57
+
58
+ #example {
59
+ font-size: 14px;
60
+ text-decoration: underline;
61
+ cursor: pointer;
62
+ }
63
+
64
+ #example:hover {
65
+ color: #2563EB;
66
+ }
67
+
68
+ canvas {
69
+ position: absolute;
70
+ width: 100%;
71
+ height: 100%;
72
+ opacity: 0.6;
73
+ }
74
+
75
+ #status {
76
+ min-height: 16px;
77
+ }
style.css DELETED
@@ -1,28 +0,0 @@
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
- }