-
Notifications
You must be signed in to change notification settings - Fork 504
/
prism-hopscotch.css
132 lines (110 loc) · 1.85 KB
/
prism-hopscotch.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
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
@import url(https://fonts.googleapis.com/css?family=Fira+Mono);
/*
* Hopscotch
* by Jan T. Sott
* https://github.com/idleberg/Hopscotch
*
* This work is licensed under the Creative Commons CC0 1.0 Universal License
*/
code[class*="language-"],
pre[class*="language-"] {
font-family: "Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace;
font-size: 16px;
line-height: 1.375;
direction: ltr;
text-align: left;
word-spacing: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
white-space: pre;
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
background: #322931;
color: #b9b5b8;
}
pre > code[class*="language-"] {
font-size: 1em;
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #797379;
}
.token.punctuation {
color: #b9b5b8;
}
.namespace {
opacity: .7;
}
.token.null,
.token.operator,
.token.boolean,
.token.number {
color: #fd8b19;
}
.token.property {
color: #fdcc59;
}
.token.tag {
color: #1290bf;
}
.token.string {
color: #149b93;
}
.token.selector {
color: #c85e7c;
}
.token.attr-name {
color: #fd8b19;
}
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #149b93;
}
.token.attr-value,
.token.keyword,
.token.control,
.token.directive,
.token.unit {
color: #8fc13e;
}
.token.statement,
.token.regex,
.token.atrule {
color: #149b93;
}
.token.placeholder,
.token.variable {
color: #1290bf;
}
.token.important {
color: #dd464c;
font-weight: bold;
}
.token.entity {
cursor: help;
}
pre > code.highlight {
outline: .4em solid red;
outline-offset: .4em;
}