Skip to content
Snippets Groups Projects
Commit 49ef043e authored by PLanCompS's avatar PLanCompS
Browse files

Update code.scss

Removed some comments and layout
parent b5cd5324
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ code { ...@@ -18,7 +18,7 @@ code {
// //
// ```[LANG]...```, kramdown line_numbers = true: // ```[LANG]...```, kramdown line_numbers = true:
// div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code // div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
// > div.table-wrapper > table.rouge-table > tbody > tr // > div.table-wrapper > table.rouge-table > tbody > tr
// > td.rouge-gutter.gl > pre.lineno // > td.rouge-gutter.gl > pre.lineno
// | td.rouge-code > pre // | td.rouge-code > pre
// //
...@@ -34,11 +34,10 @@ code { ...@@ -34,11 +34,10 @@ code {
// fix_linenos removes the outermost pre when it encloses table.rouge-table // fix_linenos removes the outermost pre when it encloses table.rouge-table
// //
// See docs/index-test.md for some tests. // See docs/index-test.md for some tests.
// //
// No kramdown line_numbers: fences and Liquid highlighting look the same. // No kramdown line_numbers: fences and Liquid highlighting look the same.
// Kramdown line_numbers = true: fences have a wider gutter than with Liquid? // Kramdown line_numbers = true: fences have a wider gutter than with Liquid?
pre.highlight, pre.highlight,
figure.highlight { figure.highlight {
padding: $sp-3; padding: $sp-3;
...@@ -76,10 +75,10 @@ div.highlight { ...@@ -76,10 +75,10 @@ div.highlight {
// With linenos or kramdown line_numbers option: // With linenos or kramdown line_numbers option:
figure.highlight > pre > code, // {% highlight linenos %} figure.highlight > pre > code,
figure.highlight > code, // with fix_linenos figure.highlight > code,
div.highlight > pre > code, // ```...``` div.highlight > pre > code,
div.highlight > code { // with fix_linenos div.highlight > code {
td, td,
td > pre { td > pre {
@include fs-2; @include fs-2;
...@@ -108,8 +107,7 @@ div.highlight > code { // with fix_linenos ...@@ -108,8 +107,7 @@ div.highlight > code { // with fix_linenos
// Jekyll 4.1.1: figure.highlight > pre > code > div > table > ... // Jekyll 4.1.1: figure.highlight > pre > code > div > table > ...
figure.highlight > pre > code .table-wrapper, figure.highlight > pre > code .table-wrapper,
div.highlight > pre > code .table-wrapper, div.highlight > pre > code .table-wrapper {
{
padding: 0; padding: 0;
margin-bottom: 0; margin-bottom: 0;
border: 0; border: 0;
......
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