Skip to content

Commit f69c9d0

Browse files
committed
box
1 parent 852bb83 commit f69c9d0

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

emanote/default/_emanote-static/skylighting.css

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
/* Skylighting syntax highlighting theme */
2-
/* To override, create your own _emanote-static/syntax-highlighting.css */
2+
/* To override, create your own _emanote-static/skylighting.css */
3+
4+
/* Code block container styling */
5+
pre {
6+
background-color: #f8f8f8;
7+
border: 1px solid #e1e4e8;
8+
border-radius: 6px;
9+
padding: 1rem;
10+
overflow-x: auto;
11+
}
12+
13+
pre code {
14+
background: transparent;
15+
border: none;
16+
padding: 0;
17+
}
18+
19+
/* Dark mode code block */
20+
@media (prefers-color-scheme: dark) {
21+
pre {
22+
background-color: #1e1e1e;
23+
border-color: #333;
24+
}
25+
}
26+
27+
/* Token colors */
328

429
code span.al { color: #ff0000; font-weight: bold; } /* Alert */
530
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */

0 commit comments

Comments
 (0)