Browse Source

Fixing css issues because pandoc is double-nesting my code blocks *shakes fist*

image-sizing
Logan McGrath 11 months ago
parent
commit
22875e1cb2
  1. 5
      site/css/elements/_code.scss
  2. 2
      site/css/elements/_default.scss

5
site/css/elements/_code.scss

@ -51,10 +51,9 @@ code {
}
}
div.sourceCode {
div.sourceCode > div.sourceCode {
@include scrollable;
margin-left: 1rem;
margin-right: 1rem;
margin: 1rem;
code.sourceCode {
background-color: lighten($color-green, 78%);

2
site/css/elements/_default.scss

@ -39,7 +39,7 @@ p {
blockquote {
background-color: $color-green-light;
margin: 0.5rem 1rem;
margin: 1rem;
padding: 0.5rem 1rem;
border-left: $border-regular;
border-right: $border-thin;

Loading…
Cancel
Save