File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed
emanote/default/_emanote-static Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 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
429code span .al { color : # ff0000 ; font-weight : bold; } /* Alert */
530code span .an { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Annotation */
You can’t perform that action at this time.
0 commit comments