-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
167 lines (144 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body,
.wrapper {
height: 100%;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
font-weight: 300;
font-size: 18px;
color: black;
background-color:#E4E4EE;
}
.wrapper {
padding: 30 20px;
}
header {
text-align: center;
padding-top: 20px;
}
h2 {
margin-bottom: 0;
}
p {
margin-bottom: 20px;
margin-top: 0px;
}
.card {
background-color: white;
border-radius: 5px;
border-width: 1px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px 0px;
margin: 0 auto;
max-width: 600px;
padding: 30px 40px;
}
.card-header::after {
content: " ";
display: block;
width: 100%;
background: #e7e9eb;
margin-top: 20px;
height: 2px;
}
.card-header h2 {
color: #3B2BB2;
}
.card input {
float: right;
width: fit-content;
}
label {
display: inline-block;
margin-bottom: 15px;
}
.card-body {
min-height: 100px;
}
.card-footer {
text-align: center;
}
.card-footer::before {
content: " ";
display: block;
width: 100%;
background: #e7e9eb;
height: 2px;
}
.card-footer::after {
content: " ";
display: block;
clear: both;
}
.btn {
border: none;
background-color: #3B2BB2;
border-radius: 25px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 6px 0px rgba(0, 0, 0, 0.2) 0px 1px 1px
0px;
color: hsl(0, 0%, 100%);
display: inline-block;
font-size: 22px;
line-height: 22px;
margin: 16px 16px 16px 20px;
padding: 14px 34px;
text-align: center;
cursor: pointer;
}
button[disabled] {
cursor: default;
background: #c0c7cf;
}
.float-right {
float: right;
}
#password {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
display: block;
width: 100%;
padding-top: 15px;
padding-left: 15px;
padding-right: 15px;
padding-bottom: 85px;
font-size: 1.2rem;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
border: 2px dashed #1C1454;
border-radius: 6px;
resize: none;
overflow: hidden;
}
.cardResponse > p {
color: red;
font-weight: 300;
}
/* Responsive elements for smaller devices */
@media (max-width: 690px) {
.btn {
font-size: 1rem;
margin: 16px 0px 0px 0px;
padding: 10px 15px;
}
#password, h2, p, label {
font-size: 1rem;
}
h1 {
font-size: 1.3rem;
}
}
@media (max-width: 500px) {
.btn, h2, p, label, #password {
font-size: 0.8rem;
}
}