summaryrefslogtreecommitdiff
path: root/src/sass/underscores/_captions.scss
diff options
context:
space:
mode:
authorMax2018-10-15 23:46:42 +0200
committerMax2018-10-15 23:46:42 +0200
commit00c9709fd9763542e848f6278db8ba26af5c9886 (patch)
tree92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /src/sass/underscores/_captions.scss
downloadfuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz
Initial commit.
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;
+}