Heb een probleem met de manier waarop code werd laten zien gerepareerd.
This commit is contained in:
parent
63a2dd6389
commit
00f04b2a49
|
@ -21,5 +21,5 @@ html
|
||||||
a(href="/" + article)=article.substr(0,1).toUpperCase() + article.replace(/.md/, '').slice(1)
|
a(href="/" + article)=article.substr(0,1).toUpperCase() + article.replace(/.md/, '').slice(1)
|
||||||
.content.seven
|
.content.seven
|
||||||
div!=markdown
|
div!=markdown
|
||||||
|
|
||||||
script(type="text/javascript", src="/other/prism.js")
|
script(type="text/javascript", src="/other/prism.js")
|
||||||
|
|
30
resources/less/skeleton.less
vendored
30
resources/less/skeleton.less
vendored
|
@ -492,22 +492,22 @@ li {
|
||||||
|
|
||||||
/* Code
|
/* Code
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
//
|
||||||
|
// code {
|
||||||
|
// padding: .2rem .5rem;
|
||||||
|
// margin: 0 .2rem;
|
||||||
|
// font-size: 90%;
|
||||||
|
// white-space: nowrap;
|
||||||
|
// background: lighten(@light-grey, 6.4%);
|
||||||
|
// border: 1px solid @light-grey;
|
||||||
|
// border-radius: @global-radius;
|
||||||
|
// }
|
||||||
|
|
||||||
code {
|
// pre > code {
|
||||||
padding: .2rem .5rem;
|
// display: block;
|
||||||
margin: 0 .2rem;
|
// padding: 1rem 1.5rem;
|
||||||
font-size: 90%;
|
// white-space: pre;
|
||||||
white-space: nowrap;
|
// }
|
||||||
background: lighten(@light-grey, 6.4%);
|
|
||||||
border: 1px solid @light-grey;
|
|
||||||
border-radius: @global-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre > code {
|
|
||||||
display: block;
|
|
||||||
padding: 1rem 1.5rem;
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tables
|
/* Tables
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
|
|
|
@ -76,6 +76,7 @@ div.content {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue