Merge pull request #326 from carpentries/callout-margins
authorRaniere Silva <raniere@rgaiacs.com>
Wed, 15 Aug 2018 16:05:18 +0000 (17:05 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Aug 2018 16:05:18 +0000 (17:05 +0100)
space out callout elements better

assets/css/lesson.scss

index 8a7b29548dd218d86ad411a27ecee7b255737f45..0a2ecc6b0e4ebab683cbb10bd73b3c4afcf17208 100644 (file)
@@ -29,10 +29,10 @@ $color-testimonial: #fc8dc1 !default;
 //----------------------------------------
 
 @mixin cdSetup($color) {
-  color: $color;
-  border-left: solid 5px $color;
-  margin-bottom: 0px;
-  border-radius: 4px 0 0 4px;
+    color: $color;
+    border-left: solid 5px $color;
+    margin: 15px;
+    border-radius: 4px 0 0 4px;
 }
 
 .error  { @include cdSetup($color-error); }
@@ -81,8 +81,11 @@ $codeblock-padding: 5px !default;
   padding-right: 0;
   border: 1px solid;
   border-color: $color;
+  border-radius: 4px;
   padding-bottom: $codeblock-padding;
 
+  margin: 15px;
+
   h2 {
     padding-top: $codeblock-padding;
     padding-bottom: $codeblock-padding;
@@ -126,6 +129,10 @@ $codeblock-padding: 5px !default;
 font-size: 18px;
 }
 
+blockquote p {
+    margin: 5px;
+}
+
 //----------------------------------------
 // Override Bootstrap settings.
 //----------------------------------------