Spaces:
Running
Running
sarahciston
commited on
Commit
•
bb140ca
1
Parent(s):
8b9d08a
add p5 critical AI css
Browse files
style.css
CHANGED
@@ -1,18 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
margin-top: 0;
|
9 |
}
|
10 |
|
11 |
p {
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
|
18 |
.card {
|
|
|
1 |
+
* {
|
2 |
+
box-sizing: border-box;
|
3 |
+
padding: 1rem;
|
4 |
+
margin: 0;
|
5 |
+
font-family: "Fira Code VF", monospace;
|
6 |
+
line-height: 1.5;
|
7 |
+
}
|
8 |
+
|
9 |
+
html,
|
10 |
body {
|
11 |
+
margin: 0;
|
12 |
+
height: 100%;
|
13 |
+
padding: 0;
|
14 |
+
}
|
15 |
+
|
16 |
+
body,
|
17 |
+
#container {
|
18 |
+
display: flex;
|
19 |
+
flex-direction: column;
|
20 |
+
/* justify-content: center; */
|
21 |
+
align-items: left;
|
22 |
}
|
23 |
|
24 |
+
a {
|
25 |
+
color: #F1678E;
|
|
|
26 |
}
|
27 |
|
28 |
p {
|
29 |
+
padding: 1rem;
|
30 |
+
float: left;
|
31 |
+
}
|
32 |
+
|
33 |
+
h1,h2,h3,h4,h5 {
|
34 |
+
color: #F1678E;
|
35 |
+
padding: 1rem;
|
36 |
+
float: left;
|
37 |
+
}
|
38 |
+
|
39 |
+
div {
|
40 |
+
padding: 0;
|
41 |
+
}
|
42 |
+
|
43 |
+
#container {
|
44 |
+
position: relative;
|
45 |
+
gap: 0.4rem;
|
46 |
+
|
47 |
+
width: 640px;
|
48 |
+
height: 640px;
|
49 |
+
max-width: 100%;
|
50 |
+
max-height: 100%;
|
51 |
+
|
52 |
+
border: 2px dashed #D1D5DB;
|
53 |
+
border-radius: 0.75rem;
|
54 |
+
overflow: hidden;
|
55 |
+
cursor: pointer;
|
56 |
+
margin: 1rem;
|
57 |
+
|
58 |
+
background-size: 100% 100%;
|
59 |
+
background-position: center;
|
60 |
+
background-repeat: no-repeat;
|
61 |
+
font-size: 18px;
|
62 |
+
}
|
63 |
+
|
64 |
+
#upload {
|
65 |
+
display: none;
|
66 |
+
}
|
67 |
+
|
68 |
+
svg {
|
69 |
+
pointer-events: none;
|
70 |
+
}
|
71 |
+
|
72 |
+
canvas {
|
73 |
+
display: block;
|
74 |
+
}
|
75 |
+
|
76 |
+
#example {
|
77 |
+
font-size: 14px;
|
78 |
+
text-decoration: underline;
|
79 |
+
cursor: pointer;
|
80 |
+
}
|
81 |
+
|
82 |
+
#example:hover {
|
83 |
+
color: #2563EB;
|
84 |
+
}
|
85 |
+
|
86 |
+
.bounding-box {
|
87 |
+
position: absolute;
|
88 |
+
box-sizing: border-box;
|
89 |
+
border: solid 2px;
|
90 |
+
}
|
91 |
+
|
92 |
+
.bounding-box-label {
|
93 |
+
color: white;
|
94 |
+
position: absolute;
|
95 |
+
font-size: 12px;
|
96 |
+
margin: -16px 0 0 -2px;
|
97 |
+
padding: 1px;
|
98 |
+
}
|
99 |
+
|
100 |
+
input {
|
101 |
+
margin: 1rem;
|
102 |
+
font-size: 12pt;
|
103 |
+
}
|
104 |
+
|
105 |
+
button {
|
106 |
+
float: left;
|
107 |
+
font-size: 16px;
|
108 |
+
margin: 1rem;
|
109 |
+
padding: 1rem 2rem;
|
110 |
+
cursor: pointer;
|
111 |
+
border-radius: 4px;
|
112 |
+
border: 0;
|
113 |
+
}
|
114 |
+
|
115 |
+
#buttonsDiv {
|
116 |
+
float: left;
|
117 |
+
}
|
118 |
+
|
119 |
+
button:hover {
|
120 |
+
background-color: #e3e3e3;
|
121 |
+
}
|
122 |
+
|
123 |
+
button:active {
|
124 |
+
background-color: #d7d7d7;
|
125 |
+
}
|
126 |
+
|
127 |
+
button.submit {
|
128 |
+
background-color: #F1678E;
|
129 |
+
}
|
130 |
+
|
131 |
+
button.submit:hover {
|
132 |
+
background-color: #df5f83;
|
133 |
+
}
|
134 |
+
|
135 |
+
button.submit:active {
|
136 |
+
background-color: #cb5677;
|
137 |
}
|
138 |
|
139 |
.card {
|