jonathan@tuxmani.fr
Add hf token support from UI
f8d91ab
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #121212;
color: #e0e0e0;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 90%;
max-width: 500px;
background-color: #1e1e1e;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
overflow: hidden;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 30px;
}
h1 {
font-size: 2rem;
color: #ff9900; /* Orange Amazon, putain de classe */
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.token-section {
margin-bottom: 30px;
text-align: center;
}
input[type="text"] {
width: 100%;
padding: 12px 16px;
margin-bottom: 15px;
background-color: #2d2d2d;
border: 1px solid #444;
border-radius: 8px;
color: #fff;
font-size: 1rem;
}
input[type="text"]::placeholder {
color: #888;
}
.btn {
padding: 12px 24px;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
margin: 10px 5px;
}
.btn.primary {
background-color: #ff9900;
color: #000;
}
.btn.primary:hover {
background-color: #ffb84d;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(255, 153, 0, 0.4);
}
.preview-container {
position: relative;
width: 100%;
height: 300px;
background-color: #000;
border-radius: 12px;
overflow: hidden;
margin-bottom: 20px;
border: 2px solid #333;
}
#preview {
width: 100%;
height: 100%;
object-fit: cover;
display: none;
}
.no-image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 1.2rem;
color: #666;
}
.controls {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 20px;
}
.status {
text-align: center;
padding: 10px;
font-size: 1.1rem;
min-height: 30px;
}
#amazon_link {
margin-top: 20px;
font-weight: bold;
word-break: break-all;
}
#amazon_link a {
color: #ff9900;
text-decoration: none;
}
#amazon_link a:hover {
text-decoration: underline;
}
@media (max-width: 480px) {
.container {
padding: 15px;
}
h1 {
font-size: 1.8rem;
}
.btn {
width: 100%;
margin: 8px 0;
}
.controls {
flex-direction: column;
}
}