-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (111 loc) · 2.13 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
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
gap: 1rem;
background: linear-gradient(to left bottom, #51d1e2, #226c8c);
}
.main {
display: flex;
flex-direction: column;
align-items: center;
padding: 0 3rem;
background-color: #fff;
width: 35%;
border-radius: 1rem;
box-shadow: 0px 10px 15px -3px rgba(41, 41, 41, 35%);
}
.main .qr-box {
padding: 1rem;
width: 300px;
height: 300px;
background-color: #fff;
border-radius: 1rem;
box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
}
.main div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 2rem;
}
.main:nth-child(2) {
padding: 3rem;
}
.title {
text-align: center;
}
.data {
font-weight: normal;
border: 1px solid rgb(137, 151, 155);
margin-top: 1.2rem;
width: 100%;
height: 36px;
border-radius: 4px;
padding-left: 12px;
font-size: 14px;
transition: border-color 150ms ease-in-out 0s;
outline: none;
color: rgb(33, 49, 60);
background-color: rgb(255, 255, 255);
padding-right: 12px;
}
.data:hover {
box-shadow: rgb(231 238 236) 0px 0px 0px 3px;
}
.submit {
display: inline-block;
outline: 0;
padding: 0 56px;
height: 45px;
line-height: 45px;
border-radius: 7px;
font-weight: 700;
font-size: 16px;
cursor: pointer;
border: none;
background: #fff;
color: #696969;
box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
transition: all 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.submit:hover {
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 6px 20px rgb(93 93 93 / 23%);
}
img {
aspect-ratio: 1/1;
}
.loader {
width: 50px;
height: 50px;
background: #a7f3fd;
animation: rotate 1s linear infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg) scale(0.2);
border-radius: 10%;
}
50% {
transform: rotate(180deg) scale(1.5);
border-radius: 50%;
}
100% {
transform: rotate(360deg) scale(0.2);
border-radius: 10%;
}
}
.hidden {
display: none;
}
@media screen and (max-width:480px) {
.main .qr-box {
width: 170px;
height: 350px;
background-color: #fff;
}
}