mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 06:10:40 +00:00
add some formatting improvements
This commit is contained in:
parent
2bd4f35de2
commit
9a858bce54
@ -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,11 +61,8 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.chroma .lntable td:first-child {
|
|
||||||
padding-right: 0.5em;
|
|
||||||
background-color: $color-code;
|
|
||||||
}
|
|
||||||
.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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user