lesson.scss: center images
authorMaxim Belkin <maxim.belkin@gmail.com>
Mon, 20 Aug 2018 18:18:04 +0000 (18:18 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Aug 2018 18:18:04 +0000 (18:18 +0000)
Pull Request: carpentries/styles#323

assets/css/lesson.scss

index 2e1c291e526ff8ae788b081c6f758c6bd763b348..d5662e065bfaf5580423c89ad5955d469d2d42ed 100644 (file)
@@ -144,8 +144,10 @@ code {
   background-color: #e7e7e7;
 }
 
-img {
-  max-width: 100%;
+article img {
+    display: block;
+    margin: 20px auto;
+    max-width: 100%;
 }
 
 //----------------------------------------