Skip to content
Permalink
Browse files

fix #117 code block problem with linenos=table and linenostart=1

  • Loading branch information...
laozhu committed Mar 13, 2019
1 parent e6ad7f8 commit 56be16f4fbc42bdb0827855b794262aed039abdb
@@ -110,7 +110,6 @@
& p {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
text-align: justify;
}

& blockquote {
@@ -168,11 +167,32 @@
color: $text;
}

& .highlight {
margin: 2rem auto;
border-radius: $radius;
overflow: hidden;

& pre {
margin: 0 auto;
}

& td:first-child {
& pre {
padding-right: 0;
}
}

& td:last-child {
& pre {
padding-left: 0;
}
}
}

& pre {
margin: 2rem auto;
padding: 1rem;
overflow-x: auto;
border-radius: $radius;
font-size: 0.9rem;
line-height: 1.618;
white-space: pre;
@@ -7,7 +7,6 @@ html {
body {
text-rendering: optimizeLegibility;
color: $text;
font-feature-settings: "liga" on;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: transparent;
@@ -1,5 +1,4 @@
table {
background-color: $table-background;
color: $table;
margin: 2rem auto;
width: 100%;

0 comments on commit 56be16f

Please sign in to comment.
You can’t perform that action at this time.