Spaces:
Sleeping

byte-vortex commited on
Commit
c6a952d
·
verified ·
1 Parent(s): 2a39214

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/styles.py +73 -0
ui/styles.py CHANGED
@@ -709,3 +709,76 @@ button[variant="primary"] {
709
  }
710
  }
711
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  }
710
  }
711
  """
712
+
713
+ /* --- Footer Base Layout --- */
714
+ .myco-hero.footer-variant {
715
+ position: relative; /* REQUIRED: Anchors the absolute moon inside the footer */
716
+ width: 100%;
717
+ padding: 4rem 1.5rem 2rem 1.5rem;
718
+ background: #0b0f19; /* Dark midnight forest tone */
719
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
720
+ text-align: center;
721
+ overflow: hidden; /* Keeps glowing shadows inside the container bounds */
722
+ }
723
+
724
+ .myco-footer-content {
725
+ max-width: 600px;
726
+ margin: 0 auto;
727
+ display: flex;
728
+ flex-direction: column;
729
+ align-items: center;
730
+ gap: 1.25rem;
731
+ }
732
+
733
+ .footer-hero-img {
734
+ max-width: 120px;
735
+ height: auto;
736
+ display: block;
737
+ }
738
+
739
+ /* --- Gentle Moon Component & Animation --- */
740
+ .home-moon {
741
+ position: absolute;
742
+ top: 0.5rem; /* Safe breathing room from the top edge */
743
+ right: 0.5rem; /* Safe breathing room from the right edge */
744
+ font-size: clamp(1.5rem, 4vw, 2.5rem);
745
+ animation: moon-glow 6s ease-in-out infinite;
746
+ filter: drop-shadow(0 0 12px rgba(255, 251, 198, 0.75));
747
+ user-select: none; /* Prevents text selection highlight glitches */
748
+ }
749
+
750
+ @keyframes moon-glow {
751
+ 0%, 100% {
752
+ transform: scale(1);
753
+ filter: drop-shadow(0 0 10px rgba(255, 251, 198, 0.6));
754
+ opacity: 0.85;
755
+ }
756
+ 50% {
757
+ transform: scale(1.03); /* Tiny breathing swell */
758
+ filter: drop-shadow(0 0 22px rgba(255, 251, 198, 0.95)); /* Glowing mist expand */
759
+ opacity: 1;
760
+ }
761
+ }
762
+
763
+ /* --- Links & Credits --- */
764
+ .myco-footer-nav {
765
+ display: flex;
766
+ gap: 1.5rem;
767
+ margin-top: 1rem;
768
+ }
769
+
770
+ .footer-link {
771
+ color: rgba(255, 255, 255, 0.6);
772
+ text-decoration: none;
773
+ font-size: 0.9rem;
774
+ transition: color 0.2s ease;
775
+ }
776
+
777
+ .footer-link:hover {
778
+ color: #fffbc6; /* Changes to match the warm moon glow on hover */
779
+ }
780
+
781
+ .myco-copyright {
782
+ color: rgba(255, 255, 255, 0.3);
783
+ margin-top: 1rem;
784
+ }