Skip to content

Commit

Permalink
Merge pull request carpentries#202 from rgaiacs/gh-pages
Browse files Browse the repository at this point in the history
Fix CSS to use .language-X class
  • Loading branch information
rgaiacs authored Feb 14, 2018
2 parents 27ead33 + 6a3a807 commit e512f44
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions assets/css/lesson.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,28 @@ $color-testimonial: #fc8dc1 !default;
.output { @include cdSetup($color-output); }
.source { @include cdSetup($color-source); }

.bash { @include cdSetup($color-source); }
.make { @include cdSetup($color-source); }
.matlab { @include cdSetup($color-source); }
.python { @include cdSetup($color-source); }
.r { @include cdSetup($color-source); }
.sql { @include cdSetup($color-source); }
.bash, .language-bash { @include cdSetup($color-source); }
.make, .language-make { @include cdSetup($color-source); }
.matlab, .language-matlab { @include cdSetup($color-source); }
.python, .language-python { @include cdSetup($color-source); }
.r, .language-r { @include cdSetup($color-source); }
.sql, .langauge-sql { @include cdSetup($color-source); }

.error pre,
.output pre,
.source pre,
.bash pre,
.language-bash pre,
.make pre,
.language-make pre,
.matlab pre,
.language-matlab pre,
.python pre,
.language-python pre,
.r pre,
.language-r pre,
.sql pre {
.language-sql pre {
border-radius: 0 4px 4px 0;
}

Expand Down

0 comments on commit e512f44

Please sign in to comment.