-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (112 loc) · 2.36 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
125
126
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Dosis', 'sans-serif';
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
height: 100vh;
}
@keyframes gradient {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
.wrapper{
height: 260px;
background: white;
max-width: 410px;
border-radius: 7px;
padding: 16px 25px;
transition: height 0.2s ease;
}
.wrapper.active{
height: 530px;
}
header h1{
font-size: 21px;
font-weight: 500;
}
header p{
margin-top: 5px;
color: #474747;
font-size: 16px;
}
.wrapper .form{
margin: 20px 0 30px;
}
.form :where(input, button){
width: 100%;
height: 55px;
border: none;
outline: none;
border-radius: 5px;
}
.form input{
font-size: 18px;
padding: 0 17px;
border: 1px solid #999;
}
.form button {
color: #fff;
text-transform: uppercase;
text-align: center;
line-height: 1;
font-size: 20px;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
background-image: linear-gradient(to right, #895cf2 0%, #ffabf4 50%, #895cf2 100%);
transition: 0.5s;
padding: 10px;
outline: none;
border-radius: 25px;
margin-top: 20px;
font-family: Asap Condensed, serif;
cursor: pointer;
background-size: 300% 300%;
}
.form button:hover {
background-position: right center;
}
.wrapper .qr-code{
display: flex;
opacity: 0;
pointer-events: none;
padding: 33px 0;
align-items: center;
justify-content: center;
border: 1px solid #ccc;
}
.wrapper.active .qr-code{
opacity: 1;
pointer-events: auto;
transition: opacity 0.5s 0.05s ease;
}
.github{
position:absolute; top:0; left: 20px;
width: 300px;
height: 50px;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: white;
color: black;
text-align: center;
}