-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
135 lines (112 loc) · 2.18 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
text-decoration: none;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
html {
font-family: Poppins, Arial, Helvetica, sans-serif;
font-size: 62.5%;
background-color: #ccc;
}
main {
display: flex;
align-items: center;
justify-content: center;
padding-top: 8px;
}
.container {
position: relative;
background-color: #ddd;
padding: 15px 20px;
text-align: center;
width: 500px;
}
.help {
position: absolute;
top: 15px;
right: 10px;
opacity: .5;
transition-duration: .5s;
}
.help:hover {
opacity: 1;
}
.qrcode {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.qrcode__form {
display: flex;
align-items: stretch;
margin-bottom: 10px;
margin-top: 10px;
}
.qrcode__form input {
flex-grow: 1;
margin-right: 10px;
}
.qrcode__form button {
height: 35px;
width: 80px;
}
input {
font-family: Poppins, Arial, Helvetica, sans-serif;
padding-left: 10px;
box-shadow: 3px 3px 5px #aaa;
outline: none;
border: 1px solid #aaa;
border-radius: 5px;
}
input:hover {
box-shadow: 3px 3px 8px #555;
transition-duration: .5s;
}
.btn {
background-color: #3B82F6;
color: white;
border-radius: 5px;
border: none;
cursor: pointer;
box-shadow: 3px 3px 5px #aaa;
font-family: Poppins, Arial, Helvetica, sans-serif;
}
.btn:hover {
background-color: rgb(38, 117, 38);
box-shadow: 3px 3px 8px #555;
transition-duration: .5s;
}
.legend {
margin-bottom: 10px;
text-align: left;
display: none;
}
.legend li {
list-style-position: inside;
}
#help:target {
display: block;
}
@media screen and (max-width:768px) {
.container {
width: 360px;
}
.qrcode__form {
display: flex;
flex-direction: column;
}
.qrcode__form input {
margin-bottom: 10px;
margin-right: 0;
height: 35px;
}
.qrcode__form button {
height: 35px;
width: 100%;
}
}