Use Less
This commit is contained in:
parent
7d1591d400
commit
2b6f80bf16
15 changed files with 101 additions and 124 deletions
35
assets/less/components/post.less
Normal file
35
assets/less/components/post.less
Normal file
|
@ -0,0 +1,35 @@
|
|||
pre {
|
||||
.db;
|
||||
.overflow-auto;
|
||||
word-break: normal;
|
||||
word-wrap: no-wrap;
|
||||
}
|
||||
|
||||
pre[class*="language-"] {
|
||||
.bn;
|
||||
.br0;
|
||||
}
|
||||
|
||||
pre code {
|
||||
.pre;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
pre code .number {
|
||||
.h-auto;
|
||||
.mr0;
|
||||
.pa0;
|
||||
background-color: inherit;
|
||||
font-size: inherit;
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
code.hljs {
|
||||
.pa0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
code[data-gist-id] {
|
||||
.pa0;
|
||||
background: transparent;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue