mgbam's picture
Update static/style.css
e71fd85 verified
/* static/style.css */
/* Give the app a more professional, clean feel */
body, #root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background-color: #f7fafc; /* A light grey background */
}
/* Style the main container */
.gradio-container {
max-width: 960px !important; /* A comfortable reading width */
margin: auto !important;
border-radius: 12px;
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
/* Style the output markdown for better readability */
.prose {
line-height: 1.7;
color: #333;
}
.prose h1, .prose h2, .prose h3 {
color: #1a202c;
font-weight: 600;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 0.3em;
}
/* Make the disclaimer stand out */
.prose strong:first-of-type {
display: block;
background-color: #fffbeb;
color: #b45309;
padding: 1em;
border-radius: 8px;
border: 1px solid #fde68a;
}