forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.less
More file actions
35 lines (32 loc) · 796 Bytes
/
code.less
File metadata and controls
35 lines (32 loc) · 796 Bytes
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
/**
* All things related to coloring text-based tokens
**/
code.hljs {
white-space: pre-wrap;
padding: 0 !important;
span.highlight-line {
font-weight: bold;
white-space: pre-wrap;
background: @highlightLineBackground;
display: inline-block;
padding: 0.5rem;
margin-left: -0.5rem;
color: @highlightLineColor;
.hljs-string, .hljs-meta-string {
color: @highlightLineStringColor;
}
.hljs-class {
color: @highlightLineClassColor;
}
.hljs-number {
color: @highlightLineNumberColor;
}
.hljs-keyword {
color: @highlightLineKeywordColor;
}
}
}
// don't double pad
.ui.segment.codewidget > code.hjls {
margin: 0;
}