website: add anchor positioning style. 4122b48f76

This commit is contained in:
jaywcjlove
2022-10-15 18:23:38 +00:00
parent 693aa974a1
commit 3e19a9efad
44 changed files with 780 additions and 44 deletions

View File

@ -303,6 +303,7 @@ body.home .h1wrap .wrap-body p {
body:not(.home) .h2wrap > .wrap-body > ul {
list-style: initial;
margin-left: 1.2rem;
}
body.home .h1wrap p {
@ -428,7 +429,6 @@ a.text-grey {
font-size: 100%;
font-weight: inherit;
line-height: inherit;
-webkit-appearance: button;
background-color: transparent;
background-image: none;
color: var(--color-fg-default);
@ -719,6 +719,11 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
border-radius: 0 0 0.5rem 0.5rem;
}
.h2wrap-body > .wrap.active {
box-shadow: 0 0 0 1.6pt #10b981;
transition: box-shadow 0.5s ease-in-out;
}
.code-highlight {
display: block;
overflow-x: auto;