aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css/jekyll-theme/posts.css
blob: 933dfa7f324ccedf5d55a509abc61558d8c496bc (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
/* 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 {
  text-align: right;
}
.post-date a.category {
  margin-right: .5em;
}

.sidebar .post-header {
  flex-wrap: nowrap;
}
.sidebar .post-date {
  flex-shrink: 0;
}

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