Spaces:
Running
Running
.header-container { | |
display: flex ; | |
align-items: center ; | |
justify-content: center ; | |
position: relative ; | |
width: 100% ; | |
padding: 8px 0 ; | |
} | |
.logo-container { | |
position: absolute ; | |
left: 3% ; | |
top: 50% ; | |
transform: translateY(-50%) ; | |
} | |
.title-container { | |
flex: 1 ; | |
text-align: center ; | |
} | |
.disabled-image { | |
opacity: 0.5; | |
pointer-events: none; | |
filter: grayscale(100%); | |
} | |
/* Hide Gradio footer */ | |
footer { | |
display: none ; | |
} | |
.footer { | |
display: none ; | |
} | |
.gradio-container .footer { | |
display: none ; | |
} | |
.button-container { | |
display: flex; | |
align-items: center ; | |
justify-content: center; | |
gap: 8px; | |
} | |
.center-item { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
width: 100%; | |
} | |
.button-container .button { | |
margin: 0 ; | |
padding: 0.5em 1.2em ; | |
height: 40px ; | |
line-height: 40px ; | |
box-sizing: border-box ; | |
vertical-align: middle ; | |
font-size: 1rem ; | |
} | |
.footer-container { | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; | |
align-items: flex-start; | |
width: 100%; | |
padding: 15px 0 ; | |
gap: 32px; | |
} | |
.footer-col { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
text-align: center; | |
min-width: 0; | |
} | |
.footer-logo { | |
flex: 1; | |
align-items: flex-start; | |
text-align: left; | |
} | |
.footer-main { | |
flex: 3; /* 다른 컬럼보다 3배 더 넓게 */ | |
align-items: center; | |
text-align: center; | |
} | |
.footer-credits { | |
flex: 1; | |
align-items: flex-end; | |
text-align: right; | |
} | |
#tryoff-color { | |
background-image: linear-gradient(120deg, rgb(177, 162, 239) 0%, rgb(179, 172, 241) 20%, rgb(181, 182, 243) 30%, rgb(183, 192, 245) 40%, rgb(185, 202, 247) 50%, rgb(175, 212, 239) 60%, rgb(165, 222, 231) 70%, rgb(155, 232, 223) 80%, rgb(145, 235, 215) 90%, rgb(127, 215, 185) 100%); | |
} | |
#tryon-color { | |
background-image: linear-gradient(120deg, rgb(102, 205, 170) 0%, rgb(124, 215, 180) 15%, rgb(146, 225, 190) 30%, rgb(168, 235, 200) 45%, rgb(190, 235, 220) 60%, rgb(212, 235, 240) 75%, rgb(174, 225, 247) 90%, rgb(135, 206, 250) 100%); | |
} | |
#toggle-modify{ | |
padding: 17.4px; | |
} | |
/* Model & Garment Examples images */ | |
.gallery-item { | |
width: 90px ; | |
height: 120px ; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.gallery-item > * { | |
width: auto ; | |
height: auto ; | |
max-width: 90px ; | |
max-height: 120px ; | |
border: none ; | |
} | |
@media only screen and (min-width: 768px){ | |
#col-left { | |
margin: 0 auto; | |
max-width: 450px; | |
} | |
#col-mid { | |
margin: 0 auto; | |
max-width: 450px; | |
} | |
#col-right { | |
margin: 0 auto; | |
max-width: 450px; | |
} | |
} | |
@media only screen and (max-width: 768px){ | |
#col-left { | |
margin: 0 auto; | |
max-width: 300px; | |
} | |
#col-mid { | |
margin: 0 auto; | |
max-width: 300px; | |
} | |
#col-right { | |
margin: 0 auto; | |
max-width: 300px; | |
} | |
} | |
/* Hide the Garment Type column in Examples */ | |
.svelte-p5q82i table th:first-child, | |
.svelte-p5q82i table td:first-child { | |
display: none; | |
} | |
/* For Model Image because for some reason it is seperate */ | |
.container { | |
overflow: hidden; | |
width: 100% ; | |
height: auto ; | |
max-width: 90px ; | |
max-height: 120px ; | |
} | |
/* Dark mode styles */ | |
@media (prefers-color-scheme: dark) { | |
.toggle-label{ | |
color:white; | |
} | |
} |