summaryrefslogtreecommitdiffstats
path: root/assets/css/codestyle.css
blob: e16a1db3d19537cbfc3bafa9d07b09a52d48ee72 (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
/* from https://github.com/atom/one-dark-syntax
edited by Eltrac */
.hljs {
	display: block;
	overflow-x: auto;
	color: #abb2bf;
	background: #2d2d2d!important;
	font-family: 'Noto Sans SC',sans-serif!important;
	font-size: .8em!important;
	padding: 0!important;
	margin: 0!important;
	max-height: 90vh;
	position: relative;
	background: rgb(63,63,63)!important
}

.hljs::before {
	content: '';
	display: block;
	height: 27px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background: url('./main/mac_button.png') no-repeat;
	background-color: rgb(63,63,63);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%
}

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

.hljs table,.hljs td,.hljs th {
	border: none!important;
	background: #2d2d2d;
	line-height: 1.5;
}

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

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

.hljs-ln {
	margin-top: 27px
}

.hljs-ln-numbers {
	background: #414141!important;
	padding: 0!important;
	width: 30px!important;
	text-align: center!important;
	margin-left: 0!important;
	color: #c8c8c8
}

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

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

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

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

.hljs-literal {
	color: #56b6c2
}

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

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

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

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

.hljs-emphasis {
	font-style: italic
}

.hljs-strong {
	font-weight: 700
}

.hljs-link {
	text-decoration: underline
}