-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (109 loc) · 2.33 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
127
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
html {
font-size: 62.5%;
height: 100vh;
width: 100vw;
background: linear-gradient(90deg, rgb(4, 0, 125) 0%,
rgb(204, 221, 244) 49%,
rgb(131, 207, 242) 58%,
rgb(54, 0, 125) 100%);
}
body {
height: 100%;
display: grid;
place-items: center;
}
.wrapper {
background-color: #eee;
padding-right: 50px;
height: 250px;
width: 600px;
border-radius: 10px;
box-shadow: 0 .8rem 2.5rem rgba(0, 0, 0, .8);
display: flex;
justify-content: center;
align-items: center;
}
.wrapper.active {
height: 300px;
}
.wrapper.active .header h1 {
font-size: 2.5rem;
}
.header-form {
padding-left: 50px;
margin-right: 10px;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.wrapper .header h1 {
font-size: 3rem;
text-align: center;
}
.wrapper .header p {
font-size: 1.6rem;
margin-bottom: 5px;
text-align: center;
}
.wrapper .form {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.wrapper .form input {
background-color: transparent;
width: 100%;
outline: none;
height: 40px;
margin-bottom: 2rem;
border: none;
border-bottom: .1rem solid rgb(62, 0, 128);
}
.wrapper .form input::placeholder{
padding-left: .5rem;
color: black;
}
.wrapper .form button {
width: 100%;
height: 40px;
background-color: rgb(93, 74, 151);
outline: none;
border: none;
border-radius: 5px;
color: #eee;
cursor: pointer;
}
.wrapper .form button:hover{
border: .1rem solid rgb(93, 74, 151);
color: rgb(88, 74, 151);
background-color: transparent;
font-weight: bolder;
}
.wrapper .qr-code {
display: none;
padding: 10px;
margin-top: 20px;
margin-left: 20px;
margin-right: 10px;
border-radius: 5px;
pointer-events: none;
border: 1px solid #ccc;
}
.wrapper .qr-code img {
width: 170px;
}
.wrapper.active .qr-code{
display: block;
transition: all .5s .5s ease;
}