leaderboard / css.css
benediktstroebl
update fontsize
6218c57
/* Base styles and variables */
:root {
--primary-color: #3498db;
--secondary-color: #2c3e50;
--background-color: #f8f9fa;
--text-color: #333;
--accent-color: #e74c3c;
--space: 1rem;
--base-font-size: 1.1rem;
}
/* Add global text styles */
body, p, div, span, .gradio-container {
font-size: var(--base-font-size);
line-height: 1.6;
}
/* Adjust heading sizes proportionally */
h1 { font-size: calc(var(--base-font-size) * 2.3); }
h2 { font-size: calc(var(--base-font-size) * 1.8); }
h3 { font-size: calc(var(--base-font-size) * 1.65); }
h4 { font-size: calc(var(--base-font-size) * 1.4); }
h5 { font-size: calc(var(--base-font-size) * 1.2); }
h6 { font-size: calc(var(--base-font-size) * 1.1); }
/* Tabs */
.tab-nav {
display: flex;
background-color: var(--secondary-color);
border-radius: 8px 8px 0 0;
overflow: hidden;
}
.tab-nav button {
padding: 1rem 1.5rem;
background-color: transparent;
color: #fff;
border: none;
cursor: pointer;
transition: background-color 0.3s;
}
a {
color: #000;
}
.tab-nav button:hover,
.tab-nav button.selected {
background-color: var(--primary-color);
}
.svelte-iibkxk .stretch {
display: none;
}
/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.text-small { font-size: 0.875rem; }
.text-large { font-size: 1.25rem; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.ml-1 { margin-left: 1rem; }
.mr-1 { margin-right: 1rem; }
/* Navigation Bar */
.nav-bar {
background-color: var(--background-color);
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.nav-links {
display: flex;
gap: 2rem;
align-items: center;
}
.nav-links a {
color: var(--text-color);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.nav-links a:hover {
color: var(--primary-color);
}
.nav-brand {
display: flex;
align-items: center;
gap: 1rem;
}
.nav-brand img {
height: 40px;
width: auto;
}
.nav-brand a {
color: white;
text-decoration: none;
font-size: 1.5rem;
font-weight: bold;
}
/* Add to existing CSS */
.markdown-text {
font-size: 1.1rem; /* Adjust this value to make text bigger/smaller */
line-height: 1.6; /* Improves readability */
}