-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (55 loc) · 1.17 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
body {
text-align: center;
margin-top: 50px;
background-color: #f2f2f2;
}
.container {
font-family: "Fira Code", sans-serif;
border: 1px solid #ccc;
padding: 20px;
border-radius: 10px;
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 500px;
margin: 0 auto;
}
.custom-file-upload {
display: inline-block;
padding: 10px 20px;
background-color: #4CAF50;
color: #ffffff;
cursor: pointer;
border-radius: 4px;
border: none;
font-size: 16px;
margin-top: 20px;
transition: background-color 0.3s ease;
}
.custom-file-upload:hover {
background-color: #45a049;
}
#imageInput {
display: none;
}
#compressButton {
display: inline-block;
padding: 10px 20px;
background-color: #007BFF;
color: #ffffff;
cursor: pointer;
border-radius: 4px;
border: none;
font-size: 16px;
margin-top: 20px;
transition: background-color 0.3s ease;
}
#compressButton:hover {
background-color: #0056b3;
}
#preview {
max-width: 100%;
margin-top: 20px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}