-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (100 loc) · 2.4 KB
/
style.css
File metadata and controls
117 lines (100 loc) · 2.4 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@700&family=Montserrat:wght@700&family=Playfair+Display+SC:wght@900&family=Poppins:wght@600&family=Roboto+Slab:wght@500&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
align-items: center;
justify-content: center;
background: rgb(6, 6, 39);
min-height: 100vh;
min-width: 100vw;
font-family: 'Arvo', serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Playfair Display SC', serif;
font-family: 'Poppins', sans-serif;
font-family: 'Roboto Slab', serif;
}
.container{
background-color: skyblue;
padding: 18px 28px;
border-radius: 20px;
line-height: 30px;
transition: width 2s;
transition-timing-function: ease-in-out;
height: 260px;
transition: height 0.2s ease;
}
.container.active{
height: 530px;
}
.container:hover{
box-shadow: 3px 4px 10px 3px yellow;
}
.mainheading{
margin-top: 5px;
letter-spacing: 2px;
padding-left: 35px;
}
.subheading{
margin-top: 5px;
opacity: 0.7;
font-size: 16px;
}
#input_from_users{
margin-top: 15px;
width: 100%;
height: 45px;
border-radius: 15px;
padding-left: 18px;
transition: width 2s;
transition-timing-function: ease-in-out;
outline: none;
}
#input_from_users:hover{
box-shadow: 2px 2px 6px 3px grey;
}
#generate_button{
cursor: pointer;
margin-top: 15px;
width: 100%;
height: 35px;
border-radius: 60px;
background-color: lightgray;
outline: none;
transition: width 2s;
transition-timing-function: ease-in-out;
}
#generate_button:hover{
background-color: green;
color: white;
box-shadow: 2px 2px 6px 3px rgb(0, 9, 0);
}
.qr_code img{
margin-top: 35px;
}
.qr_code{
display: flex;
opacity: 0;
pointer-events: none;
align-items: center;
justify-content: center;
margin-top: 15px;
border: 2px solid blue;
padding-bottom: 33px;
margin-bottom: 15px;
border-radius: 20px;
border-style: dashed;
transition: width 2s;
transition-timing-function: ease-in-out;
}
.container.active .qr_code{
opacity: 1;
pointer-events: auto;
transition: opacity 0.5s 0.05s ease;
}
.qr_code:hover{
box-shadow: 2px 2px 6px 3px rgb(0, 9, 0);
}