Skip to content

Commit 8b264eb

Browse files
committed
update style.css
1 parent 39ef828 commit 8b264eb

File tree

1 file changed

+44
-50
lines changed

1 file changed

+44
-50
lines changed

QR-CODE-Generator/style.css

Lines changed: 44 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,29 @@
1-
*{
1+
* {
22
margin: 0;
33
padding: 0;
44
box-sizing: border-box;
5-
}
6-
7-
body{
5+
}
6+
7+
body {
88
width: 100%;
99
height: 100vh;
10-
background:linear-gradient(to right top,#ff0f7b,#f89b29);
10+
background: linear-gradient(to right top, #ff0f7b, #f89b29);
1111
display: flex;
1212
flex-direction: column;
1313
justify-content: center;
1414
align-items: center;
15-
}
16-
17-
h1 {
15+
}
16+
17+
h1 {
1818
font-size: 55px;
19-
text-shadow: 0 1px 0 #ccc,
20-
0 2px 0 #c9c9c9,
21-
0 3px 0 #bbb,
22-
0 4px 0 #b9b9b9,
23-
0 5px 0 #aaa,
24-
0 6px 1px rgba(0,0,0,.1),
25-
0 0 5px rgba(0,0,0,.1),
26-
0 1px 3px rgba(0,0,0,.3),
27-
0 3px 5px rgba(0,0,0,.2),
28-
0 5px 10px rgba(0,0,0,.25),
29-
0 10px 10px rgba(0,0,0,.2),
30-
0 20px 20px rgba(0,0,0,.15);
19+
text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9,
20+
0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1),
21+
0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2),
22+
0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2),
23+
0 20px 20px rgba(0, 0, 0, 0.15);
3124
}
32-
33-
.main {
25+
26+
.main {
3427
width: 25%;
3528
height: 70%;
3629
padding: 50px 15px;
@@ -39,47 +32,46 @@ h1 {
3932
align-items: center;
4033
flex-direction: column;
4134
background: #fff;
42-
box-shadow: 0 10px 25px -10px rgba(0,0,0,0.5);
35+
box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
4336
border-radius: 5px;
44-
margin-top: 25px;
37+
margin-top: 25px;
4538
margin-bottom: 40px;
46-
}
47-
48-
.main .input {
39+
}
40+
41+
.main .input {
4942
width: 90%;
5043
padding: 8px 25px;
5144
border: 3px solid #9e9e9e;
5245
outline: none;
5346
margin: 15px 0;
54-
}
55-
.main .input:focus {
47+
}
48+
.main .input:focus {
5649
border: 3px solid #f89b29;
57-
}
58-
.btn ,.input {
59-
font-size:1.1rem;
50+
}
51+
.btn,
52+
.input {
53+
font-size: 1.1rem;
6054
border-radius: 5px;
61-
}
62-
.main .btn {
55+
}
56+
.main .btn {
6357
width: 90%;
6458
padding: 12px 0;
6559
outline: none;
66-
border:none;
60+
border: none;
6761
border-radius: 5px;
6862
background: #f89b29;
6963
color: #fff;
7064
transition: 0.3s;
71-
}
72-
.main .code {
65+
}
66+
.main .code {
7367
margin: 10px 0;
74-
}
75-
76-
77-
78-
.main .btn:hover {
68+
}
69+
70+
.main .btn:hover {
7971
box-shadow: 0 10px 25px -10px #f89b29;
80-
}
81-
82-
#toast {
72+
}
73+
74+
#toast {
8375
position: absolute;
8476
bottom: 0;
8577
border-radius: 5px;
@@ -89,12 +81,14 @@ h1 {
8981
visibility: hidden;
9082
box-shadow: 0 10px 25px -10px #07f49e;
9183
transition: 0.3s;
92-
84+
9385
font-size: 20px;
94-
}
95-
96-
#toast.show {
86+
}
87+
88+
#toast.show {
9789
visibility: visible;
9890
opacity: 1;
9991
bottom: 50px;
100-
}
92+
}
93+
94+

0 commit comments

Comments
 (0)