aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/custom.css
blob: bb40a9c1ca266565406a820ef60b61c4e23d493b (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
46
47
/* Place a custom css file in your own project to use this. */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  border-bottom: var(--primary) solid 1px;
}

.post-content h1::before,
.post-content h2::before,
.post-content h3::before,
.post-content h4::before,
.post-content h5::before,
.post-content h6::before {
  color: var(--secondary);
  padding-right: 0.3rem;
}

.post-content h2::before { content: '#'; }
.post-content h3::before { content: '##'; }
.post-content h4::before { content: '###'; }
.post-content h5::before { content: '####'; }
.post-content h6::before { content: '#####'; }

.post-content h1 > a,
.post-content h2 > a,
.post-content h3 > a,
.post-content h4 > a,
.post-content h5 > a,
.post-content h6 > a {
  box-shadow: none;
}

.post-content h1 > a code,
.post-content h2 > a code,
.post-content h3 > a code,
.post-content h4 > a code,
.post-content h5 > a code,
.post-content h6 > a code {
  box-shadow: none;
}

li.revision {
  list-style: inside;
}