Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
166 lines (144 loc) · 2.8 KB
/
Copy pathstyle.css
File metadata and controls
166 lines (144 loc) · 2.8 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/* MLBlock Custom Markdown Preview Stylesheet
* Follows VS Code Markdown Styling documentation:
* https://code.visualstudio.com/Docs/languages/markdown#_using-your-own-css
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
line-height: 1.65;
font-size: 14.5px;
color: #e2e8f0;
max-width: 960px;
margin: 0 auto;
padding: 32px 24px;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
color: #f8fafc;
margin-top: 1.6em;
margin-bottom: 0.6em;
line-height: 1.3;
}
h1 {
font-size: 26px;
border-bottom: 2px solid #272c3a;
padding-bottom: 10px;
letter-spacing: -0.5px;
}
h2 {
font-size: 20px;
border-bottom: 1px solid #272c3a;
padding-bottom: 8px;
margin-top: 2em;
}
h3 {
font-size: 16px;
color: #c7d2fe;
}
/* Tables */
table {
border-collapse: collapse;
width: 100%;
margin: 20px 0;
border-radius: 8px;
overflow: hidden;
border: 1px solid #272c3a;
background: #141720;
}
th, td {
padding: 10px 14px;
text-align: left;
border-bottom: 1px solid #272c3a;
font-size: 13.5px;
}
th {
background: #1a1e2b;
color: #f1f5f9;
font-weight: 700;
border-bottom: 2px solid #272c3a;
}
tr:nth-child(even) {
background: #10121a;
}
tr:hover {
background: #1e2230;
}
/* Blockquotes / Callouts */
blockquote {
margin: 18px 0;
padding: 12px 18px;
background: #181b26;
border-left: 4px solid #6366f1;
border-radius: 0 8px 8px 0;
color: #cbd5e1;
font-size: 13.5px;
}
blockquote p {
margin: 0;
}
/* Code & Pre */
code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
font-size: 12.5px;
background: #1c202d;
color: #fca5a5;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid #2d3345;
}
pre {
background: #0d0f15 !important;
border: 1px solid #272c3a !important;
border-radius: 8px !important;
padding: 16px !important;
overflow-x: auto;
}
pre code {
background: transparent !important;
border: none !important;
padding: 0 !important;
color: #e2e8f0;
}
/* Mermaid Diagrams Container Styling */
.mermaid {
background: #0d0f15 !important;
border: 1px solid #272c3a;
border-radius: 10px;
padding: 24px;
margin: 24px 0;
display: flex;
justify-content: center;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.mermaid svg {
max-width: 100% !important;
height: auto !important;
}
/* Math equations (KaTeX) */
.katex-display {
background: #141722;
border: 1px solid #272c3a;
border-radius: 8px;
padding: 14px;
margin: 16px 0;
overflow-x: auto;
}
/* Lists */
ul, ol {
padding-left: 24px;
margin: 12px 0;
}
li {
margin-bottom: 6px;
}
/* Links */
a {
color: #60a5fa;
text-decoration: none;
font-weight: 500;
transition: color 0.15s;
}
a:hover {
color: #93c5fd;
text-decoration: underline;
}