-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (86 loc) · 1.61 KB
/
style.css
File metadata and controls
95 lines (86 loc) · 1.61 KB
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
/* ############## */
/* Général */
/* ############## */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
--dark: rgb(84, 84, 84);
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: Arial, Helvetica, sans-serif;
background: rgb(239, 214, 147);
}
.container {
width: 500px;
background: #f1f1f1;
border-radius: 5px;
padding: 1rem;
box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.3);
}
h1 {
text-align: center;
margin: 1rem 0;
text-transform: uppercase;
color: var(--dark);
}
form {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
form label {
display: block;
margin-bottom: 1rem;
color: var(--dark);
}
form input {
display: block;
width: 100%;
height: 50px;
border: none;
outline: none;
border-bottom: 1px solid var(--dark);
}
form button {
display: block;
width: 100%;
height: 40px;
color: #f1f1f1;
background: var(--dark);
margin: 1rem 0;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
}
.resultat-qr {
width: 100%;
height: 0px;
margin: 0 auto;
padding: 1rem;
transition: height 0.2s ease-in-out 0.2s, border 0.2s ease-in 0.2s;
}
.resultat-qr.active {
display: block;
border: 1px solid var(--dark);
height: 200px;
}
.info {
color: red;
text-align: center;
font: italic bold;
margin: 1rem 0;
}
.resultat-qr img {
display: block;
width: auto;
height: 100%;
margin: 0 auto;
}