From: Andrew Dolgov Date: Sun, 24 Mar 2013 16:22:16 +0000 (+0400) Subject: improve zoomed post content css X-Git-Tag: 1.7.6~322 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b87a625c385ddfe7915c12d9f615a845fd65a0e7;p=tt-rss.git improve zoomed post content css --- diff --git a/include/functions.php b/include/functions.php index 2ae0dc3b..57838182 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3002,7 +3002,7 @@ Tiny Tiny RSS - ".$line["title"]." - "; + "; } $rv['content'] .= "
"; @@ -3115,7 +3115,7 @@ if ($zoom_mode) { $rv['content'] .= " -
+ "; $rv['content'] .= ""; diff --git a/tt-rss.css b/tt-rss.css index d693af93..715de1f6 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1204,3 +1204,19 @@ div.postHeader span.author { font-size : 11px; font-weight : normal; } + +body#ttrssZoom { + margin-left : auto; + margin-right : auto; + max-width : 650px; + background : #f0f0f0; +} + +body#ttrssZoom div.postContent, body#ttrssZoom div.postHeader { + background-color : white; +} + +body#ttrssZoom div.footer { + margin-top : 1em; + text-align : center; +}