Voost / styles.css
ryan
Initial commit
c68e323
.header-container {
display: flex !important;
align-items: center !important;
justify-content: center !important;
position: relative !important;
width: 100% !important;
padding: 8px 0 !important;
}
.logo-container {
position: absolute !important;
left: 3% !important;
top: 50% !important;
transform: translateY(-50%) !important;
}
.title-container {
flex: 1 !important;
text-align: center !important;
}
.disabled-image {
opacity: 0.5;
pointer-events: none;
filter: grayscale(100%);
}
/* Hide Gradio footer */
footer {
display: none !important;
}
.footer {
display: none !important;
}
.gradio-container .footer {
display: none !important;
}
.button-container {
display: flex;
align-items: center !important;
justify-content: center;
gap: 8px;
}
.center-item {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.button-container .button {
margin: 0 !important;
padding: 0.5em 1.2em !important;
height: 40px !important;
line-height: 40px !important;
box-sizing: border-box !important;
vertical-align: middle !important;
font-size: 1rem !important;
}
.footer-container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
width: 100%;
padding: 15px 0 !important;
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 !important;
height: 120px !important;
display: flex;
justify-content: center;
align-items: center;
}
.gallery-item > * {
width: auto !important;
height: auto !important;
max-width: 90px !important;
max-height: 120px !important;
border: none !important;
}
@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% !important;
height: auto !important;
max-width: 90px !important;
max-height: 120px !important;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
.toggle-label{
color:white;
}
}