|
a |
|
b/static/styles.css |
|
|
1 |
body { |
|
|
2 |
font-family: Arial, sans-serif; |
|
|
3 |
background-color: #f7f9fc; |
|
|
4 |
color: #333; |
|
|
5 |
margin: 0; |
|
|
6 |
padding: 0; |
|
|
7 |
text-align: center; |
|
|
8 |
} |
|
|
9 |
|
|
|
10 |
.container { |
|
|
11 |
max-width: 800px; |
|
|
12 |
margin: 15px auto; |
|
|
13 |
padding: 20px; |
|
|
14 |
background: #ffffff; |
|
|
15 |
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); |
|
|
16 |
border-radius: 10px; |
|
|
17 |
} |
|
|
18 |
.container1 { |
|
|
19 |
max-width: 800px; |
|
|
20 |
max-height: 200px; |
|
|
21 |
margin: 15px auto; |
|
|
22 |
padding: 20px; |
|
|
23 |
background: #ffffff; |
|
|
24 |
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); |
|
|
25 |
border-radius: 10px; |
|
|
26 |
} |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
h1 { |
|
|
30 |
color: #0056b3; |
|
|
31 |
margin-bottom: 20px; |
|
|
32 |
} |
|
|
33 |
|
|
|
34 |
form { |
|
|
35 |
margin: 20px auto; |
|
|
36 |
display: flex; |
|
|
37 |
flex-direction: column; |
|
|
38 |
align-items: center; |
|
|
39 |
} |
|
|
40 |
|
|
|
41 |
.upload-box { |
|
|
42 |
margin: 20px auto; |
|
|
43 |
} |
|
|
44 |
|
|
|
45 |
input[type="file"] { |
|
|
46 |
display: inline-block; |
|
|
47 |
margin: 10px 0; |
|
|
48 |
font-size: 16px; |
|
|
49 |
} |
|
|
50 |
|
|
|
51 |
button { |
|
|
52 |
background-color: #ff6961; |
|
|
53 |
color: white; |
|
|
54 |
padding: 10px 20px; |
|
|
55 |
border: none; |
|
|
56 |
border-radius: 5px; |
|
|
57 |
font-size: 16px; |
|
|
58 |
cursor: pointer; |
|
|
59 |
transition: background-color 0.3s ease; |
|
|
60 |
} |
|
|
61 |
|
|
|
62 |
button:hover { |
|
|
63 |
background-color: #ff5a50; |
|
|
64 |
} |
|
|
65 |
|
|
|
66 |
.preview-box { |
|
|
67 |
margin-top: 20px; |
|
|
68 |
} |
|
|
69 |
|
|
|
70 |
.preview-box h2 { |
|
|
71 |
color: #333; |
|
|
72 |
} |
|
|
73 |
|
|
|
74 |
img { |
|
|
75 |
max-width: 100%; |
|
|
76 |
height: auto; |
|
|
77 |
margin: 10px 0; |
|
|
78 |
border-radius: 8px; |
|
|
79 |
} |
|
|
80 |
|
|
|
81 |
.result { |
|
|
82 |
margin-top: 30px; |
|
|
83 |
} |
|
|
84 |
|
|
|
85 |
table { |
|
|
86 |
margin: 20px auto; |
|
|
87 |
border-collapse: collapse; |
|
|
88 |
width: 100%; |
|
|
89 |
} |
|
|
90 |
|
|
|
91 |
th, td { |
|
|
92 |
border: 1px solid #ddd; |
|
|
93 |
padding: 12px; |
|
|
94 |
text-align: center; |
|
|
95 |
font-size: 16px; |
|
|
96 |
} |
|
|
97 |
|
|
|
98 |
th { |
|
|
99 |
background-color: #e0f7fa; |
|
|
100 |
color: #0056b3; |
|
|
101 |
font-weight: bold; |
|
|
102 |
} |
|
|
103 |
|
|
|
104 |
td img { |
|
|
105 |
max-width: 100px; |
|
|
106 |
height: auto; |
|
|
107 |
border-radius: 5px; |
|
|
108 |
} |
|
|
109 |
|
|
|
110 |
h4{ |
|
|
111 |
color: #ff5a50; |
|
|
112 |
} |
|
|
113 |
|