diff options
Diffstat (limited to 'plugins/jetpack/modules/related-posts/related-posts.css')
-rw-r--r-- | plugins/jetpack/modules/related-posts/related-posts.css | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/related-posts/related-posts.css b/plugins/jetpack/modules/related-posts/related-posts.css index fa9e84e6..6627c2c5 100644 --- a/plugins/jetpack/modules/related-posts/related-posts.css +++ b/plugins/jetpack/modules/related-posts/related-posts.css @@ -125,7 +125,7 @@ display: block; width: 100%; min-width: 30px; - border-top: 1px solid #ddd; + border-top: 1px solid #dcdcde; border-top: 1px solid rgba(0,0,0,.2); margin-bottom: 1em; } @@ -181,7 +181,8 @@ /* Related posts item content */ #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title, -#jp-relatedposts .jp-relatedposts-items p { +#jp-relatedposts .jp-relatedposts-items p, +#jp-relatedposts .jp-relatedposts-items time { font-size: 14px; line-height: 20px; margin: 0; @@ -199,7 +200,8 @@ border-bottom: 0; } -#jp-relatedposts .jp-relatedposts-items p { +#jp-relatedposts .jp-relatedposts-items p, +#jp-relatedposts .jp-relatedposts-items time { margin-bottom: 0; } @@ -234,6 +236,7 @@ #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img, #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span { + height: auto; max-width: 100%; } @@ -312,3 +315,13 @@ margin-right: 0; } } + +/* + * Hide the related post section in the print view of a post + */ + +@media print { + .jp-relatedposts { + display:none !important; + } +}
\ No newline at end of file |