mirror of
https://github.com/thangisme/notes.git
synced 2024-11-20 08:15:56 -05:00
Update code.scss
Correected layout, order, values.
This commit is contained in:
parent
b41f28dade
commit
7df7572d91
@ -49,31 +49,31 @@ figure.highlight {
|
||||
|
||||
// With linenos:
|
||||
|
||||
figure.highlight > pre > code, figure.highlight > code
|
||||
{
|
||||
figure.highlight > pre > code, figure.highlight > code {
|
||||
|
||||
td, td > pre {
|
||||
td,
|
||||
td > pre {
|
||||
@include fs-2;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
background-color: $code-background-color;
|
||||
border-bottom: none;
|
||||
border-left: none;
|
||||
}
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
td.gutter {
|
||||
td.gutter {
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
line-height: 2;
|
||||
pre {
|
||||
margin-top: 0;
|
||||
}
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
tbody > tr > td {
|
||||
border-bottom: none;
|
||||
tbody > tr > td {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -82,8 +82,8 @@ tbody > tr > td {
|
||||
figure.highlight > pre > code .table-wrapper {
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
// Using fix_linenos: figure.highlight > code > div > table > ...
|
||||
|
Loading…
Reference in New Issue
Block a user