From f01f81edaf81568cd511b6c54a1eb6345dcdb06a Mon Sep 17 00:00:00 2001 From: Omar Junior Date: Mon, 13 Jul 2015 14:24:32 -0300 Subject: [PATCH] Enhancing padding and margin in some divs --- style.css | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 63 insertions(+), 23 deletions(-) diff --git a/style.css b/style.css index 0f2a5fe..35be0f6 100644 --- a/style.css +++ b/style.css @@ -480,6 +480,7 @@ p { text-transform: uppercase; font-family: "open_sans", Arial, Helvetica, sans-serif; font-variant: normal; + display: none; } #content .read-more a { @@ -2380,7 +2381,6 @@ body.contraste #content .box .block-title { body.contraste.action-home-index .container-block-plugin_container-block .container-block-plugin_container-block, body.contraste.action-environment_design-index .container-block-plugin_container-block .container-block-plugin_container-block, -body.contraste.action-home-index #content .box .block-title, body.contraste.action-environment_design-index #content .box .block-title, body.contraste .container-block-plugin_container-block .block .block-inner-2, body.contraste #footer-content { @@ -2926,19 +2926,25 @@ div.software-step-info div.current-step h3 { #content .blog-post{ background: none; + border-bottom: 1px solid #ccc; + padding-top: 25px; } #content .blog-post h1.title { - margin-top: 0 !important; + padding-top: 0 !important; + border-top: none !important; + margin-top: 0px !important; + margin-bottom: 0px !important; } #content .blog-post .publishing-info{ - border-top: 1px solid #D7D7D7; - padding-top: 25px; - margin-top: 25px; + /*border-top: 1px solid #D7D7D7;*/ + padding-top: 0px; + margin-top: 0px; font-size: 12px; color: #172838; font-family: arial; + margin-bottom: 0px; } #content .main-block .publishing-info a{ @@ -2963,6 +2969,9 @@ div.software-step-info div.current-step h3 { #content .main-block #article p{ text-align: justify; + max-height: 65px; + text-overflow: ellipsis; + overflow: hidden; } #content .main-block #article .folder-content .item-info { @@ -3020,59 +3029,90 @@ li.folder-item:first-child { } /* Código para o novo layout de notícias. Forçando soluções. */ -.position-2 { +.page-1 .position-2 { display: table-cell !important; width: 222px; padding-left: 0px; padding-right: 20px; } -.position-3 { +.page-1 .position-3 { display: table-cell !important; width: 232px; padding-left: 10px; padding-right: 10px; } -.position-4 { +.page-1 .position-4 { display: table-cell !important; width: 222px; padding-left: 20px; padding-right: 0px; } -.position-1 img { +.page-1 .position-2 .short-post, .position-3 .short-post, .position-4 .short-post { + text-align: justify; + max-height: 45px; + text-overflow: ellipsis; + overflow: hidden; +} + +.page-1 .position-2 img, .position-3 img, .position-4 img { + width: 222px !important; + height: 135px !important; + max-width: none !important; + top: 10px; + margin-top: 5px; +} + +.page-1 .position-1 img { width: 726px !important; max-height: 315px; max-width: none !important; } -.position-1 .title a { +.page-1 .position-1 .title a { font-size: 32px !important; } +.page-1 .blog-post .post-pic { + border-radius: 8px; + margin-bottom: 5px; +} + +.page-1 .position-1 .post-pic { + height: 315px; +} + .title a { font-size: 16px; font-family: arial; } -.position-2 img, .position-3 img, .position-4 img { - width: 222px !important; - height: 135px !important; - max-width: none !important; - top: 10px; +#content #article .article-body img { + border-radius: 8px; } -.blog-post .post-pic { - border-radius: 8px; +.page-1 .position-5 h1.title { + /* background-color: gray; */ + padding-left: 25px; + margin-bottom: 0px; } -#content #article .article-body img { - border-radius: 8px; +.page-1 .position-5 .post-pic { + width: 150px; + height: 100px; + float: left; + margin-right: 10px; } -/*Forçando main content a ocupar todo o espaço*/ +.position-5 .short-post { + text-align: justify; + max-height: 25px; + text-overflow: ellipsis; + overflow: hidden; +} -.main-content{ - width: 130%; -} \ No newline at end of file +#content .main-block .article-body P { + margin-bottom: -5px; +} -- libgit2 0.21.2