diff --git a/docs/assets/custom.css b/docs/assets/custom.css index 3f53211..7efa80f 100644 --- a/docs/assets/custom.css +++ b/docs/assets/custom.css @@ -39,30 +39,6 @@ mspace { width: 100%; margin-bottom: 20% !important; } -.gradio-container-3-32-2 h6 { - font-weight: 200 !important; - font-size: 12px !important; -} -.gradio-container-3-32-2 h1 { - font-weight: 700 !important; - font-size: 28px !important; -} -.gradio-container-3-32-2 h2 { - font-weight: 600 !important; - font-size: 24px !important; -} -.gradio-container-3-32-2 h3 { - font-weight: 500 !important; - font-size: 20px !important; -} -.gradio-container-3-32-2 h4 { - font-weight: 400 !important; - font-size: 16px !important; -} -.gradio-container-3-32-2 h5 { - font-weight: 300 !important; - font-size: 14px !important; -} #hide_examples { z-index: 0; } @@ -79,7 +55,7 @@ mspace { #chat_box { display: flex; flex-direction: column; - overflow-y: auto !important; + overflow-y: visible !important; z-index: 3; flex-grow: 1; /* 自动填充剩余空间 */ position: absolute; @@ -89,7 +65,9 @@ mspace { margin-bottom: 30px !important; border: 1px solid var(--border-color-primary); } - +.toast-body { + z-index: 5 !important; +} .chat_input { } @@ -100,11 +78,31 @@ mspace { border-radius: 20px!important; min-width: min(10%,100%) !important; } +.sm_select { + position: relative !important; + z-index: 5 !important; + bottom: 5px; + width: 20% !important; + border-radius: 20px!important; +} +.sm_checkbox { + position: relative !important; + z-index: 5 !important; + bottom: 5px; + padding: 0 !important; +} +.sm_select .wrap-inner.svelte-aqlk7e.svelte-aqlk7e.svelte-aqlk7e { + padding: 0 !important; +} +.sm_select .block.svelte-mppz8v { + width: 10% !important; +} + /* usage_display */ .insert_block { position: relative; bottom: 2px; - min-width: min(110px,100%) !important; + min-width: min(55px,100%) !important; } .submit_btn { @@ -192,10 +190,12 @@ footer { } textarea.svelte-1pie7s6 { background: #e7e6e6 !important; + width: 96% !important; } .dark textarea.svelte-1pie7s6 { background: var(--input-background-fill) !important; + width: 96% !important; } .dark input[type=number].svelte-1cl284s { @@ -335,7 +335,7 @@ textarea.svelte-1pie7s6 { top: 0; transition: .4s; font-size: 18px; - border-radius: 12px; + border-radius: 7px; } .apSlider::before { bottom: -1.5px; @@ -485,7 +485,7 @@ ol:not(.options), ul:not(.options) { border-radius: var(--radius-xl) !important; border: none; padding: var(--spacing-xl) !important; - font-size: var(--text-md) !important; + font-size: 15px !important; line-height: var(--line-md) !important; min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); @@ -627,7 +627,7 @@ thead th { display: block; overflow: auto; white-space: pre; - background-color: hsla(0, 0%, 20%, 70%)!important; + background-color: hsla(0, 0%, 7%, 70%)!important; border-radius: 10px; padding: 1.2em 1em 0em .5em; margin: 0.6em 2em 1em 0.2em;