news-page.css
4.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/*** News Page's homepage ***/
/** Header's Block **/
.profile-name-is-spb #article #article-toolbar #article-header h1.title,
#content .blog #article-header h1.title{
margin: 20px 0px 10px 0px;
padding: 0px 0px 10px 0px;
border-bottom: 1px solid #D3D6DE;
font: normal normal bold 35px/37px arial;
}
/* WARNING:
* This solution is TEMPORARY. This informations shouldn't exist
* in this area.
*
* TODO: Remove this informations of the html and, then, from here.
*/
#article-toolbar a.button.icon-feed.blog-feed-link {
display: none;
}
/* WARNING:
* This solution is TEMPORARY. This informations shouldn't exist
* in this area.
*
* TODO: Remove this informations of the html and, then, from here.
*/
#content .blog #article-header .publishing-info .date,
#content .blog #article-header .publishing-info .author,
#content .blog #article-header .publishing-info .comments {
display: none;
}
/** General Properties of News **/
#content .blog .article-body p {
margin: 0px 0px 5px 0px;
max-height: 25px;
color: #172738;
text-align: left;
text-overflow: ellipsis;
font: 14px/21px arial;
overflow: hidden;
}
#content .blog .publishing-info {
display: inline;
}
#content .blog .blog-post {
margin: 0 auto;
border-bottom: 1px solid #ccc;
padding: 25px 0px 0px 0px;
background: none;
}
#content .blog .blog-post h1.title {
margin: 0px 0px 10px 0px;
padding: 0px 0px 0px 0px;
max-width: 555px;
max-height: 40px;
border: none;
font: normal normal bold 16px/20px arial;
overflow: hidden;
display: inline-block;
}
#content .blog .blog-post h1.title a {
color: black;
}
/* WARNING:
* This solution is TEMPORARY. This informations shouldn't exist
* in this area.
*
* TODO: Remove this informations of the html and, then, from here.
*/
#content .blog .blog-post .author {
display: none;
}
#content .blog .blog-post .publishing-info {
border-top: none;
color: #172838;
font: 13px/21px arial;
}
#content .blog .blog-post .publishing-info .date {
margin: 0px 0px 5px 0px;
display: block;
}
#content .blog .blog-post .post-pic {
margin: 0px 20px 5px 0px;
border-radius: 4px;
height: 80px;
width: 20%;
background: center/cover no-repeat;
float: left;
}
#content .blog .blog-post .short-post {
max-height: 35px;
text-align: justify;
text-overflow: ellipsis;
overflow: hidden;
}
/* WARNING:
* This solution is TEMPORARY. This informations shouldn't exist
* in this area.
*
* TODO: Remove this informations of the html and, then, from here.
* The correct is the text is sensitive to lead to the complete text.
*/
#content .blog .blog-post .read-more {
display: none;
}
#content .blog #article-actions:last-child {
border-top: none;
}
/** end of General Properties of News **/
/** Main News' Block **/
#content .blog .page-1 .position-1 {
padding: 0px 0px 0px 0px;
}
#content .blog .page-1 .position-1 .title a {
line-height: 37px;
color: #172738 !important;
font-size: 34px;
}
#content .blog .page-1 .position-1 .post-pic {
margin: 0px 0px 13px 0px;
max-height: 320px;
height: 320px;
width: 100%;
}
#content .blog .page-1 .position-1 .short-post {
max-height: 50px;
}
/** Secondary News' Block **/
#content .blog .page-1 .position-2,
#content .blog .page-1 .position-3,
#content .blog .page-1 .position-4 {
margin: 0px;
padding: 20px 4.2% 5px 0px;
height: auto;
width: 30.5%;
display: block;
float: left;
}
#content .blog .page-1 .position-2 p,
#content .blog .page-1 .position-3 p,
#content .blog .page-1 .position-4 p {
max-height: 45px;
}
#content .blog .page-1 .position-4 {
margin: 0px;
padding-right: 0px;
}
#content .blog .page-1 .position-2 .post-pic,
#content .blog .page-1 .position-3 .post-pic,
#content .blog .page-1 .position-4 .post-pic {
margin-top: 12px;
top: 10px;
height: 120px;
width: 100%;
}
#content .blog .page-1 .position-4 .post-pic {
margin-right: 0px;
}
#content .blog .page-1 .position-2 .short-post,
#content .blog .page-1 .position-3 .short-post,
#content .blog .page-1 .position-4 .short-post {
max-height: 50px;
color: #172738;
text-align: justify;
text-overflow: ellipsis;
overflow: hidden;
}
/** Lastest News' Block ***/
/* This rule serves to maintain the element in position-5 clear the
* configurations of float.
*/
#content .blog .blog-post.position-5 {
clear: both;
}
/** Pagination **/
#content #article .pagination .next_page{
position: relative;
}
/*** end of News Page's homepage ***/