Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -675,7 +675,7 @@ examples = [
|
|
675 |
css = """
|
676 |
/* 1) UI๋ฅผ ์ฒ์๋ถํฐ ๊ฐ์ฅ ๋๊ฒ (width 100%) ๊ณ ์ ํ์ฌ ํ์ */
|
677 |
.gradio-container {
|
678 |
-
background: rgba(255, 255, 255, 0.
|
679 |
padding: 30px 40px;
|
680 |
margin: 20px auto; /* ์์๋ ์ฌ๋ฐฑ๋ง ์ ์ง */
|
681 |
width: 100% !important;
|
@@ -685,37 +685,48 @@ css = """
|
|
685 |
width: 100% !important;
|
686 |
max-width: 100% !important;
|
687 |
}
|
688 |
-
/* 2) ๋ฐฐ๊ฒฝ์
|
689 |
body {
|
690 |
-
background:
|
691 |
margin: 0;
|
692 |
padding: 0;
|
693 |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
694 |
color: #333;
|
695 |
}
|
696 |
-
/*
|
697 |
button, .btn {
|
698 |
-
background:
|
699 |
border: none;
|
700 |
color: #333; /* ๊ธ์ ์ ๋ณด์ด๋๋ก ์ฝ๊ฐ ์งํ ๊ธ์จ */
|
701 |
padding: 12px 24px;
|
702 |
text-transform: uppercase;
|
703 |
font-weight: bold;
|
704 |
letter-spacing: 1px;
|
705 |
-
/* border-radius: 5px; - ๋ฌธ์ ๋ถ๋ถ ์ ๊ฑฐ */
|
706 |
cursor: pointer;
|
707 |
-
/* transition: transform 0.2s ease-in-out; - ํน์ ๋ชจ๋ฅผ ๋ฌธ์ ๋ถ๋ถ ์ ๊ฑฐ */
|
708 |
}
|
709 |
button:hover, .btn:hover {
|
710 |
-
|
711 |
-
background: #ff69b4 !important;
|
712 |
}
|
713 |
#examples_container {
|
714 |
margin: auto;
|
715 |
width: 90%;
|
|
|
716 |
}
|
717 |
#examples_row {
|
718 |
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
719 |
}
|
720 |
"""
|
721 |
|
|
|
675 |
css = """
|
676 |
/* 1) UI๋ฅผ ์ฒ์๋ถํฐ ๊ฐ์ฅ ๋๊ฒ (width 100%) ๊ณ ์ ํ์ฌ ํ์ */
|
677 |
.gradio-container {
|
678 |
+
background: rgba(255, 255, 255, 0.7); /* ๋ฐฐ๊ฒฝ ํฌ๋ช
๋ ์ฆ๊ฐ */
|
679 |
padding: 30px 40px;
|
680 |
margin: 20px auto; /* ์์๋ ์ฌ๋ฐฑ๋ง ์ ์ง */
|
681 |
width: 100% !important;
|
|
|
685 |
width: 100% !important;
|
686 |
max-width: 100% !important;
|
687 |
}
|
688 |
+
/* 2) ๋ฐฐ๊ฒฝ์ ์์ ํ ํฌ๋ช
ํ๊ฒ ๋ณ๊ฒฝ */
|
689 |
body {
|
690 |
+
background: transparent; /* ๋จ์ ๋์ ํฌ๋ช
๋ฐฐ๊ฒฝ ์ฌ์ฉ */
|
691 |
margin: 0;
|
692 |
padding: 0;
|
693 |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
694 |
color: #333;
|
695 |
}
|
696 |
+
/* ๋ฒํผ๋ ํฌ๋ช
ํ๊ฒ ๋ณ๊ฒฝ */
|
697 |
button, .btn {
|
698 |
+
background: rgba(255, 182, 193, 0.5) !important; /* ๋ฐฐ๊ฒฝ ํฌ๋ช
๋ ์ฆ๊ฐ */
|
699 |
border: none;
|
700 |
color: #333; /* ๊ธ์ ์ ๋ณด์ด๋๋ก ์ฝ๊ฐ ์งํ ๊ธ์จ */
|
701 |
padding: 12px 24px;
|
702 |
text-transform: uppercase;
|
703 |
font-weight: bold;
|
704 |
letter-spacing: 1px;
|
|
|
705 |
cursor: pointer;
|
|
|
706 |
}
|
707 |
button:hover, .btn:hover {
|
708 |
+
background: rgba(255, 105, 180, 0.5) !important; /* ํธ๋ฒ ์ํ์์๋ ํฌ๋ช
๋ ์ ์ง */
|
|
|
709 |
}
|
710 |
#examples_container {
|
711 |
margin: auto;
|
712 |
width: 90%;
|
713 |
+
background: rgba(255, 255, 255, 0.5); /* ์์ ์ปจํ
์ด๋ ๋ฐฐ๊ฒฝ ํฌ๋ช
ํ๊ฒ */
|
714 |
}
|
715 |
#examples_row {
|
716 |
justify-content: center;
|
717 |
+
background: transparent;
|
718 |
+
}
|
719 |
+
/* ์ฑํ
์ธํฐํ์ด์ค ์์๋ค๋ ํฌ๋ช
ํ๊ฒ */
|
720 |
+
.chatbox, .chatbot, .message {
|
721 |
+
background: rgba(255, 255, 255, 0.5) !important;
|
722 |
+
}
|
723 |
+
/* ์
๋ ฅ์ฐฝ ํฌ๋ช
๋ ์กฐ์ */
|
724 |
+
.multimodal-textbox {
|
725 |
+
background: rgba(255, 255, 255, 0.7) !important;
|
726 |
+
}
|
727 |
+
/* ๋ชจ๋ ์ปจํ
์ด๋ ์์์ ํฌ๋ช
๋ ์ ์ฉ */
|
728 |
+
.container, .wrap, .box, .panel {
|
729 |
+
background: rgba(255, 255, 255, 0.5) !important;
|
730 |
}
|
731 |
"""
|
732 |
|