-
Notifications
You must be signed in to change notification settings - Fork 1
/
code-hl.css
49 lines (45 loc) · 1000 Bytes
/
code-hl.css
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
@media print {
body {
-webkit-print-color-adjust: exact;
-webkit-filter: opacity(1);
}
}
pre {
box-shadow: 0px 0px 6px rgba(255,255,255,0.8);
border-radius: 5px;
}
.remark-code, .hljs {
border-radius: 5px;
/* background-color: rgba(0,0,0,0) !important; */
}
code {
color: #aaa;
padding-left: 0.3em;
padding-right: 0.3em;
}
/* 80 characters fun */
/* may not work */
.remark-code {
line-height: 1.6em;
font-size: 0.75em;
word-wrap: break-word;
/* the following two lines are for Mozilla Firefox */
white-space: pre-wrap;
word-break: break-all;
}
/* custom highlighted tokens style */
.remark-code-token-highlighted {
background: #073642;
font-weight: bold;
border-radius: 3px;
font-style: normal;
font-weight: bold;
padding: 0.1em 0.3em;
border: 1px solid #d33682;
}
/* custom highlighted line style */
.remark-code-line-highlighted {
background: #073642;
font-weight: bold;
border-radius: 3px;
}