aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css/jekyll-theme/posts.css
blob: c01a82b2eb0ae0602d74324863c39eac57b3ebaf (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
/* This is a relatively popular workaround to align side-by-side columns.
 * I use it for post headers. */
.post-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 1em;
}
.post-date a.category {
  margin-right: .5em;
}

/* On the sidebar, don't shrink the date part, shrink the header. */
.list-group-item .post-header {
  flex-wrap: nowrap;
}
.list-group-item .post-date {
  flex-shrink: 0;
}

.feed-entry {
  margin-bottom: 15px;
  /* The color of <hr>. */
  border-bottom: 1px solid #eee;
}