:root { --color-accent: #e20819 !important; } :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: 95%; --voice-flex: 1; } @media screen and (min-width: 640px) { :root { --gutter-width:24px; --card-width: 42%; --voice-flex: 0.8; } } :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 } /* ------------ DEFINE END ------------ */ gradio-app { background: url("file=assets/hero-header-layer-1-large-up-2x.jpg") no-repeat !important; background-size: cover !important; background-attachment: fixed !important; background-position: center center !important; } /* Character Area */ #character_area { width: var(--card-width) !important; align-self: center; } #character_area .pending { opacity: 1 !important; } #character_area div.wrap { display: none; } .character { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: flex-start; } .text-bubble-content { --color: #fff; background: var(--color) !important; border-radius: 1rem; padding: 0.5rem 1rem !important; box-shadow: #00000078 0.1rem 0.1rem 0.75rem 0px; text-align: center; } .text-bubble-content::after { border: 0.75em solid transparent; border-top: 1.5em solid #ffffff; content: ""; position: absolute; left: calc(100% - 12.1em); top: calc(100% - 9.75em); transform: rotate(-45deg); } #talking_flower_pic { display: flex; align-self: center !important; object-fit: cover !important; object-position: center !important; justify-content: flex-end; height: 10rem; } #talking_flower_pic img { height: 10rem; } /* Tools Area */ #tools_area { width: var(--card-width) !important; align-self: center; } #tools_area .form { --border-width: 3px; --shadow-size: 1px; --shadow-y: 1px; --shadow-x: 1px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; align-items: center; } /* #api_key_input { flex-grow: 1; } #voice_list { flex-grow: var(--voice-flex); } */ #api_key_input input { margin: 0 !important; padding: 6px 12px 6px 12px; } #api_key_input label > span { font-family: var(--font-heading) !important; margin: 0; width: 5rem; } #api_key_input label, #voice_list label { display: flex; align-items: center; flex-wrap: nowrap; align-content: center; justify-content: center; flex-direction: row; } #voice_list label > span { font-family: var(--font-heading) !important; margin: 0; width: 7rem; } #voice_list input { width: 4rem !important; margin: 0 !important; } #voice_list .icon-wrap { margin: 0 !important; } /* Tabs */ .tabs { width: var(--card-width) !important; align-self: center; } .tabs .tab-nav { font-family: var(--font-heading); display: flex; position: relative; flex-wrap: wrap; border-bottom: 0px !important; margin-bottom: -1.5rem; z-index: 100; } .tabs .tab-nav button { --border-color: var(--color-accent-black); font-size: 1.1rem !important; background: #b787d2; color: #fefdff; backface-visibility: hidden !important; border: solid var(--border-width,3px) var(--border-color,var(--color-accent-black)) !important; border-radius: 1rem 0.1rem !important; /* box-shadow: var(--shadow-x,1px) var(--shadow-y,2px) 0 var(--shadow-size,1px) var(--border-color,var(--color-accent-black)) !important; */ overflow: hidden !important; transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important; transition-property: transform,box-shadow !important; margin-right: 0.75rem; } .tabs .tab-nav button:hover { --shadow-y: 3px !important; --shadow-x: 2px !important; transform: translate(-1px,-1px) !important; } .tabs .tabitem { border: 0px !important; } .tabs .selected { --shadow-y: 3px !important; --shadow-x: 2px !important; box-shadow: var(--shadow-x,1px) var(--shadow-y,2px) 0 var(--shadow-size,1px) var(--border-color,var(--color-accent-black)) !important; transform: translate(-1px,-1px) !important; } #tab-speak-button { background: var(--color-yellow); color: var(--color-accent-black); } #tab-chat-button { background: #2263c6; color: var(--color-white); } #tab-mimic-button { background: #fc3e9d; color: var(--color-white); } .wonder-card { --border-radius: 15px; --border-color: var(--color-accent-black); backface-visibility: hidden !important; border: solid var(--border-width,4px) var(--border-color,var(--color-accent-black)) !important; border-radius: var(--border-radius) !important; box-shadow: var(--shadow-x,2px) var(--shadow-y,4px) 0 var(--shadow-size,2px) var(--border-color,var(--color-accent-black)) !important; overflow: hidden !important; transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important; transition-property: transform,box-shadow !important; } /* Input_text */ .form { --border-radius: 15px; --border-color: var(--color-accent-black); align-self: center !important; backface-visibility: hidden !important; border: solid var(--border-width,4px) var(--border-color,var(--color-accent-black)) !important; border-radius: var(--border-radius) !important; box-shadow: var(--shadow-x,2px) var(--shadow-y,4px) 0 var(--shadow-size,2px) var(--border-color,var(--color-accent-black)) !important; overflow: hidden !important; transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important; transition-property: transform,box-shadow !important; } .input_text label textarea { width: 80% !important; } .input_text div.wrap { display: none !important; } .input_text { display: flex !important; background: #ffffff !important; height: 12rem !important; } .input_text label { margin-top: -2.25rem !important; display: flex !important; width: 100% !important; align-content: center !important; flex-direction: column !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; } .input_text label span { font-family: var(--font-heading) !important; font-size: 1.225rem !important; } /* Main Button */ .main-button { font-size: 1.625rem !important; font-family: var(--font-heading) !important; font-style: normal !important; font-weight: 900 !important; margin-top: -36px !important; width: fit-content !important; height: fit-content !important; align-self: center !important; z-index: 10 !important; } .main-button:hover { --shadow-y: 6px !important; --shadow-x: 4px !important; transform: translate(-2px,-2px) !important; } .main-button:disabled, .main-button[disabled]{ opacity: 100% !important; } #speak_button { background: var(--color-yellow) !important; color: var(--color-accent-black) !important; } #speak_button:hover { background: #f5a200 !important; } #chat_button { background: #2263c6 !important; color: var(--color-white) !important; } #chat_button:hover { background: #124080 !important; } #mimic_button { background: #fc3e9d !important; color: var(--color-white) !important; } #mimic_button:hover { background: #aa2567 !important; } /* Examples */ #examples { align-self: center; padding: 0.2rem; } #examples .label { display: none !important; } #examples .gallery { display: flex; flex-wrap: wrap; gap: var(--spacing-lg); justify-content: center; align-items: center; flex-direction: row; align-content: center; } #examples button { --border-radius: 12px; --border-color: var(--color-accent-black); background: #b787d2; color: #fefdff; backface-visibility: hidden !important; border: solid var(--border-width,2px) var(--border-color,var(--color-accent-black)) !important; border-radius: var(--border-radius) !important; box-shadow: var(--shadow-x,1px) var(--shadow-y,2px) 0 var(--shadow-size,1px) var(--border-color,var(--color-accent-black)) !important; overflow: hidden !important; transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important; transition-property: transform,box-shadow !important; } #examples button:hover { --shadow-y: 3px !important; --shadow-x: 2px !important; transform: translate(-1px,-1px) !important; } /* Audio_output */ #audio_output { align-self: center !important; width: var(--card-width) !important; /* background: #4fd644 !important; */ } #audio_output .icon-buttons { --border-radius: 15px; --border-color: var( --color-accent-black); backface-visibility: hidden !important; border: solid var(--border-width,3px) var(--border-color,var(--color-accent-black)) !important; border-radius: var(--border-radius) !important; 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)) !important; overflow: hidden !important; transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important; transition-property: transform,box-shadow !important; } #audio_output .icon-buttons:hover { --shadow-y: 1.5px !important; --shadow-x: 1px !important; transform: translate(-1px,-1px) !important; } /* #audio_output .controls svg { color: var(--color-white) } */ #watermark { font-family: var(--font-heading) !important; } footer { display: none !important; }