Spaces:
Runtime error
Runtime error
:root { | |
--color-accent: #e20819 ; | |
} | |
:root { | |
--duration-factor: 1; | |
--ease-in: cubic-bezier(0.51,0,0.9,0.43); | |
--ease-back-in: cubic-bezier(0.38,-0.37,0.83,0.23); | |
--ease-out: cubic-bezier(0.35,0.91,0.3,0.99); | |
--ease-back-out: cubic-bezier(0.21,0.12,0.35,1.43); | |
--ease-in-out: cubic-bezier(0.75,0,0.21,0.99); | |
--ease-in-out-quart: cubic-bezier(0.77,0,0.175,1); | |
--in-view-delay: 0s; | |
--in-view-stagger-delay: 0s; | |
--in-view-stagger-amount: 0.2s; | |
--color-black: #000; | |
--color-accent-black: #1e281e; | |
--color-white: #fff; | |
--color-beige: #fffdf2; | |
--color-yellow: #ffd200; | |
--color-blue: #004081; | |
--color-accent-blue: #0064c8; | |
--color-bright-blue: #81e8ff; | |
--color-accent-red: #e62d1e; | |
--color-accent-pink: #ff3d9e | |
} | |
:root { | |
--total-width: 1392px; | |
--number-of-columns: 12; | |
--gutter-width: 16px; | |
--row-width: calc(var(--total-width) + var(--gutter-width) * 2); | |
--base-space: 8px; | |
--card-width: 86%; | |
} | |
@media screen and (min-width: 640px) { | |
:root { | |
--gutter-width:24px; | |
--card-width: 42%; | |
} | |
} | |
:root { | |
--font-body: "museo-sans",sans-serif; | |
--font-heading: "Tilt Warp", sans-serif; | |
--font-weight-body-regular: 500; | |
--font-weight-body-bold: 700; | |
font-size: 100%; | |
-webkit-text-size-adjust: none; | |
-moz-text-size-adjust: none; | |
text-size-adjust: none | |
} | |
gradio-app { | |
background: url("file=assets/hero-header-layer-1-large-up-2x.jpg") no-repeat ; | |
background-size: cover ; | |
background-attachment: fixed ; | |
background-position: center center ; | |
} | |
.gradio-container { | |
margin-top: 4rem ; | |
} | |
.wonder-card { | |
--border-radius: 15px; | |
--border-color: var(--color-accent-black); | |
backface-visibility: hidden ; | |
border: solid var(--border-width,4px) var(--border-color,var(--color-accent-black)) ; | |
border-radius: var(--border-radius) ; | |
box-shadow: var(--shadow-x,2px) var(--shadow-y,4px) 0 var(--shadow-size,2px) var(--border-color,var(--color-accent-black)) ; | |
overflow: hidden ; | |
transition: transform calc(var(--duration-factor) * .1s) ease-in-out ; | |
transition-property: transform,box-shadow ; | |
} | |
.form { | |
--border-radius: 15px; | |
--border-color: var(--color-accent-black); | |
width: var(--card-width) ; | |
align-self: center ; | |
backface-visibility: hidden ; | |
border: solid var(--border-width,4px) var(--border-color,var(--color-accent-black)) ; | |
border-radius: var(--border-radius) ; | |
box-shadow: var(--shadow-x,2px) var(--shadow-y,4px) 0 var(--shadow-size,2px) var(--border-color,var(--color-accent-black)) ; | |
overflow: hidden ; | |
transition: transform calc(var(--duration-factor) * .1s) ease-in-out ; | |
transition-property: transform,box-shadow ; | |
} | |
#input_text { | |
display: flex; | |
background: #ffffff ; | |
height: 12rem ; | |
} | |
#input_text label { | |
margin-top: -2.25rem ; | |
display: flex; | |
width: 100%; | |
align-content: center; | |
flex-direction: column; | |
flex-wrap: wrap; | |
justify-content: center; | |
align-items: center; | |
} | |
#input_text label span { | |
font-family: var(--font-heading) ; | |
font-size: 1.225rem; | |
} | |
#input_text label textarea { | |
width: 80%; | |
} | |
.button { | |
font-size: 1.625rem ; | |
font-family: var(--font-heading) ; | |
font-style: normal ; | |
font-weight: 900 ; | |
color: var(--color-accent-black) ; | |
background: var(--color-yellow) ; | |
margin-top: -36px ; | |
width: fit-content ; | |
height: fit-content ; | |
align-self: center ; | |
/* padding: 16px 28px !important; */ | |
z-index: 10 ; | |
} | |
.button:hover { | |
--shadow-y: 6px ; | |
--shadow-x: 4px ; | |
background: #f5a200 ; | |
transform: translate(-2px,-2px) ; | |
} | |
#talking_flower_pic { | |
display: flex; | |
align-self: center ; | |
width: var(--card-width) ; | |
object-fit: cover ; | |
object-position: center ; | |
justify-content: flex-end; | |
} | |
#talking_flower_pic img { | |
height: 10rem; | |
} | |
#audio_output { | |
align-self: center ; | |
width: var(--card-width) ; | |
/* background: #4fd644 !important; */ | |
} | |
#audio_output .icon-buttons { | |
--border-radius: 15px; | |
--border-color: var( | |
--color-accent-black); | |
backface-visibility: hidden ; | |
border: solid var(--border-width,3px) var(--border-color,var(--color-accent-black)) ; | |
border-radius: var(--border-radius) ; | |
box-shadow: var(--shadow-x,0.5px) var(--shadow-y,0.5px) 0 var(--shadow-size,0.5px) var(--border-color,var(--color-accent-black)) ; | |
overflow: hidden ; | |
transition: transform calc(var(--duration-factor) * .1s) ease-in-out ; | |
transition-property: transform,box-shadow ; | |
} | |
#audio_output .icon-buttons:hover { | |
--shadow-y: 1.5px ; | |
--shadow-x: 1px ; | |
transform: translate(-1px,-1px) ; | |
} | |
/* #audio_output .controls svg { | |
color: var(--color-white) | |
} */ | |
footer { | |
display: none ; | |
} | |