Skip to content

Commit

Permalink
💄 Style: update footnotes style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Oct 6, 2024
1 parent 95436c1 commit 19ceeb2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,16 @@
margin-block: 1em;
padding-left: 1rem;
}

hr {
background-color: var(--#{$prefix}hr-background-color);
height: 1px;
margin-block: 1em;
}

code {
font-size: 0.75rem;
}

a:not(.footnote-backref) {
color: inherit;
Expand All @@ -443,14 +453,6 @@
margin-block: 0;
}

.footnotes {
hr {
background-color: var(--#{$prefix}hr-background-color);
height: 1px;
margin-block: 1em;
}
}

kbd {
display: inline-block;
padding: 0 0.25rem;
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.13-b66fd370" -}}
{{- .Scratch.Set "version" "v0.3.13-95436c11" -}}
{{- .Scratch.Set "this" dict -}}

{{- partial "init/detection-env.html" . -}}
Expand Down

0 comments on commit 19ceeb2

Please sign in to comment.