Update prism js and css
This commit is contained in:
parent
35ccaa287e
commit
9502715524
|
@ -1,4 +1,5 @@
|
||||||
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript&plugins=line-numbers */
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript&plugins=line-numbers */
|
||||||
/**
|
/**
|
||||||
* prism.js default theme for JavaScript, CSS and HTML
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
* Based on dabblet (http://dabblet.com)
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
@ -105,7 +106,7 @@ pre[class*="language-"] {
|
||||||
.token.url,
|
.token.url,
|
||||||
.language-css .token.string,
|
.language-css .token.string,
|
||||||
.style .token.string {
|
.style .token.string {
|
||||||
color: #a67f59;
|
color: #9a6e3a;
|
||||||
background: hsla(0, 0%, 100%, .5);
|
background: hsla(0, 0%, 100%, .5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,7 +116,8 @@ pre[class*="language-"] {
|
||||||
color: #07a;
|
color: #07a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.token.function {
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
color: #DD4A68;
|
color: #DD4A68;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,14 +139,15 @@ pre[class*="language-"] {
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.line-numbers {
|
pre[class*="language-"].line-numbers {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 3.8em;
|
padding-left: 3.8em;
|
||||||
counter-reset: linenumber;
|
counter-reset: linenumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.line-numbers > code {
|
pre[class*="language-"].line-numbers > code {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
white-space: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.line-numbers .line-numbers-rows {
|
.line-numbers .line-numbers-rows {
|
||||||
|
@ -177,3 +180,4 @@ pre.line-numbers > code {
|
||||||
padding-right: 0.8em;
|
padding-right: 0.8em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user