Skip to content

Commit f2847e2

Browse files
committed
Start the rework, attention to home and news pages
Signed-off-by: falkTX <falktx@falktx.com>
1 parent abe18de commit f2847e2

File tree

9 files changed

+859
-815
lines changed

9 files changed

+859
-815
lines changed

css/reset.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ table, table td {
4040
img, embed {
4141
vertical-align: top;
4242
}
43+
44+
/* Getting the new tags to behave */
45+
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup,
46+
keygen, meter, nav, output, progress, section, source, video {
47+
display: block;
48+
}
49+
mark, rp, rt, ruby, summary, time {
50+
display: inline;
51+
}

css/style-news-full.css

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,24 @@
11
.news li {
2-
overflow: hidden;
3-
position: relative;
4-
padding: 0 0 10px 84px;
2+
margin-bottom: 40px;
53
}
6-
.news li:last-child {
7-
padding-bottom: 0;
4+
.news li .title {
5+
display: flex;
6+
align-items: center;
87
}
98
.news li figure {
10-
font-weight: 300;
11-
width: 65px;
12-
height: 65px;
13-
position: absolute;
14-
left: 0;
15-
top: 0;
16-
text-align: center;
9+
margin-left: 10px;
10+
margin-right: 20px;
11+
min-width: 70px;
1712
color: #818181;
13+
font-size: 1.1rem;
14+
text-align: center;
1815
text-transform: uppercase;
1916
}
2017
.news li figure strong {
21-
display: inline;
22-
font-size: 17px;
23-
line-height: 2.0em;
24-
margin-bottom: -7px;
25-
padding-top: 4px;
18+
white-space: nowrap;
2619
}
2720
.news li figure p {
28-
display: inline;
29-
font-size: 17px;
30-
line-height: 0.1em;
31-
color: #f9f9f9/* XX-WHITE #272727 */;
32-
float: right;
33-
margin-right: 3px;
21+
color: #f9f9f9 /* XX-WHITE #272727 */;
22+
font-weight: bold;
23+
margin: 0;
3424
}

css/style-news-mini.css

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,23 @@
11
.news li {
2-
overflow: hidden;
3-
position: relative;
4-
padding: 0 0 5px 84px;
2+
display: flex;
3+
margin-right: 20px;
54
}
65
.news li figure {
76
color: #818181;
8-
font-weight: 300;
9-
width: 65px;
10-
height: 65px;
11-
position: absolute;
12-
left: 0;
13-
top: 0;
7+
font-size: 1.1rem;
8+
margin-right: 10px;
9+
min-width: 70px;
1410
text-align: center;
1511
text-transform: uppercase;
1612
}
13+
.news li figure strong {
14+
white-space: nowrap;
15+
}
1716
.news li figure p {
1817
color: #f9f9f9; /* WHITE color:#272727; */
19-
display: inline;
20-
float: right;
2118
font-weight: bold;
22-
/* font-size: 1.1rem; */
23-
line-height: 1em;
24-
margin-right: 7px;
25-
}
26-
.news li figure strong {
27-
display: inline;
28-
/* font-size: 1.1rem; */
29-
line-height: 1.6em;
19+
margin: 0;
3020
}
31-
.news li p {
21+
.news li .content p {
3222
font-size: 0.92rem;
3323
}

0 commit comments

Comments
 (0)