Commit 7efa59f9aadd393e71157f66a668b145381052e1

Authored by Tomáz Martins
1 parent 53599011
Exists in master and in 79 other branches add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev_env_minimal, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, prezento, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Fixing space between elements and title of blog

Besides, fixing the max-height of paragraphs in post of blog
Showing 1 changed file with 23 additions and 6 deletions   Show diff stats
css/news-page.css
@@ -2,12 +2,12 @@ @@ -2,12 +2,12 @@
2 2
3 /** Header's Block **/ 3 /** Header's Block **/
4 #content .blog #article-header h1.title { 4 #content .blog #article-header h1.title {
5 - margin: 0px 0px 0px 0px; 5 + margin: 0px 0px 10px 0px;
6 border: none; 6 border: none;
7 padding: 0px 0px 0px 0px; 7 padding: 0px 0px 0px 0px;
8 color: #FF0366; 8 color: #FF0366;
9 text-transform: uppercase; 9 text-transform: uppercase;
10 - font: normal normal normal 16px/37px 'open sans'; 10 + font: normal normal normal 16px/37px 'open_sansregular';
11 } 11 }
12 12
13 /* WARNING: 13 /* WARNING:
@@ -21,7 +21,6 @@ @@ -21,7 +21,6 @@
21 #content .blog #article-header .publishing-info .comments { 21 #content .blog #article-header .publishing-info .comments {
22 display: none; 22 display: none;
23 } 23 }
24 -/** end of Header's Block **/  
25 24
26 25
27 /** General Properties of News **/ 26 /** General Properties of News **/
@@ -90,6 +89,17 @@ @@ -90,6 +89,17 @@
90 overflow: hidden; 89 overflow: hidden;
91 } 90 }
92 91
  92 +/* WARNING:
  93 + * This solution is TEMPORARY. This informations shouldn't exist
  94 + * in this area.
  95 + *
  96 + * TODO: Remove this informations of the html and, then, from here.
  97 + * The correct is the text is sensitive to lead to the complete text.
  98 + */
  99 +#content .blog .blog-post .read-more {
  100 + display: none;
  101 +}
  102 +
93 #content .blog #article-actions:last-child { 103 #content .blog #article-actions:last-child {
94 border-top: none; 104 border-top: none;
95 } 105 }
@@ -97,6 +107,10 @@ @@ -97,6 +107,10 @@
97 107
98 108
99 /** Main News' Block **/ 109 /** Main News' Block **/
  110 +#content .blog .page-1 .position-1 {
  111 + padding: 0px 0px 0px 0px;
  112 +}
  113 +
100 #content .blog .page-1 .position-1 .title a { 114 #content .blog .page-1 .position-1 .title a {
101 line-height: 37px; 115 line-height: 37px;
102 color: #172738 !important; 116 color: #172738 !important;
@@ -113,7 +127,6 @@ @@ -113,7 +127,6 @@
113 #content .blog .page-1 .position-1 .short-post { 127 #content .blog .page-1 .position-1 .short-post {
114 max-height: 50px; 128 max-height: 50px;
115 } 129 }
116 -/** end of Main News' Block **/  
117 130
118 131
119 /** Secondary News' Block **/ 132 /** Secondary News' Block **/
@@ -128,6 +141,12 @@ @@ -128,6 +141,12 @@
128 float: left; 141 float: left;
129 } 142 }
130 143
  144 +#content .blog .page-1 .position-2 p,
  145 +#content .blog .page-1 .position-3 p,
  146 +#content .blog .page-1 .position-4 p {
  147 + max-height: 45px;
  148 +}
  149 +
131 #content .blog .page-1 .position-4 { 150 #content .blog .page-1 .position-4 {
132 margin: 0px; 151 margin: 0px;
133 padding-right: 0px; 152 padding-right: 0px;
@@ -155,7 +174,6 @@ @@ -155,7 +174,6 @@
155 text-overflow: ellipsis; 174 text-overflow: ellipsis;
156 overflow: hidden; 175 overflow: hidden;
157 } 176 }
158 -/** end of Secondary News' Block **/  
159 177
160 178
161 /** Lastest News' Block ***/ 179 /** Lastest News' Block ***/
@@ -166,6 +184,5 @@ @@ -166,6 +184,5 @@
166 #content .blog .blog-post.position-5 { 184 #content .blog .blog-post.position-5 {
167 clear: both; 185 clear: both;
168 } 186 }
169 -/** end of Lastest News' Block **/  
170 187
171 /*** end of News Page's homepage ***/ 188 /*** end of News Page's homepage ***/
172 \ No newline at end of file 189 \ No newline at end of file