-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (89 loc) · 1.67 KB
/
styles.css
File metadata and controls
102 lines (89 loc) · 1.67 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
body {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
margin: 0;
padding: 0;
background-color: #181818;
color: #fff;
}
.container {
max-width: 80%;
margin: 20px auto;
margin-top: 100px;
}
h1 {
font-size: 50px;
}
input[type="file"],
#clearButton {
width: 40%;
margin: 10px 1%;
padding: 10px;
font-size: 16px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #444;
}
#fileInput {
border: 1px solid #ddd;
background-color: #82ed82;
color: #000;
}
#fileInput:hover {
background-color: #95eb95;
}
input[type="file"]::-webkit-file-upload-button {
background-color: #444;
color: #fff;
border: none;
padding: 10px;
border-radius: 4px;
}
#clearButton {
background-color: #ff5252;
cursor: pointer;
color: #fff;
height: 60px;
}
#clearButton:hover {
background-color: #ff6464;
}
button:hover {
background-color: #666;
}
#result {
margin-top: 20px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 10px;
padding: 0 10px;
}
p {
margin: 0;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
background-color: #333;
color: #fff;
display: flex;
align-items: center; /* Vertically center text */
justify-content: center; /* Horizontally center text */
text-align: center; /* Center text horizontally */
overflow: hidden; /* Ensure no overflow */
}
p:hover {
background-color: #444;
}
#toast {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #333;
color: #fff;
padding: 10px;
border-radius: 5px;
opacity: 0;
transition: opacity 0.5s;
}