-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (78 loc) · 1.39 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
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
background-color: #00DBDE;
background-image: linear-gradient(138deg, #00DBDE 0%, #FC00FF 100%);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
width: 100vw;
}
.header {
color: white;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 55px;
}
.card {
width: 90vw;
max-width: 480px;
margin: 0 auto;
border-radius: 5px;
background-color: rgba(255, 255, 255, 1);
}
.modal {
left: 50%;
transform: translateX(-50%);
width: 480px;
overflow: hidden;
position: relative;
}
.modal img {
max-width: 100%;
}
.submitImg {
margin-top: 20px;
width: 100px;
left: 50%;
transform: translateX(-50%);
position: relative;
}
#main {
display: flex;
justify-content: center;
align-items: center;
}
canvas {
background-color: white;
}
#preview {
/* object-fit: scale-down; */
width: 100%;
height: 100%;
display: block;
margin-left: auto;
margin-right: auto;
width: 480px;
height: 480px;
overflow: hidden;
margin-top: 50px;
margin-bottom: 50px;
}
@media(max-width: 600px) {
#preview {
width: 80vw;
height: 80vw;
}
.form-control {
width: 80vw;
}
.modal {
width: 80vw;
}
}