-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
72 lines (64 loc) · 1.22 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
@import url("https://fonts.googleapis.com/css2?family=SUSE:wght@100..800&display=swap");
* {
margin: 0;
padding: 0;
/* font-family: "poppins"; */
font-family: "SUSE", sans-serif;
box-sizing: border-box;
}
body {
background-color: #262a30;
}
.container {
width: 400px;
padding: 40px;
border-radius: 10px;
background-color: #fefefe;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: inset 0 0 80px #4c59f6;
}
.container p {
font-weight: 800;
font-size: 30px;
text-shadow: 2px 2px 8px #4c59f6;
}
.container input {
width: 100%;
height: 30px;
border: 3px solid black;
border-radius: 20px;
padding: 10px;
margin: 15px 0;
}
button {
background-color: #4c59f6;
color: white;
border-radius: 10px;
width: 100%;
height: 40px;
font-weight: 800;
cursor: pointer;
transition: 0.2s;
}
button:hover {
background-color: #242b76;
}
#imgBox {
width: 100px;
border-radius: 6px;
max-height: 0;
overflow: hidden;
transition: max-height 1s;
}
#imgBox img {
width: 100%;
padding: 10px;
}
#imgBox.show-img {
max-height: 300px;
margin: 10px auto;
border: 1px solid black;
}