Commit 94738abb355e88065825a4439bb23a01238a838c
Committed by
Melissa Wen
1 parent
233bad74
Exists in
master
and in
26 other branches
Adjustments in the area of blog and blog tab - #437
Showing
2 changed files
with
26 additions
and
10 deletions
Show diff stats
src/noosfero-spb/noosfero-spb-theme/css/community-pages.css
| @@ -409,18 +409,19 @@ | @@ -409,18 +409,19 @@ | ||
| 409 | } | 409 | } |
| 410 | 410 | ||
| 411 | #content #blog-tab .blog .blog-post h1{ | 411 | #content #blog-tab .blog .blog-post h1{ |
| 412 | - margin: 0px 0px 10px 0px; | 412 | + margin: 0px 0px 4px 0px; |
| 413 | padding: 0px 0px 0px 0px; | 413 | padding: 0px 0px 0px 0px; |
| 414 | - max-width: 555px; | 414 | + max-width: 100%; |
| 415 | max-height: 40px; | 415 | max-height: 40px; |
| 416 | border: none; | 416 | border: none; |
| 417 | font: normal normal bold 16px/20px Arial; | 417 | font: normal normal bold 16px/20px Arial; |
| 418 | overflow: hidden; | 418 | overflow: hidden; |
| 419 | - display: inline-block; | 419 | + display: block; |
| 420 | + text-align: left; | ||
| 420 | } | 421 | } |
| 421 | 422 | ||
| 422 | #content #blog-tab .blog .blog-post .post-pic{ | 423 | #content #blog-tab .blog .blog-post .post-pic{ |
| 423 | - margin:0 20px 5px 0px; | 424 | + margin:0 20px 25px 0px; |
| 424 | border-radius: 4px; | 425 | border-radius: 4px; |
| 425 | height: 62px; | 426 | height: 62px; |
| 426 | width: 19%; | 427 | width: 19%; |
| @@ -477,6 +478,7 @@ | @@ -477,6 +478,7 @@ | ||
| 477 | color: #172738; | 478 | color: #172738; |
| 478 | padding-left:0px; | 479 | padding-left:0px; |
| 479 | text-align: left; | 480 | text-align: left; |
| 481 | + display: inline-block; | ||
| 480 | } | 482 | } |
| 481 | #content #blog-tab .blog .blog-post.position-1 .date{ | 483 | #content #blog-tab .blog .blog-post.position-1 .date{ |
| 482 | padding-left:0px; | 484 | padding-left:0px; |
src/noosfero-spb/noosfero-spb-theme/css/news-page.css
| @@ -57,13 +57,14 @@ | @@ -57,13 +57,14 @@ | ||
| 57 | 57 | ||
| 58 | #content .blog .blog-post h1.title { | 58 | #content .blog .blog-post h1.title { |
| 59 | margin: 0px 0px 10px 0px; | 59 | margin: 0px 0px 10px 0px; |
| 60 | - padding: 0px 0px 0px 0px; | ||
| 61 | - max-width: 555px; | 60 | + padding: 0px; |
| 61 | + max-width: 100%; | ||
| 62 | max-height: 40px; | 62 | max-height: 40px; |
| 63 | border: none; | 63 | border: none; |
| 64 | font: normal normal bold 16px/20px arial; | 64 | font: normal normal bold 16px/20px arial; |
| 65 | overflow: hidden; | 65 | overflow: hidden; |
| 66 | - display: inline-block; | 66 | + display: block; |
| 67 | + white-space: normal; | ||
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | #content .blog .blog-post h1.title a { | 70 | #content .blog .blog-post h1.title a { |
| @@ -148,15 +149,24 @@ | @@ -148,15 +149,24 @@ | ||
| 148 | 149 | ||
| 149 | 150 | ||
| 150 | /** Secondary News' Block **/ | 151 | /** Secondary News' Block **/ |
| 152 | + | ||
| 153 | +#content .blog .page-1 .position-1 .title, | ||
| 154 | +#content .blog .page-1 .position-2 .title, | ||
| 155 | +#content .blog .page-1 .position-3 .title, | ||
| 156 | +#content .blog .page-1 .position-4 .title { | ||
| 157 | + display: inline-block; | ||
| 158 | +} | ||
| 159 | + | ||
| 151 | #content .blog .page-1 .position-2, | 160 | #content .blog .page-1 .position-2, |
| 152 | #content .blog .page-1 .position-3, | 161 | #content .blog .page-1 .position-3, |
| 153 | #content .blog .page-1 .position-4 { | 162 | #content .blog .page-1 .position-4 { |
| 154 | - margin: 0px 0px 0px 0px; | ||
| 155 | - padding: 20px 21px 45px 0px; | ||
| 156 | - height: 235px; | 163 | + margin: 0px; |
| 164 | + padding: 20px 21px 5px 0px; | ||
| 165 | + height: auto; | ||
| 157 | width: 30.5%; | 166 | width: 30.5%; |
| 158 | display: block; | 167 | display: block; |
| 159 | float: left; | 168 | float: left; |
| 169 | + border-bottom: none; | ||
| 160 | } | 170 | } |
| 161 | 171 | ||
| 162 | #content .blog .page-1 .position-2 p, | 172 | #content .blog .page-1 .position-2 p, |
| @@ -200,6 +210,10 @@ | @@ -200,6 +210,10 @@ | ||
| 200 | /* This rule serves to maintain the element in position-5 clear the | 210 | /* This rule serves to maintain the element in position-5 clear the |
| 201 | * configurations of float. | 211 | * configurations of float. |
| 202 | */ | 212 | */ |
| 213 | +#content .blog .page-1 .blog-post.position-5{ | ||
| 214 | + border-top:1px solid #ccc; | ||
| 215 | +} | ||
| 216 | + | ||
| 203 | #content .blog .blog-post.position-5 { | 217 | #content .blog .blog-post.position-5 { |
| 204 | clear: both; | 218 | clear: both; |
| 205 | } | 219 | } |