summaryrefslogtreecommitdiffstats
path: root/assets/css/prism.css
blob: 1816e42e6abf56dafa689b3282d2b1f9993479e2 (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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
code[class*=language-],pre[class*=language-] {
	color: #ccc;
	background: rgba(0,0,0,0)!important;
	font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
	font-size: 15px;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	margin: 0;
}

pre[class*=language-] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
	margin: 20px -26px;
}
@media (min-width:768px) {
	pre[class*=language-] {
		margin: 20px -36px;
	}
}
@media (min-width:992px) {
	pre[class*=language-] {
		margin: 20px -48px;
	}
}
@media (min-width:1200px) {
	pre[class*=language-] {
		margin: 20px -50px;
	}
}

:not(pre)>code[class*=language-],pre[class*=language-] {
	background: rgb(70,70,70)!important;
}

:not(pre)>code[class*=language-] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal
}

.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog {
	color: #999
}

.token.punctuation {
	color: #ccc
}

.token.attr-name,.token.deleted,.token.namespace,.token.tag {
	color: #e2777a
}

.token.function-name {
	color: #6196cc
}

.token.boolean,.token.function,.token.number {
	color: #f08d49
}

.token.class-name,.token.constant,.token.property,.token.symbol {
	color: #f8c555
}

.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector {
	color: #cc99cd
}

.token.attr-value,.token.char,.token.regex,.token.string,.token.variable {
	color: #7ec699
}

.token.entity,.token.operator,.token.url {
	color: #67cdcc
}

.token.bold,.token.important {
	font-weight: 700
}

.token.italic {
	font-style: italic
}

.token.entity {
	cursor: help
}

.token.inserted {
	color: green
}

pre[class*=language-].line-numbers {
	position: relative;
	padding-left: 3.8em;
	counter-reset: linenumber
}

pre[class*=language-].line-numbers>code {
	position: relative;
	white-space: inherit
}

.line-numbers .line-numbers-rows {
	position: absolute;
	pointer-events: none;
	top: 0;
	font-size: 100%;
	left: -3.8em;
	width: 3em;
	letter-spacing: -1px;
	border-right: 1px solid #999;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none
}

.line-numbers-rows>span {
	pointer-events: none;
	display: block;
	counter-increment: linenumber
}

.line-numbers-rows>span:before {
	content: counter(linenumber);
	color: #999;
	display: block;
	padding-right: .8em;
	text-align: right
}