File size: 2,820 Bytes
f01c86d |
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
font-family: 'Roboto', Arial, sans-serif;
background: #f4f6fa;
margin: 0;
padding: 0;
}
.header {
background: linear-gradient(90deg, #003366 60%, #e30613 100%);
color: #fff;
padding: 24px 0 12px 0;
text-align: center;
box-shadow: 0 2px 8px #00336622;
}
.logo {
max-width: 180px;
margin-bottom: 10px;
}
@media (max-width: 600px) {
.logo {
max-width: 90px !important;
right: 10px !important;
top: 10px !important;
}
.header h2 { font-size: 1.1em; }
}
.container {
max-width: 950px;
margin: 40px auto 0 auto;
background: #fff;
padding: 32px 32px 24px 32px;
border-radius: 12px;
box-shadow: 0 4px 24px #00336622;
}
h2, h3, h4 {
color: #003366;
margin-top: 0;
}
form {
margin-bottom: 24px;
display: flex;
flex-direction: column;
align-items: center;
}
input[type="file"] {
margin-bottom: 16px;
font-size: 16px;
}
button {
background: #e30613;
color: #fff;
border: none;
padding: 12px 32px;
border-radius: 6px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
transition: background 0.2s;
margin-bottom: 10px;
}
button:hover {
background: #003366;
}
.error {
color: #e30613;
margin-bottom: 16px;
font-weight: 700;
}
.images-row {
display: flex;
gap: 32px;
margin-bottom: 24px;
justify-content: center;
flex-wrap: wrap;
}
.result-img {
max-width: 260px;
border: 2px solid #e30613;
border-radius: 8px;
box-shadow: 0 2px 8px #00336622;
margin-bottom: 8px;
}
.result-label {
text-align: center;
font-weight: 700;
color: #003366;
margin-bottom: 8px;
}
.download-btn {
display: inline-block;
background: #003366;
color: #fff;
padding: 8px 18px;
border-radius: 5px;
text-decoration: none;
font-weight: 700;
margin-right: 10px;
margin-bottom: 10px;
transition: background 0.2s;
}
.download-btn:hover {
background: #e30613;
}
pre.json-output {
background: #f0f0f0;
padding: 16px;
border-radius: 6px;
font-size: 15px;
overflow-x: auto;
color: #222;
margin-bottom: 12px;
box-shadow: 0 1px 4px #00336611;
}
.copy-btn {
background: #e30613;
color: #fff;
border: none;
border-radius: 4px;
padding: 6px 14px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
margin-bottom: 10px;
float: right;
}
.copy-btn:hover {
background: #003366;
}
.footer {
text-align: center;
color: #888;
font-size: 15px;
margin: 40px 0 10px 0;
}
@media (max-width: 900px) {
.container { padding: 16px; }
.images-row { gap: 12px; }
.result-img { max-width: 98vw; }
}
|