@import "tailwindcss"; /* Paper content styles for ar5iv HTML */ .paper-content { font-size: 0.95rem; line-height: 1.75; color: #374151; } .paper-content h1, .paper-content h2, .paper-content h3, .paper-content h4, .paper-content h5, .paper-content h6 { font-weight: 600; color: #1f2937; margin-top: 1.5em; margin-bottom: 0.75em; line-height: 1.3; } .paper-content h1 { font-size: 1.5rem; } .paper-content h2 { font-size: 1.25rem; } .paper-content h3 { font-size: 1.1rem; } .paper-content h4 { font-size: 1rem; } .paper-content p, .paper-content .ltx_para, .paper-content .ltx_p { margin-bottom: 0.75em; } .paper-content a { color: #4f46e5; text-decoration: underline; text-underline-offset: 2px; } .paper-content a:hover { color: #3730a3; } .paper-content ul, .paper-content ol { margin: 0.75em 0; padding-left: 1.5em; } .paper-content li { margin-bottom: 0.3em; } .paper-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.875rem; } .paper-content table th, .paper-content table td { border: 1px solid #e5e7eb; padding: 0.5em 0.75em; text-align: left; } .paper-content table th { background-color: #f9fafb; font-weight: 600; } .paper-content figure, .paper-content .ltx_figure { margin: 1.5em 0; text-align: center; } .paper-content figcaption, .paper-content .ltx_caption { font-size: 0.85rem; color: #6b7280; margin-top: 0.5em; font-style: italic; } .paper-content img { max-width: 100%; height: auto; border-radius: 0.5rem; } /* LaTeX / Math display */ .paper-content .ltx_Math, .paper-content .ltx_equation, .paper-content math { overflow-x: auto; max-width: 100%; } .paper-content .ltx_equation { margin: 1em 0; text-align: center; } .paper-content .ltx_equationgroup { margin: 1em 0; } .paper-content .ltx_eqn_table { width: 100%; } .paper-content .ltx_eqn_cell { padding: 0.25em 0; } /* Citation links */ .paper-content cite, .paper-content .ltx_cite { color: #4f46e5; cursor: pointer; } .paper-content cite:hover, .paper-content .ltx_cite:hover { color: #3730a3; text-decoration: underline; } /* Block quotes */ .paper-content blockquote { border-left: 3px solid #e5e7eb; padding-left: 1em; margin: 1em 0; color: #6b7280; } /* Code blocks */ .paper-content pre, .paper-content code { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 0.85em; } .paper-content pre { background-color: #f3f4f6; padding: 1em; border-radius: 0.5rem; overflow-x: auto; margin: 1em 0; } .paper-content code { background-color: #f3f4f6; padding: 0.15em 0.4em; border-radius: 0.25rem; } /* Theorem-like environments */ .paper-content .ltx_theorem, .paper-content .ltx_proof { margin: 1em 0; padding: 1em; background-color: #f9fafb; border-radius: 0.5rem; border-left: 3px solid #6366f1; } .paper-content .ltx_theorem .ltx_title, .paper-content .ltx_proof .ltx_title { font-weight: 600; color: #4f46e5; } /* Bibliography */ .paper-content .ltx_biblist { list-style: none; padding-left: 0; } .paper-content .ltx_bibitem { margin-bottom: 0.75em; padding-left: 2em; text-indent: -2em; font-size: 0.875rem; } .paper-content .ltx_tag_bibitem { font-weight: 600; color: #4f46e5; } /* Responsive math */ .paper-content .katex-display { overflow-x: auto; overflow-y: hidden; padding: 0.5em 0; } /* Selection highlight */ ::selection { background-color: #c7d2fe; color: #1e1b4b; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #9ca3af; } /* Line clamp utility */ .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* Animation */ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .animate-fadeIn { animation: fadeIn 0.3s ease-out; }