-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
100 lines (89 loc) · 1.76 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
:root{
--bcg-color: #001122;
--primary-color: #155e75;
--border-radius: 8px;
--secondary-color: #fff;
--border-color: #7fb7c9;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--bcg-color);
}
.box{
background-color: var(--primary-color);
padding: 30px;
width: 400px;
border-radius: var(--border-radius);
}
.qr-header h1{
font-size: 26px;
text-align: center;
color: var(--secondary-color);
margin-bottom: 24px;
text-transform: uppercase;
}
.qr-header input{
width: 100%;
margin-block: 12px;
}
.qr-header input, select{
padding: 8px;
border-radius: var(--border-radius);
font-size: 18px;
outline: none;
border: 2px solid var(--border-color);
}
.qr-header label{
color: var(--secondary-color);
font-size: 20px;
}
.qr-header div{
display: flex;
justify-content: space-between;
}
.qr-footer{
display: flex;
justify-content: center;
}
.qr-footer a{
background-color: var(--secondary-color);
text-decoration: none;
font-size: 20px;
padding: 14px 36px;
margin-inline: 2px;
color: var(--primary-color);
font-weight: 600;
border-radius: var(--border-radius);
}
.qr-body{
display: grid;
place-items: center;
padding:20px;
}
.qr-body img{
max-width: 100%;
max-height: 100%;
margin-block: 10px;
padding: 20px;
border: 0.5px solid var(--border-color);
border-radius: var(--border-radius);
}
@media screen and (max-width:520px){
.box{
width: 80%;
}
.qr-footer a{
padding: 12px;
font-size: 16px;
}
}