File size: 2,553 Bytes
ca533c7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
/* Markdown styling */
#markdown-content {
line-height: 1.8;
color: var(--text-color);
}
#markdown-content h1,
#markdown-content h2,
#markdown-content h3,
#markdown-content h4,
#markdown-content h5,
#markdown-content h6 {
margin: 1.5rem 0 1rem;
line-height: 1.25;
font-weight: 600;
}
#markdown-content h1 { font-size: 2em; }
#markdown-content h2 { font-size: 1.5em; }
#markdown-content h3 { font-size: 1.25em; }
#markdown-content h4 { font-size: 1em; }
#markdown-content h5 { font-size: 0.875em; }
#markdown-content h6 { font-size: 0.85em; }
#markdown-content p {
margin-bottom: 1rem;
}
#markdown-content strong {
font-weight: 600;
}
#markdown-content em {
font-style: italic;
}
#markdown-content blockquote {
padding: 0.5rem 1rem;
margin: 1rem 0;
border-left: 4px solid var(--primary-color);
background: rgba(0, 0, 0, 0.05);
}
#markdown-content code {
background: rgba(0, 0, 0, 0.05);
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 0.9em;
}
#markdown-content pre {
background: rgba(0, 0, 0, 0.05);
padding: 1rem;
border-radius: 8px;
overflow-x: auto;
margin: 1rem 0;
}
#markdown-content pre code {
background: none;
padding: 0;
border-radius: 0;
}
#markdown-content ul,
#markdown-content ol {
margin: 1rem 0;
padding-left: 2rem;
}
#markdown-content li {
margin: 0.5rem 0;
}
#markdown-content table {
border-collapse: collapse;
width: 100%;
margin: 1rem 0;
}
#markdown-content table th,
#markdown-content table td {
border: 1px solid var(--border-color);
padding: 0.5rem;
}
#markdown-content table th {
background: rgba(0, 0, 0, 0.05);
font-weight: 600;
}
#markdown-content hr {
border: none;
border-top: 2px solid var(--border-color);
margin: 2rem 0;
}
#markdown-content img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin: 1rem 0;
}
#markdown-content a {
color: var(--primary-color);
text-decoration: none;
}
#markdown-content a:hover {
text-decoration: underline;
}
/* Dark mode adjustments for markdown */
@media (prefers-color-scheme: dark) {
#markdown-content blockquote {
background: rgba(255, 255, 255, 0.05);
}
#markdown-content code {
background: rgba(255, 255, 255, 0.1);
}
#markdown-content pre {
background: rgba(255, 255, 255, 0.05);
}
#markdown-content table th {
background: rgba(255, 255, 255, 0.05);
}
} |