summaryrefslogtreecommitdiff
path: root/src/sass/underscores/_captions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/underscores/_captions.scss')
-rw-r--r--src/sass/underscores/_captions.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sass/underscores/_captions.scss b/src/sass/underscores/_captions.scss
new file mode 100644
index 0000000..c299bfe
--- /dev/null
+++ b/src/sass/underscores/_captions.scss
@@ -0,0 +1,16 @@
+.wp-caption {
+ margin-bottom: 1.5em;
+ max-width: 100%;
+
+ img[class*="wp-image-"] {
+ @include center-block;
+ }
+
+ .wp-caption-text {
+ margin: 0.8075em 0;
+ }
+}
+
+.wp-caption-text {
+ text-align: center;
+}