ttrss_zoom: fix CSS

This commit is contained in:
Andrew Dolgov 2017-12-03 19:55:19 +03:00
parent bd66541325
commit 31e2811a63
3 changed files with 72 additions and 72 deletions

View File

@ -638,7 +638,7 @@ class Article extends Handler_Protected {
<link rel=\"shortcut icon\" type=\"image/png\" href=\"images/favicon.png\"> <link rel=\"shortcut icon\" type=\"image/png\" href=\"images/favicon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"72x72\" href=\"images/favicon-72px.png\"> <link rel=\"icon\" type=\"image/png\" sizes=\"72x72\" href=\"images/favicon-72px.png\">
</head><body class=\"claro ttrss_zoom\">"; </head><body class=\"claro ttrss_utility ttrss_zoom\">";
} }
$rv['content'] .= "<div class=\"postReply\" id=\"POST-$id\">"; $rv['content'] .= "<div class=\"postReply\" id=\"POST-$id\">";

File diff suppressed because one or more lines are too long

View File

@ -5,20 +5,27 @@ body.ttrss_zoom {
max-width : 770px; max-width : 770px;
background : #f5f5f5; background : #f5f5f5;
div.postHeader div.postFeedTitle { div.postHeader {
margin : 10px;
padding-bottom : 10px;
border: 0px solid #eee;
border-bottom-width: 1px;
background : white;
div.postFeedTitle {
float : left; float : left;
text-align : right; text-align : right;
padding-left : 0px; padding-left : 0px;
font-size : 11px; font-size : 11px;
} }
div.postHeader a.postComments { a.postComments {
text-align : right; text-align : right;
padding-left : 0px; padding-left : 0px;
font-size : 11px; font-size : 11px;
} }
div.postHeader div.postDate { div.postDate {
float : none; float : none;
text-align : right; text-align : right;
padding-left : 0px; padding-left : 0px;
@ -26,35 +33,24 @@ body.ttrss_zoom {
font-size : 11px; font-size : 11px;
} }
div.postHeader div.postTags { div.postTags {
color : #777; color : #777;
font-size : 11px; font-size : 11px;
} }
div.postHeader div.postTitle { div.postTitle {
white-space : normal; white-space : normal;
font-size : 16px; font-size : 16px;
} }
div.postContent {
font-size : 15px;
line-height : 1.5;
} }
div.postContent p { p {
-webkit-hyphens: auto; -webkit-hyphens: auto;
-moz-hyphens: auto; -moz-hyphens: auto;
hyphens: auto; hyphens: auto;
} }
div.postHeader {
margin : 10px;
border-width : 0px 0px 1px 0px;
border-style : solid;
border-color : #eee;
background : white;
}
div.postReply { div.postReply {
border : 1px solid #ddd; border : 1px solid #ddd;
background : white; background : white;
@ -67,39 +63,43 @@ body.ttrss_zoom {
text-align : center; text-align : center;
} }
div.postContent img {
div.postContent {
font-size : 15px;
line-height : 1.5;
padding : 10px;
img {
max-width : 730px; max-width : 730px;
height : auto; height : auto;
} }
div.postContent blockquote { blockquote {
margin : 5px 0px 5px 0px; margin : 5px 0px 5px 0px;
color : #555; color : #555;
padding-left : 10px; padding-left : 10px;
border-width : 0px 0px 0px 4px; border: 0px solid #ccc;
border-color : #ccc; border-left-width: 4px;
border-style : solid;
} }
div.postContent code { code {
color : #009900; color : #009900;
font-family : monospace; font-family : monospace;
font-size : 12px; font-size : 12px;
} }
div.postContent pre { pre {
margin : 5px 0px 5px 0px; margin : 5px 0px 5px 0px;
padding : 10px; padding : 10px;
color : #555; color : #555;
font-family : monospace; font-family : monospace;
font-size : 12px; font-size : 12px;
border-width : 0px; border: 0px solid #ccc;
border-color : #ccc;
border-style : solid;
background : #f5f5f5; background : #f5f5f5;
display : block; display : block;
max-width : 98%; max-width : 98%;
overflow : auto; overflow : auto;
} }
}
} }