/* PeptiVerse Custom CSS Styles */ .gradio-container { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 19px !important; /* Increased base font size */ } /* Global font size adjustments */ .gr-form, .gr-box, .gr-panel { font-size: 18px !important; /* Form elements */ } label, .gr-label { font-size: 18px !important; /* Labels */ } .gr-input, .gr-dropdown, textarea, input { font-size: 18px !important; /* Input fields */ } .gr-button { font-size: 18px !important; /* 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 !important; line-height: 1.6 !important; } /* Bold text in markdown */ .gr-markdown strong, .gr-markdown b, strong, b { font-size: inherit !important; } /* 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 !important; } /* Radio button labels */ .gr-radio label, .gr-radio-label, label.flex { font-size: 16px !important; } /* Tab navigation - 4 tabs*/ .tabs button, button.tab-nav, .gr-tabs button { font-size: 18px !important; padding: 9px 16px !important; font-weight: 500 !important; } /* Selected tab styling */ button.selected, .gr-tabs button.selected { font-weight: 600 !important; border-bottom: 3px solid #667eea !important; } /* 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 !important; } /* Checkbox container spacing */ .gr-checkbox, .gr-check-radio { margin: 10px 0 !important; } /* 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 !important; line-height: 1.7 !important; } /* Documentation tab specific heading sizes */ .documentation-tab h1, .gr-markdown h1 { font-size: 2.2em !important; display: block !important; margin-top: 1em !important; } .documentation-tab h2, .gr-markdown h2 { font-size: 1.8em !important; margin-top: 1em !important; } .documentation-tab h3, .gr-markdown h3 { font-size: 1.5em !important; } .documentation-tab h4, .gr-markdown h4 { font-size: 1.3em !important; } /* Code blocks in documentation */ .documentation-tab code, .gr-markdown code { font-size: 16px !important; } /* Info text and helper text */ .gr-info, .text-gray-500, .text-sm, .gr-text-sm, .text-xs, span[class*="text-"] { font-size: 16px !important; } /* Example text specifically */ .gr-markdown:has(strong:contains("Examples")), p:has(strong:contains("Examples")) { font-size: 18px !important; } /* Any text containing "Note:" or similar */ .gr-markdown:has(strong:contains("Note")), p:has(strong:contains("Note")) { font-size: 18px !important; } /* Dropdown menu items */ .gr-dropdown-item, .dropdown-item { font-size: 16px !important; padding: 10px !important; } /* Slider labels */ .gr-slider label { font-size: 16px !important; } .gr-button-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; border: none !important; color: white !important; font-size: 18px !important; padding: 10px 20px !important; } .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 !important; padding: 10px 18px !important; } /* Results section header */ .gr-group h3 { font-size: 22px !important; } /* Footer text */ div[style*="text-align: center"] p { font-size: 16px !important; } /* SVG Title Container - Centered and Larger */ /* Default: light logo */ .svg-title-container .logo-dark { display: none !important; } .svg-title-container .logo-light { display: block !important; } /* Dark mode: swap */ @media (prefers-color-scheme: dark) { .svg-title-container .logo-light { display: none !important; } .svg-title-container .logo-dark { display: block !important; } } .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 !important; font-size: 1.2em !important; margin-top: 10px !important; margin-bottom: 12px !important; font-weight: 600; } /* Documentation tab H3 styling - left-aligned with sidebar */ .documentation-tab h3 { position: relative; padding-left: 14px; margin-top: 1.6em !important; margin-bottom: 0.6em !important; font-size: 1.55em !important; 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 !important; margin-bottom: 0.6em !important; font-size: 1.55em !important; 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 !important; border-color: #e5e7eb !important; } .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 !important; line-height: 1.3 !important; } /* "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 !important; } /* Accordion header buttons */ #acc_phys > button, #acc_pred > button { font-size: 18px !important; font-weight: 600 !important; line-height: 1.35 !important; padding: 10px 12px !important; } /* If Gradio wraps text in spans/divs */ #acc_phys > button * , #acc_pred > button * { font-size: 18px !important; }