diff --git a/css/default.css b/css/default.css index 5f51dcb..d15851c 100644 --- a/css/default.css +++ b/css/default.css @@ -623,7 +623,7 @@ hr { flex-direction: column; max-width: 68%; margin-right: 4em; - padding: 0.8rem 1.15rem 0.9rem 1.45rem; + padding: 0.8rem; background-color: var(--color-surface); background-clip: padding-box; border: 1px solid var(--color-border); @@ -679,7 +679,7 @@ hr { div#contents-big li > a { display: block; - margin-left: 0; + margin: 0 0.2rem; padding: 0.14rem 0.32rem; border-radius: 0.55rem; border: 1px solid transparent; @@ -712,28 +712,17 @@ hr { } div#contents-big .mini-header a { - display: inline-flex; - align-items: center; - justify-content: center; - width: 1.25rem; - height: 1.25rem; + display: inline; margin-left: 0.25rem; - background-color: var(--color-surface-muted); - border: 1px solid var(--color-border); - border-radius: 999px; color: var(--color-link); - font-size: 0.78rem; + font-size: 0.85rem; line-height: 1; - vertical-align: middle; - transition: - color 0.18s ease, - background-color 0.18s ease, - border-color 0.18s ease; + vertical-align: baseline; + transition: color 0.18s ease; } div#contents-big .mini-header a:hover { - background-color: var(--color-linkhbg); - border-color: var(--color-border-strong); + background-color: transparent; color: var(--color-linkh); transform: none; } diff --git a/templates/note.html b/templates/note.html index 89cd0c1..b6bdd80 100644 --- a/templates/note.html +++ b/templates/note.html @@ -10,8 +10,7 @@ $partial("templates/head.html")$
-

Notes

-

Contents

+

Contents

$toc$