mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 12:20:39 +00:00
Merge pull request #6 from micbar/improve-code-style
remove white space between ln nos and code
This commit is contained in:
commit
3d0f6a693e
@ -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,10 +61,8 @@
|
||||
overflow: auto;
|
||||
display: block;
|
||||
}
|
||||
.chroma .lntable td:first-child {
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
.chroma .lntable td:first-child code {
|
||||
background-color: $gray-200;
|
||||
border-right: 1px solid #dcdfe3;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user