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
|
// Style for list template
.entry {
&-list {
background-color: $main-background;
@media screen and (max-width: $tablet) {
padding-top: $space-large;
}
}
&-single {
line-height: 1.8;
margin-bottom: 22px;
background-color: $white;
box-shadow: 0 0 2px 0 rgba(137, 146, 177, 0.15), 0px 3px 10px 0 rgba(137, 146, 177, 0.1);
border-radius: $radius-large;
&:hover {
box-shadow: 0px 1px 15px 0 rgba(137, 146, 177, 0.15), 0px 10px 20px 0 rgba(137, 146, 177, 0.15);
}
}
&-cover {
max-width: 100%;
border-radius: $radius-large $radius-large 0 0;
object-fit: cover;
box-shadow: none;
}
&-title {
margin: 0;
padding: $space-normal $space-large 0;
}
&-link {
font-size: $size-4;
font-weight: $weight-bold;
color: $text-title;
}
&-summary {
padding: 0 $space-large;
text-align: justify;
max-height: 4rem;
overflow: hidden;
}
&-footer {
margin: 0 $space-large;
padding: $space-small 0;
border-top: 1px solid $border-color;
display: flex;
justify-content: space-between;
}
&-meta {
margin: 0;
font-size: $size-7;
letter-spacing: 1px;
text-transform: uppercase;
}
&-time {
color: $grey-dark;
&:after {
content: '';
border-right: 1px solid $border-color;
margin: 0px 8px 0px 10px;
}
}
}
|