96 lines
1.7 KiB
CSS
96 lines
1.7 KiB
CSS
@import "tailwindcss";
|
|
|
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
|
|
/* Scrollbars styling for light and dark modes */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1; /* slate-300 */
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8; /* slate-400 */
|
|
}
|
|
|
|
.dark ::-webkit-scrollbar-thumb {
|
|
background: #334155; /* slate-700 */
|
|
}
|
|
|
|
.dark ::-webkit-scrollbar-thumb:hover {
|
|
background: #475569; /* slate-600 */
|
|
}
|
|
|
|
/* Base body styles */
|
|
body {
|
|
@apply bg-slate-50 text-slate-600 antialiased transition-colors duration-200;
|
|
}
|
|
|
|
/* Markdown styling */
|
|
.markdown-content table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
}
|
|
|
|
.markdown-content th,
|
|
.markdown-content td {
|
|
border: 1px solid #e2e8f0;
|
|
padding: 0.375rem 0.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.dark .markdown-content th,
|
|
.dark .markdown-content td {
|
|
border-color: #334155;
|
|
}
|
|
|
|
.markdown-content th {
|
|
background-color: #f8fafc;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.dark .markdown-content th {
|
|
background-color: #1e293b;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.markdown-content tr:nth-child(even) {
|
|
background-color: #f8fafc;
|
|
}
|
|
|
|
.dark .markdown-content tr:nth-child(even) {
|
|
background-color: rgba(30, 41, 59, 0.3);
|
|
}
|
|
|
|
.markdown-content ul {
|
|
list-style-type: disc;
|
|
padding-left: 1.25rem;
|
|
margin-top: 0.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.markdown-content ol {
|
|
list-style-type: decimal;
|
|
padding-left: 1.25rem;
|
|
margin-top: 0.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.markdown-content li {
|
|
margin-top: 0.125rem;
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
|