news-page.css
3.56 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
/*** News Page's homepage ***/
/** Header's Block **/
#content .blog #article-header h1.title {
margin: 0px 0px 0px 0px;
border: none;
padding: 0px 0px 0px 0px;
color: #FF0366;
text-transform: uppercase;
font: normal normal normal 16px/37px 'open sans';
}
/* 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;
}
/** end of Header's Block **/
/** General Properties of News **/
#content .blog 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;
border: none;
padding: 0px 0px 0px 0px;
font: normal normal bold 16px/20px 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.
*/
#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;
}
#content .blog #article-actions:last-child {
border-top: none;
}
/** end of General Properties of News **/
/** Main News' Block **/
#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;
}
/** end of Main News' Block **/
/** Secondary News' Block **/
#content .blog .page-1 .position-2,
#content .blog .page-1 .position-3,
#content .blog .page-1 .position-4 {
margin: 0px 0px 0px 0px;
padding: 20px 30px 45px 0px;
height: 235px;
width: 30.5%;
display: block;
float: left;
}
#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;
}
/** end of Secondary News' Block **/
/** 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;
}
/** end of Lastest News' Block **/
/*** end of News Page's homepage ***/