File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
- /* We do not nest classes to make it easier to include this file without pre-compilation in test-syntax-highlight.html */
1
+ /* We do not use SASS features here to make it easier to include this file without pre-compilation in _dev/ test-syntax-highlight.html */
2
2
3
3
.lang-jai .hljs-keyword { color : #8a2be2 ; }
4
4
.lang-jai .hljs-literal { color : blue ; }
5
5
.lang-jai .hljs-comment { color : olive ; }
6
6
.lang-jai .hljs-built_in , .hljs-type { color : teal ; text-decoration : underline ; }
7
7
.lang-jai .hljs-tag { color : darkgray ; font-weight : bold ; }
8
- .lang-jai .hljs-meta { color : darkorange ; }
8
+ .lang-jai .hljs-meta { color : darkorange ; }
9
+
10
+
11
+ .lang-jai.hljs {
12
+ /* Disable max-height as to avoid vertical scrollbar; always show code blocks in full. */
13
+ max-height : none ;
14
+
15
+ /* Enable word wrapping in jai code as to avoid horizontal scrollbar. */
16
+ overflow-x : auto ;
17
+ white-space : pre-wrap ;
18
+
19
+ /* Fit more code horizontally into code blocks. */
20
+ font-size : 0.8rem ;
21
+ }
You can’t perform that action at this time.
0 commit comments