Agent-Papers / style.css
luojunyu's picture
update
f8d35c2
/* Main container */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.papers-container {
display: flex;
flex-direction: column;
gap: 18px;
margin-top: 20px;
}
/* Paper card styling */
.paper-card {
border: 1px solid #e0e0e0;
border-radius: 12px;
padding: 20px;
background-color: #ffffff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
transition: all 0.2s ease;
display: flex;
flex-direction: column;
gap: 10px;
}
.paper-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transform: translateY(-2px);
border-color: #d0d0d0;
}
.paper-title {
font-size: 18px;
font-weight: 600;
line-height: 1.4;
margin-bottom: 4px;
}
.paper-title a {
color: #2563EB;
text-decoration: none;
}
.paper-title a:hover {
text-decoration: underline;
}
.paper-tldr {
font-size: 14px;
color: #4B5563;
line-height: 1.5;
margin: 8px 0;
}
.paper-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 4px;
}
.meta-item {
background-color: #F3F4F6;
border-radius: 16px;
padding: 4px 12px;
font-size: 12px;
color: #4B5563;
font-weight: 500;
}
/* Section colors */
.meta-item:nth-child(1) {
background-color: #DBEAFE;
color: #1E40AF;
}
.meta-item:nth-child(2) {
background-color: #FEE2E2;
color: #991B1B;
}
.meta-item:nth-child(3) {
background-color: #E0E7FF;
color: #3730A3;
}
/* Search interface */
.search-container {
margin-bottom: 24px;
padding: 16px;
background-color: #F9FAFB;
border-radius: 12px;
border: 1px solid #E5E7EB;
}
/* Button styling */
.primary-button {
background-color: #2563EB;
color: white;
border: none;
border-radius: 8px;
padding: 8px 16px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s;
}
.primary-button:hover {
background-color: #1D4ED8;
}
/* Section headers */
.section-header {
border-bottom: 2px solid #E5E7EB;
padding-bottom: 8px;
margin: 32px 0 16px 0;
font-weight: 600;
color: #1F2937;
}
/* Responsive design */
@media (max-width: 768px) {
.paper-card {
padding: 16px;
}
.paper-title {
font-size: 16px;
}
.paper-tldr {
font-size: 13px;
}
.meta-item {
font-size: 11px;
padding: 3px 10px;
}
}
/* Gradio container customization */
.gradio-container {
max-width: 1200px !important;
margin: 0 auto !important;
}
/* Results count styling */
p strong {
color: #2563EB;
}
/* Accordion styling */
.accordion .label {
font-weight: 600;
color: #1F2937;
}
/* Table styling */
table {
width: 100%;
border-collapse: collapse;
}
th {
background-color: #F3F4F6;
text-align: left;
padding: 12px;
font-weight: 600;
}
td {
padding: 12px;
border-bottom: 1px solid #E5E7EB;
}
/* Examples styling */
.examples-panel {
margin-top: 24px;
padding: 16px;
background-color: #F9FAFB;
border-radius: 12px;
}
.examples-header {
font-weight: 600;
margin-bottom: 12px;
}