summaryrefslogtreecommitdiffstats
path: root/assets/css/codestyle.css
blob: d8c0311e23f6c0ffed445b2730b2a907fd669b3a (plain)
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
120
121
122
/*

Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax

edited by Eltrac

*/

.hljs {
  display: block;
  overflow-x: auto;
  color: #abb2bf;
  background: rgb(45,45,45)!important;
  font-family: 'Noto Sans SC',sans-serif!important;
  font-size: 0.8em!important;
  padding: 0!important;
  margin: 0!important;
  max-height: 90vh;
}

.hljs::-webkit-scrollbar-corner {
	background: transparent
}

.hljs table,
.hljs th,
.hljs td {
	border: none!important;
	background: rgb(45,45,45);
	line-height: 1.45
}

.hljs tr:first-child hljs-line {
	padding-top: 10px;
}

.hljs tr:last-child hljs-line {
	padding-bottom: 10px;
}

.hljs-ln-numbers {
	background: rgb(65,65,65)!important;
	padding: 0!important;
	width: 30px!important;
	text-align: center!important;
	margin-left: 0!important;
	color: rgb(200,200,200)
}

.hljs-ln-code {
	padding: 0 10px!important;
}

.hljs-comment,
.hljs-quote {
  color: #5c6370;
  font-style: italic;
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
  color: #c678dd;
}

.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
  color: #e06c75;
}

.hljs-literal {
  color: #56b6c2;
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
  color: #98c379;
}

.hljs-built_in,
.hljs-class .hljs-title {
  color: #e6c07b;
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
  color: #d19a66;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
  color: #61aeee;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-link {
  text-decoration: underline;
}