Merge pull request #6 from micbar/improve-code-style

remove white space between ln nos and code
uci-hugo-doc
Robert Kaussow 2020-05-05 10:23:12 +02:00 committed by GitHub
commit 3d0f6a693e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -19,6 +19,12 @@
border-radius: 0; border-radius: 0;
border-top-right-radius: $border-radius; border-top-right-radius: $border-radius;
border-bottom-right-radius: $border-radius; border-bottom-right-radius: $border-radius;
padding-left: 0.5em;
}
.chroma .lntable td:nth-child(2) code .hl {
width: auto;
margin-left: -0.5em;
padding: 0 0.5em;
} }
.highlight { .highlight {
@ -55,10 +61,8 @@
overflow: auto; overflow: auto;
display: block; display: block;
} }
.chroma .lntable td:first-child {
padding-right: 0.5em;
}
.chroma .lntable td:first-child code { .chroma .lntable td:first-child code {
background-color: $gray-200;
border-right: 1px solid #dcdfe3; border-right: 1px solid #dcdfe3;
padding: 0.5em 0; padding: 0.5em 0;
} }