aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css/jekyll-theme/posts.css
blob: 1395c05f18310c4d1fcb6b8164bb8f324136f894 (plain) (blame)
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
/* I don't like how on my phone, sometimes the date is wrapped, and sometimes
 * it isn't. So on xs devices, the date is always beneath the header. */
@media (min-width: 768px) {
  .post-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 1em;
  }
}
.post-date {
  flex: none;
}
.post-date a.category {
  margin-right: .5em;
}

/* On the sidebar, the date is always beside the header. */
.list-group-item .post-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 1em;
}

/* Don't use an actual <hr>, it's margins are too big, use a border instead. */
.feed-entry {
  margin-bottom: 15px;
  /* The color of <hr>. */
  border-bottom: 1px solid #eee;
}