-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (107 loc) · 1.82 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
118
119
120
121
122
123
124
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
}
html,
body {
height: 100%;
background-color: #f0f2f5;
color: #333;
}
body {
padding: 16px 32px;
}
header {
text-align: center;
margin-bottom: 2rem;
}
h1 {
font-size: 2.5rem;
color: #4A90E2;
}
h4 {
font-size: 1.2rem;
color: #7F8C8D;
margin-top: 0.5rem;
}
main {
display: flex;
flex-direction: column;
align-items: center;
}
#container {
position: relative;
width: 720px;
height: 480px;
max-width: 100%;
max-height: 100%;
border: 2px dashed #D1D5DB;
border-radius: 0.75rem;
overflow: hidden;
margin-top: 1rem;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transition: background 0.3s ease-in-out;
}
#upload-button {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 0.4rem;
font-size: 18px;
color: #4A90E2;
cursor: pointer;
padding: 1rem;
border: 2px solid #4A90E2;
border-radius: 0.75rem;
background-color: #fff;
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
#upload-button:hover {
background-color: #4A90E2;
color: #fff;
}
#upload {
display: none;
}
svg {
pointer-events: none;
}
#example {
font-size: 14px;
text-decoration: underline;
cursor: pointer;
color: #4A90E2;
}
#example:hover {
color: #2563EB;
}
canvas {
position: absolute;
width: 100%;
height: 100%;
}
#status {
min-height: 16px;
margin: 8px 0;
font-size: 1rem;
color: #4A90E2;
}
#download-button {
padding: 10px 20px;
font-size: 16px;
color: white;
background-color: #4A90E2;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 1rem;
transition: background-color 0.3s ease-in-out;
}
#download-button:hover {
background-color: #2563EB;
}