forked from erturkG/qrcodegenerator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
98 lines (84 loc) · 1.56 KB
/
main.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
body {
font-family: Helvetica, sans-serif;
background: #e6e6e6;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
outline: none;
}
.form {
font-family: Helvetica, sans-serif;
max-width: 400px;
padding: 32px;
background: #f7f7f7;
text-align: center;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
scale: 1.1;
@media only screen and (max-width: 600px) {
padding: 4%;
margin: 12%;
max-width: 80%;
}
}
.form h1 {
background: #6c11a9;
padding: 20px 0;
font-weight: 300;
text-align: center;
color: #fff;
margin: -16px -16px 16px -16px;
font-size: 25px;
}
.form .form-input,
.form .form-input {
box-sizing: border-box;
width: 100%;
background: #fff;
margin-bottom: 4%;
border: 1px solid #ccc;
padding: 3%;
color: #555;
}
.form .form-input:focus,
.form .form-input:focus {
box-shadow: 0 0 5px #6c11a9;
padding: 3%;
border: 1px solid #6c11a9;
}
.form .submitbutton {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 150px;
padding: 3%;
background: #6c11a9;
border-bottom: 2px solid #6c11a9;
border-top-style: none;
border-right-style: none;
border-left-style: none;
color: #fff;
cursor: pointer;
}
.form .submitbutton:hover {
background: #6c11a9;
}
#qrcode-container {
display: none;
}
.qrcode {
padding: 16px;
}
.qrcode img {
margin: 0 auto;
@media only screen and (max-width: 600px) {
width: 200px;
}
}