circle-guard-bench / src /display /css_html_js.py
apsys's picture
submodule + versioning
3c01baa
raw
history blame
1.04 kB
"""
CSS and styling for the GuardBench Leaderboard.
"""
custom_css = """
.markdown-text {
font-size: 16px !important;
text-align: justify !important;
}
.tab-buttons button.selected {
border-color: #2196F3 !important;
background: #E3F2FD !important;
color: #2196F3 !important;
}
#citation-button textarea {
font-family: monospace !important;
}
.leaderboard-container {
margin-top: 20px;
}
.category-header {
font-weight: bold;
background-color: #f5f5f5;
padding: 10px;
margin-top: 15px;
border-radius: 5px;
}
.metric-name {
font-weight: bold;
color: #2196F3;
}
.model-name {
font-weight: bold;
}
.model-link:hover {
text-decoration: underline;
color: #1976D2;
}
.version-selector {
margin-top: 10px;
padding: 5px;
border: 1px solid #e0e0e0;
border-radius: 5px;
background-color: #f9f9f9;
}
.version-selector label {
font-weight: bold;
color: #2196F3;
}
.version-selector select {
border-color: #2196F3;
border-radius: 4px;
}
"""