From be51ee4bb385bc6e7647e6d745228ae69cb526d2 Mon Sep 17 00:00:00 2001 From: TomazMartins Date: Mon, 27 Jul 2015 17:46:27 -0300 Subject: [PATCH] Adjusting configurations of positions 2, 3, and 4 in page 1 --- news.css | 60 ++++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), 16 deletions(-) diff --git a/news.css b/news.css index e6d7ece..c0a4840 100644 --- a/news.css +++ b/news.css @@ -1,5 +1,5 @@ .action-content_viewer-view_page #content .main-block #article p { - text-align: justify; + text-align: left; max-height: 65px; text-overflow: ellipsis; overflow: hidden; @@ -24,7 +24,7 @@ } .action-content_viewer-view_page .blog-post .post-pic { - border-radius: 8px; + border-radius: 4px; width: 150px; height: 100px; float: left; @@ -42,6 +42,7 @@ .action-content_viewer-view_page .blog-post .short-post p { margin-bottom: -5px; + color: #172738; } /***** Behavior to special posts *****/ @@ -55,7 +56,10 @@ } .action-content_viewer-view_page .page-1 .position-1 .title a { - font-size: 32px; + font-size: 34px; + color: #172738 !important; + line-height: 37px; + } /* Secondary posts */ @@ -67,6 +71,17 @@ max-height: 45px; text-overflow: ellipsis; overflow: hidden; + color: #172738; +} +.action-content_viewer-view_page .page-1 .position-2, +.action-content_viewer-view_page .page-1 .position-3, +.action-content_viewer-view_page .page-1 .position-4 { + width: 150px; + display: block; + float:left; + height: 235px; + padding:30px; + } .action-content_viewer-view_page .page-1 .position-2 .post-pic, @@ -75,46 +90,61 @@ width: 100%; top: 10px; margin-top: 5px; + /*display: table-cell;*/ } -.action-content_viewer-view_page .page-1 .position-2 { - display: table-cell; +/*.action-content_viewer-view_page .page-1 .position-2 { + display: block; + float:left; width: 222px; padding-left: 0px; padding-right: 20px; } .action-content_viewer-view_page .page-1 .position-3 { - display: table-cell; + display: block; + float:left; width: 232px; padding-left: 10px; padding-right: 10px; } .action-content_viewer-view_page .page-1 .position-4 { - display: table-cell; + display: block; + float:left; width: 222px; padding-left: 20px; padding-right: 0px; } - +*/ .action-content_viewer-view_page #content .blog-post { background: none; border-bottom: 1px solid #ccc; padding-top: 25px; } +.action-content_viewer-view_page #content .main-block .article-body h1 { + padding-top: 0px !important; +} .action-content_viewer-view_page #content .blog-post h1.title { - padding-top: 0 !important; border-top: none !important; - margin-top: 0px !important; - margin-bottom: 0px !important; +} + +.action-content_viewer-view_page #content .blog-post .position-5 h1.title, +.action-content_viewer-view_page #content .blog-post .position-6 h1.title, +.action-content_viewer-view_page #content .blog-post .position-7 h1.title, +.action-content_viewer-view_page #content .blog-post .position-8 h1.title, +.action-content_viewer-view_page #content .blog-post .position-9 h1.title, +.action-content_viewer-view_page #content .blog-post .position-10 h1.title { + margin-top: 0px; + margin-bottom: 0px; + padding-top: 0px; } .action-content_viewer-view_page #content .main-block #article p { max-height: 65px; - text-overflow: ellipsis; overflow: hidden; + text-overflow: ellipsis; } .action-content_viewer-view_page #content .publishing-info { @@ -123,11 +153,9 @@ .action-content_viewer-view_page #content .blog-post .publishing-info { border-top: none; - padding-top: 0px; - margin-top: 0px; - font-size: 12px; color: #172838; + font-size: 12px; font-family: arial; - margin-bottom: 0px; + line-height: 21px; } -- libgit2 0.21.2