Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/styles.py +8 -26
ui/styles.py
CHANGED
|
@@ -875,7 +875,7 @@ div.gradio-html { background: transparent !important; }
|
|
| 875 |
}
|
| 876 |
|
| 877 |
/* Magic Mushroom */
|
| 878 |
-
/*
|
| 879 |
#narrative-card {
|
| 880 |
position: absolute;
|
| 881 |
top: 1.5rem;
|
|
@@ -883,48 +883,30 @@ div.gradio-html { background: transparent !important; }
|
|
| 883 |
z-index: 10;
|
| 884 |
max-width: 320px;
|
| 885 |
|
| 886 |
-
/*
|
| 887 |
background: linear-gradient(
|
| 888 |
135deg,
|
| 889 |
-
rgba(
|
| 890 |
-
rgba(
|
| 891 |
) !important;
|
| 892 |
|
|
|
|
| 893 |
backdrop-filter: blur(8px) !important;
|
| 894 |
-webkit-backdrop-filter: blur(8px) !important;
|
| 895 |
|
| 896 |
padding: 1.2rem;
|
| 897 |
border-radius: 12px;
|
| 898 |
-
border: 1px solid rgba(
|
| 899 |
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.
|
| 900 |
-
|
| 901 |
-
display: flex;
|
| 902 |
-
flex-direction: column;
|
| 903 |
-
gap: 0.75rem;
|
| 904 |
-
|
| 905 |
-
transition: filter 0.3s ease;
|
| 906 |
}
|
| 907 |
|
| 908 |
-
/*
|
| 909 |
-
#narrative-card:hover {
|
| 910 |
-
filter: brightness(1.2);
|
| 911 |
-
}
|
| 912 |
-
|
| 913 |
-
/* Forces ALL text inside the card to be solid white */
|
| 914 |
#narrative-card,
|
| 915 |
#narrative-card p,
|
| 916 |
#narrative-card span,
|
| 917 |
#narrative-card sub,
|
| 918 |
-
#narrative-card .prose,
|
| 919 |
#narrative-card * {
|
| 920 |
color: #ffffff !important;
|
| 921 |
}
|
| 922 |
|
| 923 |
-
/* Keeps the attribution white, but gives it a subtle text shadow for readability */
|
| 924 |
-
#ai-attribution {
|
| 925 |
-
font-size: 0.85rem;
|
| 926 |
-
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
| 927 |
-
opacity: 0.7;
|
| 928 |
-
}
|
| 929 |
-
|
| 930 |
"""
|
|
|
|
| 875 |
}
|
| 876 |
|
| 877 |
/* Magic Mushroom */
|
| 878 |
+
/* Floating Narrative Card on the Upper Left Side */
|
| 879 |
#narrative-card {
|
| 880 |
position: absolute;
|
| 881 |
top: 1.5rem;
|
|
|
|
| 883 |
z-index: 10;
|
| 884 |
max-width: 320px;
|
| 885 |
|
| 886 |
+
/* Clean Navy Blue Gradient */
|
| 887 |
background: linear-gradient(
|
| 888 |
135deg,
|
| 889 |
+
rgba(15, 32, 67, 0.65) 0%, /* Rich Deep Navy */
|
| 890 |
+
rgba(27, 49, 93, 0.45) 100% /* Slightly lighter Midnight Blue */
|
| 891 |
) !important;
|
| 892 |
|
| 893 |
+
/* Frosted Glass Effect */
|
| 894 |
backdrop-filter: blur(8px) !important;
|
| 895 |
-webkit-backdrop-filter: blur(8px) !important;
|
| 896 |
|
| 897 |
padding: 1.2rem;
|
| 898 |
border-radius: 12px;
|
| 899 |
+
border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Soft white border for contrast */
|
| 900 |
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 901 |
}
|
| 902 |
|
| 903 |
+
/* Force ALL text inside the card to be crisp white */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 904 |
#narrative-card,
|
| 905 |
#narrative-card p,
|
| 906 |
#narrative-card span,
|
| 907 |
#narrative-card sub,
|
|
|
|
| 908 |
#narrative-card * {
|
| 909 |
color: #ffffff !important;
|
| 910 |
}
|
| 911 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 912 |
"""
|