Commit f01f81edaf81568cd511b6c54a1eb6345dcdb06a

Authored by Omar Junior
Committed by Eduardo Vital
1 parent d3af1d85
Exists in news_page_css

Enhancing padding and margin in some divs

Signed-off-by: Omar Junior <omarroinuj@gmail.com>
Signed-off-by: Eduardo Vital <vitaldu@gmail.com>
Signed-off-by: Victor Navarro <victor.matias.navarro@gmail.com>
Signed-off-by: DylanGuedes <djmgguedes@gmail.com>
Signed-off-by: Jessica Cristina <jessica.cris1127@gmail.com>
Signed-off-by: Filipe Ribeiro <firibeiro77@live.com>

Signed-off-by: Omar Junior <omarroinuj@gmail.com>
Showing 1 changed file with 63 additions and 23 deletions   Show diff stats
@@ -480,6 +480,7 @@ p { @@ -480,6 +480,7 @@ p {
480 text-transform: uppercase; 480 text-transform: uppercase;
481 font-family: "open_sans", Arial, Helvetica, sans-serif; 481 font-family: "open_sans", Arial, Helvetica, sans-serif;
482 font-variant: normal; 482 font-variant: normal;
  483 + display: none;
483 } 484 }
484 485
485 #content .read-more a { 486 #content .read-more a {
@@ -2380,7 +2381,6 @@ body.contraste #content .box .block-title { @@ -2380,7 +2381,6 @@ body.contraste #content .box .block-title {
2380 2381
2381 body.contraste.action-home-index .container-block-plugin_container-block .container-block-plugin_container-block, 2382 body.contraste.action-home-index .container-block-plugin_container-block .container-block-plugin_container-block,
2382 body.contraste.action-environment_design-index .container-block-plugin_container-block .container-block-plugin_container-block, 2383 body.contraste.action-environment_design-index .container-block-plugin_container-block .container-block-plugin_container-block,
2383 -body.contraste.action-home-index #content .box .block-title,  
2384 body.contraste.action-environment_design-index #content .box .block-title, 2384 body.contraste.action-environment_design-index #content .box .block-title,
2385 body.contraste .container-block-plugin_container-block .block .block-inner-2, 2385 body.contraste .container-block-plugin_container-block .block .block-inner-2,
2386 body.contraste #footer-content { 2386 body.contraste #footer-content {
@@ -2926,19 +2926,25 @@ div.software-step-info div.current-step h3 { @@ -2926,19 +2926,25 @@ div.software-step-info div.current-step h3 {
2926 2926
2927 #content .blog-post{ 2927 #content .blog-post{
2928 background: none; 2928 background: none;
  2929 + border-bottom: 1px solid #ccc;
  2930 + padding-top: 25px;
2929 } 2931 }
2930 2932
2931 #content .blog-post h1.title { 2933 #content .blog-post h1.title {
2932 - margin-top: 0 !important; 2934 + padding-top: 0 !important;
  2935 + border-top: none !important;
  2936 + margin-top: 0px !important;
  2937 + margin-bottom: 0px !important;
2933 } 2938 }
2934 2939
2935 #content .blog-post .publishing-info{ 2940 #content .blog-post .publishing-info{
2936 - border-top: 1px solid #D7D7D7;  
2937 - padding-top: 25px;  
2938 - margin-top: 25px; 2941 + /*border-top: 1px solid #D7D7D7;*/
  2942 + padding-top: 0px;
  2943 + margin-top: 0px;
2939 font-size: 12px; 2944 font-size: 12px;
2940 color: #172838; 2945 color: #172838;
2941 font-family: arial; 2946 font-family: arial;
  2947 + margin-bottom: 0px;
2942 } 2948 }
2943 2949
2944 #content .main-block .publishing-info a{ 2950 #content .main-block .publishing-info a{
@@ -2963,6 +2969,9 @@ div.software-step-info div.current-step h3 { @@ -2963,6 +2969,9 @@ div.software-step-info div.current-step h3 {
2963 2969
2964 #content .main-block #article p{ 2970 #content .main-block #article p{
2965 text-align: justify; 2971 text-align: justify;
  2972 + max-height: 65px;
  2973 + text-overflow: ellipsis;
  2974 + overflow: hidden;
2966 } 2975 }
2967 2976
2968 #content .main-block #article .folder-content .item-info { 2977 #content .main-block #article .folder-content .item-info {
@@ -3020,59 +3029,90 @@ li.folder-item:first-child { @@ -3020,59 +3029,90 @@ li.folder-item:first-child {
3020 } 3029 }
3021 3030
3022 /* Código para o novo layout de notícias. Forçando soluções. */ 3031 /* Código para o novo layout de notícias. Forçando soluções. */
3023 -.position-2 { 3032 +.page-1 .position-2 {
3024 display: table-cell !important; 3033 display: table-cell !important;
3025 width: 222px; 3034 width: 222px;
3026 padding-left: 0px; 3035 padding-left: 0px;
3027 padding-right: 20px; 3036 padding-right: 20px;
3028 } 3037 }
3029 3038
3030 -.position-3 { 3039 +.page-1 .position-3 {
3031 display: table-cell !important; 3040 display: table-cell !important;
3032 width: 232px; 3041 width: 232px;
3033 padding-left: 10px; 3042 padding-left: 10px;
3034 padding-right: 10px; 3043 padding-right: 10px;
3035 } 3044 }
3036 3045
3037 -.position-4 { 3046 +.page-1 .position-4 {
3038 display: table-cell !important; 3047 display: table-cell !important;
3039 width: 222px; 3048 width: 222px;
3040 padding-left: 20px; 3049 padding-left: 20px;
3041 padding-right: 0px; 3050 padding-right: 0px;
3042 } 3051 }
3043 3052
3044 -.position-1 img { 3053 +.page-1 .position-2 .short-post, .position-3 .short-post, .position-4 .short-post {
  3054 + text-align: justify;
  3055 + max-height: 45px;
  3056 + text-overflow: ellipsis;
  3057 + overflow: hidden;
  3058 +}
  3059 +
  3060 +.page-1 .position-2 img, .position-3 img, .position-4 img {
  3061 + width: 222px !important;
  3062 + height: 135px !important;
  3063 + max-width: none !important;
  3064 + top: 10px;
  3065 + margin-top: 5px;
  3066 +}
  3067 +
  3068 +.page-1 .position-1 img {
3045 width: 726px !important; 3069 width: 726px !important;
3046 max-height: 315px; 3070 max-height: 315px;
3047 max-width: none !important; 3071 max-width: none !important;
3048 } 3072 }
3049 3073
3050 -.position-1 .title a { 3074 +.page-1 .position-1 .title a {
3051 font-size: 32px !important; 3075 font-size: 32px !important;
3052 } 3076 }
3053 3077
  3078 +.page-1 .blog-post .post-pic {
  3079 + border-radius: 8px;
  3080 + margin-bottom: 5px;
  3081 +}
  3082 +
  3083 +.page-1 .position-1 .post-pic {
  3084 + height: 315px;
  3085 +}
  3086 +
3054 .title a { 3087 .title a {
3055 font-size: 16px; 3088 font-size: 16px;
3056 font-family: arial; 3089 font-family: arial;
3057 } 3090 }
3058 3091
3059 -.position-2 img, .position-3 img, .position-4 img {  
3060 - width: 222px !important;  
3061 - height: 135px !important;  
3062 - max-width: none !important;  
3063 - top: 10px; 3092 +#content #article .article-body img {
  3093 + border-radius: 8px;
3064 } 3094 }
3065 3095
3066 -.blog-post .post-pic {  
3067 - border-radius: 8px; 3096 +.page-1 .position-5 h1.title {
  3097 + /* background-color: gray; */
  3098 + padding-left: 25px;
  3099 + margin-bottom: 0px;
3068 } 3100 }
3069 3101
3070 -#content #article .article-body img {  
3071 - border-radius: 8px; 3102 +.page-1 .position-5 .post-pic {
  3103 + width: 150px;
  3104 + height: 100px;
  3105 + float: left;
  3106 + margin-right: 10px;
3072 } 3107 }
3073 3108
3074 -/*Forçando main content a ocupar todo o espaço*/ 3109 +.position-5 .short-post {
  3110 + text-align: justify;
  3111 + max-height: 25px;
  3112 + text-overflow: ellipsis;
  3113 + overflow: hidden;
  3114 +}
3075 3115
3076 -.main-content{  
3077 - width: 130%;  
3078 -}  
3079 \ No newline at end of file 3116 \ No newline at end of file
  3117 +#content .main-block .article-body P {
  3118 + margin-bottom: -5px;
  3119 +}