add some formatting improvements

uci-hugo-doc
Robert Kaussow 2020-05-05 10:15:30 +02:00
parent 2bd4f35de2
commit 9a858bce54
1 changed files with 7 additions and 4 deletions

View File

@ -19,6 +19,12 @@
border-radius: 0;
border-top-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 {
@ -55,11 +61,8 @@
overflow: auto;
display: block;
}
.chroma .lntable td:first-child {
padding-right: 0.5em;
background-color: $color-code;
}
.chroma .lntable td:first-child code {
background-color: $gray-200;
border-right: 1px solid #dcdfe3;
padding: 0.5em 0;
}