summaryrefslogtreecommitdiff
path: root/http/src/css/feed.uppcss
blob: 60fcd6da3551e400d737b9d73f66a12b37f3474e (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
/* Assumes there is at most one level of subheading for sub-dividing entries */
.h-feed :is(h2, h3, h4, h5, h6) {
  margin-block-start: var(--spacing-block-md);
}

.h-feed ul:has(> .h-entry) {
  list-style-type: none;
  margin-inline: 0;

  ul {
    list-style-type: disc;
  }
}

.h-feed .h-entry {
  display: flex;
  flex-direction: column;
}

.h-feed .h-entry + .h-entry {
  margin-block-start: var(--spacing-block-md);
}

.h-feed .h-entry > * {
  order: 1;
  margin: 0;
}

.h-feed .h-entry .dt-published {
  order: 0;
  font-size: var(--font-size-sm);
}

.h-feed .h-entry .p-name {
  font-size: var(--font-size-md);
  font-weight: 400;
}

.h-feed .full-feed-link {
  text-align: end;
}

.h-feed :is(a.full-feed-link, .full-feed-link a)::after {
  content: ' >';
}