mirror of
https://github.com/thangisme/notes.git
synced 2024-11-20 07:55:54 -05:00
Update code.scss
Correected layout, order, values.
This commit is contained in:
parent
b41f28dade
commit
7df7572d91
@ -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 {
|
|||||||
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 > ...
|
||||||
|
Loading…
Reference in New Issue
Block a user