diff --git a/sass/elements/_elements.scss b/sass/elements/_elements.scss index 139bbcc..4909ddc 100644 --- a/sass/elements/_elements.scss +++ b/sass/elements/_elements.scss @@ -35,4 +35,8 @@ img { max-width: 100%; /* Adhere to container width. */ } +figure { + margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ +} + @import "tables"; \ No newline at end of file diff --git a/style.css b/style.css index d665be7..4f67dfe 100644 --- a/style.css +++ b/style.css @@ -405,6 +405,10 @@ img { max-width: 100%; /* Adhere to container width. */ } +figure { + margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ +} + table { margin: 0 0 1.5em; width: 100%;