blob: 32f78600eb66ea48d3bf5d9d7029e89ceb3778ea (
plain)
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
|
.post-link {
margin: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
background: #ffffff;
text-align: left;
transition: all 300ms ease-in-out;
}
.post-link > a > div {
display: grid;
grid-template-columns: 1fr 2fr;
}
.post-link:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
transform: scale(1.02);
}
.post-link > a {
text-decoration: none;
}
.post-link .post-container {
padding: 20px;
padding-top: 0;
}
.post-link .post-title {
color: #181818;
font-size: 1.3em;
}
.post-link .post-description {
color: #484848;
font-size: 0.9em;
}
.post-link .image {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
box-shadow: inset 0px 0px 100px rgba(0, 0, 0, 0.25);
}
.post-list {
width: 100%;
margin: 15px auto;
}
@media (max-width: 550px) {
.post-link > a > div {
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
}
}
|