From c7f1ca59b6a78ee93595b2b6e1a868276757a4f1 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 18 Jun 2015 15:31:40 -0400 Subject: [PATCH] Wp Caption styling. --- css/app.css | 17 ++++++++++------- scss/_structure.scss | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/css/app.css b/css/app.css index 58d83de..4747083 100755 --- a/css/app.css +++ b/css/app.css @@ -6451,14 +6451,17 @@ div.wp-caption.aligncenter { .wp-caption img { margin: 0 auto; } .wp-caption p.wp-caption-text { - font-size: 14px !important; - padding: 5px; + color: green; + font-size: 13px; + line-height: 1.25; margin: 0 auto; + max-height: 100px; + max-width: 300px; + padding: 5px; text-align: center; - max-width: 180px; - color: green; } + font-family: sans-serif; } -.wp-caption-text, .gallery-one-title { +.gallery-one-title { font-family: sans-serif; font-size: 0.9em; padding: 5px; @@ -6493,9 +6496,9 @@ img.alignleft, img.alignright, img.aligncenter, div.wp-caption img { #blog-posts-container .wp-caption .wp-caption-text, #blog-posts-container .gallery-caption, #blog-posts-container .entry-caption { overflow: hidden; color: #757575; - font-size: 0.85714rem; + font-size: 13px; font-style: italic; - line-height: 2; } + line-height: 1.25; } #blog-posts-container .date { font-size: 12px; } #blog-posts-container footer.entry-meta { diff --git a/scss/_structure.scss b/scss/_structure.scss index 9763af2..dd1b509 100755 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -830,15 +830,18 @@ div.wp-caption.aligncenter { margin: 0 auto; } p.wp-caption-text { - font-size: 14px !important; - padding: 5px; + color: green; + font-size: 13px; + line-height: 1.25; margin: 0 auto; + max-height: 100px; + max-width: 300px; + padding: 5px; text-align: center; - max-width: 180px; - color: green; + font-family: sans-serif; } } -.wp-caption-text, .gallery-one-title { +.gallery-one-title { font-family: sans-serif; font-size: 0.9em; padding: 5px; @@ -881,9 +884,9 @@ img.alignleft, img.alignright, img.aligncenter, div.wp-caption img { .wp-caption .wp-caption-text, .gallery-caption, .entry-caption { overflow: hidden; color: #757575; - font-size: 0.857143rem; + font-size: 13px; font-style: italic; - line-height: 2; + line-height: 1.25; } .date { -- 2.17.1