mirror of https://gitlab.com/curben/blog
fix(css): compatibility with hexojs/hexo-util#229
- https://github.com/hexojs/hexo-util/pull/229
This commit is contained in:
parent
9b3b9d569d
commit
75cc2a8dc9
|
@ -30,6 +30,22 @@ theme_config:
|
|||
icons: false
|
||||
```
|
||||
|
||||
## Codeblock highlight
|
||||
|
||||
Following configurations need to be updated.
|
||||
|
||||
``` yml
|
||||
# _config.yml
|
||||
highlight:
|
||||
enable: true
|
||||
line_number: false
|
||||
hljs: true
|
||||
wrap: false
|
||||
|
||||
prismjs:
|
||||
enable: false
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
Build "source/css/_source.css" into "source/css/chameleon.css"
|
||||
|
|
|
@ -126,16 +126,20 @@ hr {
|
|||
}
|
||||
|
||||
figcaption,
|
||||
small {
|
||||
small,
|
||||
pre div {
|
||||
font-size: 0.9em;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
/* code caption */
|
||||
figcaption,
|
||||
pre div {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
pre figcaption a {
|
||||
pre figcaption a,
|
||||
pre div a {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
|
|
@ -571,16 +571,20 @@ hr {
|
|||
}
|
||||
|
||||
figcaption,
|
||||
small {
|
||||
small,
|
||||
pre div {
|
||||
font-size: 0.9em;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
/* code caption */
|
||||
figcaption,
|
||||
pre div {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
pre figcaption a {
|
||||
pre figcaption a,
|
||||
pre div a {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue