Spaces:
Running
Running
Commit
·
9e0762a
1
Parent(s):
cdc26e2
feat: enhance Discord community button styling in app.py
Browse files
app.py
CHANGED
@@ -729,6 +729,24 @@ css = '''
|
|
729 |
box-shadow: 0 6px 12px rgba(0,0,0,0.4);
|
730 |
background-color: #f2f2f2;
|
731 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
732 |
.discord-feature {
|
733 |
background-color: #2a2a2a;
|
734 |
border-left: 4px solid #7289DA;
|
@@ -891,7 +909,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="indigo", neutral_hue="
|
|
891 |
<a href="https://app.remade.ai?utm_source=Huggingface&utm_medium=Social&utm_campaign=hugginface_space&utm_content=canvas_effects" target="_blank">Try Remade Canvas</a>
|
892 |
<div style="margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.7);">
|
893 |
<p style="font-size: 0.9em; margin-bottom: 10px;">Join our community for updates and tips:</p>
|
894 |
-
<a href="https://remade.ai/join-discord?utm_source=Huggingface&utm_medium=Social&utm_campaign=hugginface_space&utm_content=canvas_effects" target="_blank"
|
895 |
</div>
|
896 |
</div>
|
897 |
"""
|
|
|
729 |
box-shadow: 0 6px 12px rgba(0,0,0,0.4);
|
730 |
background-color: #f2f2f2;
|
731 |
}
|
732 |
+
.discord-banner .discord-community-btn {
|
733 |
+
background-color: #ffffff !important;
|
734 |
+
color: #5865F2 !important;
|
735 |
+
opacity: 1 !important;
|
736 |
+
font-weight: bold;
|
737 |
+
font-size: 0.9em;
|
738 |
+
padding: 8px 16px;
|
739 |
+
border-radius: 20px;
|
740 |
+
text-decoration: none;
|
741 |
+
display: inline-block;
|
742 |
+
transition: all 0.3s ease;
|
743 |
+
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
|
744 |
+
}
|
745 |
+
.discord-banner .discord-community-btn:hover {
|
746 |
+
background-color: #f8f8f8 !important;
|
747 |
+
transform: translateY(-2px);
|
748 |
+
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
749 |
+
}
|
750 |
.discord-feature {
|
751 |
background-color: #2a2a2a;
|
752 |
border-left: 4px solid #7289DA;
|
|
|
909 |
<a href="https://app.remade.ai?utm_source=Huggingface&utm_medium=Social&utm_campaign=hugginface_space&utm_content=canvas_effects" target="_blank">Try Remade Canvas</a>
|
910 |
<div style="margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.7);">
|
911 |
<p style="font-size: 0.9em; margin-bottom: 10px;">Join our community for updates and tips:</p>
|
912 |
+
<a href="https://remade.ai/join-discord?utm_source=Huggingface&utm_medium=Social&utm_campaign=hugginface_space&utm_content=canvas_effects" target="_blank" class="discord-community-btn">Discord Community</a>
|
913 |
</div>
|
914 |
</div>
|
915 |
"""
|