about summary refs log tree commit diff
path: root/wpisy/kronika.css
blob: 8428772ae9a0c8c9e6ef56706aef6170409b76f0 (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 var(--shade);
  /* 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 var(--shade-2);
  transform: scale(1.02);
}

.post-link > a {
  text-decoration: none;
}

.post-link .post-container {
  padding: 20px;
  padding-top: 0;
}

.post-link .post-title {
  color: var(--primary-alt-1);
  font-size: 1.3em;
}

.post-link .post-description {
  color: var(--primary-alt-2);
  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;
  }
}