Commit b98f0ac7048ed77dc0537d7bebe764fce7b8b06d
1 parent
7b37b13a
adjustments width, height and font-family.
Showing
1 changed file
with
38 additions
and
16 deletions
Show diff stats
news.css
1 | -.action-content_viewer-view_page #content .main-block #article p { | |
1 | +/*.action-content_viewer-view_page #content .main-block #article p { | |
2 | 2 | max-height: 65px; |
3 | 3 | overflow: hidden; |
4 | 4 | text-align: left; |
5 | 5 | text-overflow: ellipsis; |
6 | 6 | } |
7 | +*/ | |
7 | 8 | |
8 | 9 | /******************** New layout of blog. ********************/ |
9 | 10 | |
... | ... | @@ -29,10 +30,11 @@ |
29 | 30 | background-repeat: no-repeat; |
30 | 31 | border-radius: 4px; |
31 | 32 | float: left; |
32 | - height: 100px; | |
33 | + height: 136px; /*100px;*/ | |
33 | 34 | margin-bottom: 5px; |
34 | 35 | margin-right: 10px; |
35 | - width: 150px; | |
36 | + /*width: 150px;*/ | |
37 | + width: 33.33333333%; | |
36 | 38 | } |
37 | 39 | |
38 | 40 | .action-content_viewer-view_page .blog-post .short-post { |
... | ... | @@ -51,13 +53,13 @@ |
51 | 53 | /***** Behavior to special posts *****/ |
52 | 54 | |
53 | 55 | /* Featured post */ |
54 | -.action-content_viewer-view_page .page-1 .position-1{ | |
55 | - background-image: url('topo.png'); | |
56 | +/* REMOVER.action-content_viewer-view_page .page-1 .position-1{ | |
57 | + background-image: url("topo2.png"); | |
56 | 58 | background-repeat: no-repeat; |
57 | -} | |
59 | +}*/ | |
58 | 60 | .action-content_viewer-view_page .page-1 .position-1 .post-pic { |
59 | - height: 315px; | |
60 | - max-height: 315px; | |
61 | + height: 320px; | |
62 | + max-height: 320px; | |
61 | 63 | width: 100%; |
62 | 64 | } |
63 | 65 | |
... | ... | @@ -69,12 +71,17 @@ |
69 | 71 | } |
70 | 72 | |
71 | 73 | /* Secondary posts */ |
74 | +/*REMOVER.action-content_viewer-view_page .page-1 .position-2 { | |
75 | + background-image: url("lado-a-lado.png") !important; | |
76 | + background-repeat: no-repeat; | |
77 | +}*/ | |
78 | + | |
72 | 79 | |
73 | 80 | .action-content_viewer-view_page .page-1 .position-2 .short-post, |
74 | 81 | .action-content_viewer-view_page .page-1 .position-3 .short-post, |
75 | 82 | .action-content_viewer-view_page .page-1 .position-4 .short-post { |
76 | 83 | color: #172738; |
77 | - max-height: 45px; | |
84 | + max-height: 35px; /*45px;*/ | |
78 | 85 | overflow: hidden; |
79 | 86 | text-align: justify; |
80 | 87 | text-overflow: ellipsis; |
... | ... | @@ -86,8 +93,9 @@ |
86 | 93 | display: block; |
87 | 94 | float:left; |
88 | 95 | height: 235px; |
89 | - padding: 20px 23px 20px 0px; | |
90 | - width: 158px; | |
96 | + padding: 20px 14px 45px 0px; /*20px 23px 20px 0px;*/ | |
97 | + /*width: 158px;*/ | |
98 | + width: 32%; /*30%;*/ | |
91 | 99 | } |
92 | 100 | |
93 | 101 | .action-content_viewer-view_page #content .page-1 .position-4 { |
... | ... | @@ -96,8 +104,9 @@ |
96 | 104 | |
97 | 105 | .action-content_viewer-view_page .page-1 .position-2 .odd-post-inner, |
98 | 106 | .action-content_viewer-view_page .page-1 .position-3 .odd-post-inner, |
99 | -.action-content_viewer-view_page .page-1 .position-4 .odd-post-inner{ | |
100 | - max-height: 235px; | |
107 | +.action-content_viewer-view_page .page-1 .position-4 .odd-post-inner | |
108 | +.action-content_viewer-view_page .page-1 .position-2 .odd-post-inner .even-post-inner{ | |
109 | + max-height: 220px; /*235px;*/ | |
101 | 110 | overflow: hidden; |
102 | 111 | } |
103 | 112 | |
... | ... | @@ -105,7 +114,7 @@ |
105 | 114 | .action-content_viewer-view_page .page-1 .position-2 .post-pic, |
106 | 115 | .action-content_viewer-view_page .page-1 .position-3 .post-pic, |
107 | 116 | .action-content_viewer-view_page .page-1 .position-4 .post-pic { |
108 | - margin-top: 5px; | |
117 | + margin-top: 12px; /*5px;*/ | |
109 | 118 | top: 10px; |
110 | 119 | width: 100%; |
111 | 120 | } |
... | ... | @@ -130,6 +139,10 @@ |
130 | 139 | padding-top: 0px !important; |
131 | 140 | border-top: none !important; |
132 | 141 | } |
142 | +.action-content_viewer-view_page #content .main-block #article-header h1.title { | |
143 | + border:none !important; | |
144 | +} | |
145 | + | |
133 | 146 | |
134 | 147 | .action-content_viewer-view_page #content .blog-post h1.title { |
135 | 148 | border-top: none !important; |
... | ... | @@ -159,8 +172,9 @@ |
159 | 172 | } |
160 | 173 | |
161 | 174 | .action-content_viewer-view_page #content .main-block #article p { |
162 | - max-height: 65px; | |
175 | + max-height: 25px; /*65px;*/ | |
163 | 176 | overflow: hidden; |
177 | + text-align: left; | |
164 | 178 | text-overflow: ellipsis; |
165 | 179 | } |
166 | 180 | |
... | ... | @@ -172,6 +186,14 @@ |
172 | 186 | border-top: none; |
173 | 187 | color: #172838; |
174 | 188 | font-size: 12px; |
175 | - font-family: arial; | |
189 | + font-family: "Open sans",arial; | |
176 | 190 | line-height: 21px; |
177 | 191 | } |
192 | + | |
193 | +.action-content_viewer-view_page #content .blog-post .publishing-info .date { | |
194 | + display: block; | |
195 | + margin-bottom: 10px; | |
196 | +} | |
197 | +.action-content_viewer-view_page #content #article-actions:last-child { | |
198 | + border-top: none; | |
199 | +} | |
178 | 200 | \ No newline at end of file | ... | ... |