Skip to content
Snippets Groups Projects
Commit 7df7572d authored by PLanCompS's avatar PLanCompS
Browse files

Update code.scss

Correected layout, order, values.
parent b41f28da
No related branches found
No related tags found
No related merge requests found
...@@ -43,37 +43,37 @@ figure.highlight { ...@@ -43,37 +43,37 @@ figure.highlight {
pre { pre {
padding: $sp-3; padding: $sp-3;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
} }
// With linenos: // With linenos:
figure.highlight > pre > code, figure.highlight > code figure.highlight > pre > code, figure.highlight > code {
{
td, td > pre { td,
@include fs-2; td > pre {
min-width: 0; @include fs-2;
padding: 0; min-width: 0;
background-color: $code-background-color; padding: 0;
border-bottom: none; background-color: $code-background-color;
border-left: none; border-bottom: 0;
} border-left: 0;
}
td.gutter { td.gutter {
padding-right: 1rem; padding-right: 1rem;
} }
pre { pre {
line-height: 2; margin-top: 0;
margin-top: 0; line-height: 2;
} }
tbody > tr > td { tbody > tr > td {
border-bottom: none; padding-bottom: 0;
padding-bottom: 0; border-bottom: 0;
} }
} }
...@@ -82,8 +82,8 @@ tbody > tr > td { ...@@ -82,8 +82,8 @@ tbody > tr > td {
figure.highlight > pre > code .table-wrapper { figure.highlight > pre > code .table-wrapper {
padding: 0; padding: 0;
margin-bottom: 0; margin-bottom: 0;
border: 0;
box-shadow: none; box-shadow: none;
border: none;
} }
// Using fix_linenos: figure.highlight > code > div > table > ... // Using fix_linenos: figure.highlight > code > div > table > ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment