-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy paththeme.css
More file actions
120 lines (98 loc) · 2.06 KB
/
Copy paththeme.css
File metadata and controls
120 lines (98 loc) · 2.06 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* General styling */
body {
font-size: var(--vscode-editor-font-size);
}
body table:nth-child(1)[width="100%"] td:nth-child(2){
display: none;
}
body table:nth-child(1)[width="100%"] td:nth-child(1){
text-align: right;
}
h1, h2 {
text-align: center;
margin-block-end: 0;
}
img {
display: none;
}
a ~ div.header {
display: none;
}
/* Styling for preview info box */
.previewInfo {
position: relative;
left: -20px;
width: calc(100% + 40px);
background-color: var(--vscode-list-inactiveSelectionBackground);
box-sizing: border-box;
text-align: center;
padding-top: 0.5em;
padding-bottom: 0.5em;
padding-left: calc(0.5em + 20px);
padding-right: calc(0.5em + 20px);
/* margin-top: 1.5em; */
margin-bottom: 1em;
font-family: var(--vscode-editor-font-family);
font-size: var(--vscode-editor-font-size);
}
/* Styling for clickable code sections */
pre, code {
font-family: var(--vscode-editor-font-family);
font-size: var(--vscode-editor-font-size);
}
.preClickable pre {
margin: 0px;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.preHoverPointer .preDiv:hover {
cursor: pointer;
}
.preClickable .preCodeExample:hover {
background-color: var(--vscode-list-hoverBackground);
}
/* Syntax highlighting in code sections */
.hljs-link {
color: var(--vscode-textLink-foreground)
}
.vscode-light {
--rhelp-number: #cb4b16;
--rhelp-string: #647400;
--rhelp-symbol: #cb4b16;
--rhelp-keyword: #2074b1;
--rhelp-comment: #727e7e;
--rhelp-function: #2074b1;
}
.vscode-dark,
.vscode-high-contrast {
--rhelp-number: #b5cea8;
--rhelp-string: #CE9178;
--rhelp-symbol: #4EC9B0;
--rhelp-keyword: #569cd6;
--rhelp-comment: #6A9955;
--rhelp-function: #DCDCAA;
}
.hljs-number {
color: var(--rhelp-number)
}
.hljs-regexp,
.hljs-bullet,
.hljs-string {
color: var(--rhelp-string)
}
.hljs-symbol,
.hljs-class {
color: var(--rhelp-symbol)
}
.hljs-literal,
.hljs-keyword {
color: var(--rhelp-keyword)
}
.hljs-built_in,
.hljs-function {
color: var(--rhelp-function)
}
.hljs-quote,
.hljs-comment {
color: var(--rhelp-comment)
}