Spaces:
Running
Running
| /* PeptiVerse Custom CSS Styles */ | |
| .gradio-container { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| font-size: 19px ; /* Increased base font size */ | |
| } | |
| /* Global font size adjustments */ | |
| .gr-form, .gr-box, .gr-panel { | |
| font-size: 18px ; /* Form elements */ | |
| } | |
| label, .gr-label { | |
| font-size: 18px ; /* Labels */ | |
| } | |
| .gr-input, .gr-dropdown, textarea, input { | |
| font-size: 18px ; /* Input fields */ | |
| } | |
| .gr-button { | |
| font-size: 18px ; /* Buttons */ | |
| } | |
| /* ALL Markdown text */ | |
| .gr-markdown, | |
| .gr-markdown p, | |
| .gr-markdown span, | |
| .gr-markdown div, | |
| .markdown, | |
| .markdown p, | |
| .markdown span, | |
| .prose, | |
| .prose p, | |
| p { | |
| font-size: 18px ; | |
| line-height: 1.6 ; | |
| } | |
| /* Bold text in markdown */ | |
| .gr-markdown strong, | |
| .gr-markdown b, | |
| strong, | |
| b { | |
| font-size: inherit ; | |
| } | |
| /* Dropdown labels and helper text */ | |
| .gr-dropdown label, | |
| .gr-input-label, | |
| .gr-box label, | |
| span.text-gray-500, | |
| span.text-gray-600, | |
| span.text-gray-700 { | |
| font-size: 18px ; | |
| } | |
| /* Radio button labels */ | |
| .gr-radio label, | |
| .gr-radio-label, | |
| label.flex { | |
| font-size: 16px ; | |
| } | |
| /* Tab navigation - 4 tabs*/ | |
| .tabs button, | |
| button.tab-nav, | |
| .gr-tabs button { | |
| font-size: 18px ; | |
| padding: 9px 16px ; | |
| font-weight: 500 ; | |
| } | |
| /* Selected tab styling */ | |
| button.selected, | |
| .gr-tabs button.selected { | |
| font-weight: 600 ; | |
| border-bottom: 3px solid #667eea ; | |
| } | |
| /* Checkbox and radio button labels */ | |
| .gr-checkbox-label, | |
| .gr-check-radio-label, | |
| .gr-checkbox label, | |
| label.flex.items-center, | |
| .gr-input-label, | |
| input[type="checkbox"] + label, | |
| input[type="radio"] + label { | |
| font-size: 18px ; | |
| } | |
| /* Checkbox container spacing */ | |
| .gr-checkbox, .gr-check-radio { | |
| margin: 10px 0 ; | |
| } | |
| /* Markdown content - especially in documentation tab */ | |
| .documentation-tab .prose, | |
| .documentation-tab .markdown, | |
| .documentation-tab .gr-markdown, | |
| .documentation-tab p, | |
| .documentation-tab li, | |
| .documentation-tab td, | |
| .documentation-tab th, | |
| .gr-markdown p, | |
| .gr-markdown li, | |
| .markdown-text { | |
| font-size: 18px ; | |
| line-height: 1.7 ; | |
| } | |
| /* Documentation tab specific heading sizes */ | |
| .documentation-tab h1, | |
| .gr-markdown h1 { | |
| font-size: 2.2em ; | |
| display: block ; | |
| margin-top: 1em ; | |
| } | |
| .documentation-tab h2, | |
| .gr-markdown h2 { | |
| font-size: 1.8em ; | |
| margin-top: 1em ; | |
| } | |
| .documentation-tab h3, | |
| .gr-markdown h3 { | |
| font-size: 1.5em ; | |
| } | |
| .documentation-tab h4, | |
| .gr-markdown h4 { | |
| font-size: 1.3em ; | |
| } | |
| /* Code blocks in documentation */ | |
| .documentation-tab code, | |
| .gr-markdown code { | |
| font-size: 16px ; | |
| } | |
| /* Info text and helper text */ | |
| .gr-info, | |
| .text-gray-500, | |
| .text-sm, | |
| .gr-text-sm, | |
| .text-xs, | |
| span[class*="text-"] { | |
| font-size: 16px ; | |
| } | |
| /* Example text specifically */ | |
| .gr-markdown:has(strong:contains("Examples")), | |
| p:has(strong:contains("Examples")) { | |
| font-size: 18px ; | |
| } | |
| /* Any text containing "Note:" or similar */ | |
| .gr-markdown:has(strong:contains("Note")), | |
| p:has(strong:contains("Note")) { | |
| font-size: 18px ; | |
| } | |
| /* Dropdown menu items */ | |
| .gr-dropdown-item, | |
| .dropdown-item { | |
| font-size: 16px ; | |
| padding: 10px ; | |
| } | |
| /* Slider labels */ | |
| .gr-slider label { | |
| font-size: 16px ; | |
| } | |
| .gr-button-primary { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) ; | |
| border: none ; | |
| color: white ; | |
| font-size: 18px ; | |
| padding: 10px 20px ; | |
| } | |
| .gr-button-primary:hover { | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4); | |
| } | |
| /* Secondary button styling */ | |
| .gr-button-secondary { | |
| font-size: 18px ; | |
| padding: 10px 18px ; | |
| } | |
| /* Results section header */ | |
| .gr-group h3 { | |
| font-size: 22px ; | |
| } | |
| /* Footer text */ | |
| div[style*="text-align: center"] p { | |
| font-size: 16px ; | |
| } | |
| /* SVG Title Container - Centered and Larger */ | |
| /* Default: light logo */ | |
| .svg-title-container .logo-dark { display: none ; } | |
| .svg-title-container .logo-light { display: block ; } | |
| /* Dark mode: swap */ | |
| @media (prefers-color-scheme: dark) { | |
| .svg-title-container .logo-light { display: none ; } | |
| .svg-title-container .logo-dark { display: block ; } | |
| } | |
| .svg-title-container { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| margin-bottom: 30px; | |
| padding: 20px; | |
| width: 100%; | |
| } | |
| .svg-title-container img { | |
| display: block; | |
| margin: 0 auto; | |
| width: auto; | |
| height: auto; | |
| max-width: 90%; | |
| max-height: 200px; /* Size control */ | |
| } | |
| .svg-title-container svg { | |
| display: block; | |
| margin: 0 auto; | |
| width: 100%; | |
| max-width: 700px; /* Size control */ | |
| height: auto; | |
| } | |
| /* Default H1 styling (hidden when using SVG) */ | |
| h1 { | |
| display: none; | |
| } | |
| /* Predict tab H3 styling - centered with larger font */ | |
| .predict-tab h3 { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| text-align: center ; | |
| font-size: 1.2em ; | |
| margin-top: 10px ; | |
| margin-bottom: 12px ; | |
| font-weight: 600; | |
| } | |
| /* Documentation tab H3 styling - left-aligned with sidebar */ | |
| .documentation-tab h3 { | |
| position: relative; | |
| padding-left: 14px; | |
| margin-top: 1.6em ; | |
| margin-bottom: 0.6em ; | |
| font-size: 1.55em ; | |
| font-weight: 600; | |
| color: #4b5563; | |
| } | |
| /* Colored bracket for documentation */ | |
| .documentation-tab h3::before { | |
| content: "▍"; | |
| position: absolute; | |
| left: 0; | |
| top: 0; | |
| color: rgba(102, 126, 234, 0.55); | |
| font-weight: 800; | |
| } | |
| /* Best Models and Distributions tabs H3 styling */ | |
| .best-models-tab h3, .distributions-tab h3 { | |
| position: relative; | |
| padding-left: 14px; | |
| margin-top: 1.6em ; | |
| margin-bottom: 0.6em ; | |
| font-size: 1.55em ; | |
| font-weight: 600; | |
| color: #4b5563; | |
| } | |
| .best-models-tab h3::before, .distributions-tab h3::before { | |
| content: "▍"; | |
| position: absolute; | |
| left: 0; | |
| top: 0; | |
| color: rgba(102, 126, 234, 0.55); | |
| font-weight: 800; | |
| } | |
| .gr-form { | |
| border-radius: 12px ; | |
| border-color: #e5e7eb ; | |
| } | |
| .property-result:hover { | |
| background: #f0f0f0; | |
| cursor: pointer; | |
| } | |
| /* Component labels like "Input Type", textbox labels, dropdown labels MAIN SIZE CHANGER */ | |
| .gradio-container .gr-label, | |
| .gradio-container .gr-input-label, | |
| .gradio-container .block-label, | |
| .gradio-container label, | |
| .gradio-container label span { | |
| font-size: 16px ; | |
| line-height: 1.3 ; | |
| } | |
| /* "Examples:" and other markdown text inside the left column */ | |
| .gradio-container .gr-markdown p, | |
| .gradio-container .gr-markdown strong, | |
| .gradio-container .gr-markdown span, | |
| .gradio-container .markdown p, | |
| .gradio-container .prose p { | |
| font-size: 18px ; | |
| } | |
| /* Accordion header buttons */ | |
| #acc_phys > button, | |
| #acc_pred > button { | |
| font-size: 18px ; | |
| font-weight: 600 ; | |
| line-height: 1.35 ; | |
| padding: 10px 12px ; | |
| } | |
| /* If Gradio wraps text in spans/divs */ | |
| #acc_phys > button * , | |
| #acc_pred > button * { | |
| font-size: 18px ; | |
| } | |