blob: 60b4715459da5cfa925f2bc9abbccea6fc7c084b (
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
|
/* 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;
}
/* 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;
}
|