Heb een probleem met de manier waarop code werd laten zien gerepareerd.

This commit is contained in:
Bram van der Veen 2015-08-10 15:35:00 +02:00
parent 63a2dd6389
commit 00f04b2a49
3 changed files with 17 additions and 16 deletions

View file

@ -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")

View file

@ -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
*/ */

View file

@ -76,6 +76,7 @@ div.content {
} }
pre { pre {
font-size: 13px;
} }
} }