Commit 017fcbd122056165656b647ac2c0995ed451b5e0
1 parent
89b5b2f1
The align of images and text
Showing
1 changed file
with
23 additions
and
6 deletions
Show diff stats
news.css
| ... | ... | @@ -75,14 +75,19 @@ |
| 75 | 75 | text-align: justify; |
| 76 | 76 | text-overflow: ellipsis; |
| 77 | 77 | } |
| 78 | -.action-content_viewer-view_page .page-1 .position-2, | |
| 79 | -.action-content_viewer-view_page .page-1 .position-3, | |
| 80 | -.action-content_viewer-view_page .page-1 .position-4 { | |
| 78 | + | |
| 79 | +.action-content_viewer-view_page #content .page-1 .position-2, | |
| 80 | +.action-content_viewer-view_page #content .page-1 .position-3, | |
| 81 | +.action-content_viewer-view_page #content .page-1 .position-4 { | |
| 81 | 82 | display: block; |
| 82 | 83 | float:left; |
| 83 | 84 | height: 235px; |
| 84 | - padding:30px; | |
| 85 | - width: 150px; | |
| 85 | + padding: 20px 23px 20px 0px; | |
| 86 | + width: 158px; | |
| 87 | +} | |
| 88 | + | |
| 89 | +.action-content_viewer-view_page #content .page-1 .position-4 { | |
| 90 | + padding-right: 0px; | |
| 86 | 91 | } |
| 87 | 92 | |
| 88 | 93 | .action-content_viewer-view_page .page-1 .position-2 .post-pic, |
| ... | ... | @@ -96,10 +101,22 @@ |
| 96 | 101 | .action-content_viewer-view_page #content .blog-post { |
| 97 | 102 | background: none; |
| 98 | 103 | border-bottom: 1px solid #ccc; |
| 99 | - padding-top: 25px; | |
| 104 | + padding: 25px 0px 20px 0px; | |
| 105 | + margin: 0px 0px; | |
| 100 | 106 | } |
| 107 | + | |
| 108 | +.action-content_viewer-view_page #content .page-1 .position-1 { | |
| 109 | + padding-bottom: 0px; | |
| 110 | +} | |
| 111 | + | |
| 112 | +/* This rule is a plan B. */ | |
| 113 | +/*.action-content_viewer-view_page .page-1 .position-3 { | |
| 114 | + padding: 25px !important; | |
| 115 | +}*/ | |
| 116 | + | |
| 101 | 117 | .action-content_viewer-view_page #content .main-block .article-body h1 { |
| 102 | 118 | padding-top: 0px !important; |
| 119 | + border-top: none !important; | |
| 103 | 120 | } |
| 104 | 121 | |
| 105 | 122 | .action-content_viewer-view_page #content .blog-post h1.title { | ... | ... |