Commit 0d2ff8b9 authored by Dominik Gall's avatar Dominik Gall
Browse files

Refine and debug two column css

parent 874d24cf
......@@ -299,8 +299,14 @@ body {
/////////////////////////////////////////////
&.css-columns {
column-count: 2;
column-gap: 1.5em;
column-gap: 2em;
column-rule-style: none;
padding-left: 0.7em;
margin-left: -0.7em;
>* {
break-inside: avoid-column;
}
}
/////////////////////////////////////////////
......@@ -412,6 +418,19 @@ body {
}
}
// Special case: source code inside highlighted box
div.box {
div.sourceCode {
margin: 0;
background: rgba(255, 255, 255, 0.4);
padding: 0 0.2em;
pre {
margin: 0.2em 0;
}
}
}
/////////////////////////////////////////////
// References
/////////////////////////////////////////////
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment