Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThibaud Lepretre <thibaud.lepretre@gmail.com>2019-07-14 09:03:10 +0300
committerThibaud Lepretre <thibaud.lepretre@gmail.com>2021-08-11 15:01:09 +0300
commitc73fe29e5e58fcd1bb1dfe52b08a4423e8f08d3a (patch)
tree7b1304a33fece2725d76844fc6f27c77a8bd00cd /src
parentcbd8ce77cbe0619e013ba920b75f90521c6d1850 (diff)
Add missing class without language- prefix
```html <figure class="language-js ..." ...> ```` must become ```html <figure class="language-js js ..." ...> ``` In addition fix padding to get the same pixel alignment for gutter and sourcecode
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scss/components/_code.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scss/components/_code.scss b/src/scss/components/_code.scss
index 265ba03..9a2c2e5 100755
--- a/src/scss/components/_code.scss
+++ b/src/scss/components/_code.scss
@@ -50,7 +50,7 @@ figure.highlight,
// Gutter which contains line numbers
.gutter {
border-right: map-get($highlight, border);
- padding: 0.3em 15px;
+ padding: 0.3rem 15px;
line-height: map-get($highlight, line-height);
font-size: map-get($highlight, font-size);
@@ -60,7 +60,7 @@ figure.highlight,
}
// Code container
.code {
- padding: 0.3em 15px 0.3em 1em;
+ padding: 0.3rem 15px 0.3rem 1em;
width: 100%;
pre {
@@ -112,4 +112,4 @@ figure.highlight,
font-size: 1em;
margin: 0 0 5px 0;
}
-} \ No newline at end of file
+}