mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-16 05:21:12 +02:00
improve zoomed post content css
This commit is contained in:
parent
480d358c5f
commit
b87a625c38
@ -3002,7 +3002,7 @@
|
|||||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||||
<title>Tiny Tiny RSS - ".$line["title"]."</title>
|
<title>Tiny Tiny RSS - ".$line["title"]."</title>
|
||||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"tt-rss.css\">
|
<link rel=\"stylesheet\" type=\"text/css\" href=\"tt-rss.css\">
|
||||||
</head><body>";
|
</head><body id=\"ttrssZoom\">";
|
||||||
}
|
}
|
||||||
|
|
||||||
$rv['content'] .= "<div class=\"postReply\" id=\"POST-$id\">";
|
$rv['content'] .= "<div class=\"postReply\" id=\"POST-$id\">";
|
||||||
@ -3115,7 +3115,7 @@
|
|||||||
|
|
||||||
if ($zoom_mode) {
|
if ($zoom_mode) {
|
||||||
$rv['content'] .= "
|
$rv['content'] .= "
|
||||||
<div style=\"text-align : center\">
|
<div class='footer'>
|
||||||
<button onclick=\"return window.close()\">".
|
<button onclick=\"return window.close()\">".
|
||||||
__("Close this window")."</button></div>";
|
__("Close this window")."</button></div>";
|
||||||
$rv['content'] .= "</body></html>";
|
$rv['content'] .= "</body></html>";
|
||||||
|
16
tt-rss.css
16
tt-rss.css
@ -1204,3 +1204,19 @@ div.postHeader span.author {
|
|||||||
font-size : 11px;
|
font-size : 11px;
|
||||||
font-weight : normal;
|
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;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user