mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-21 06:27:35 +08:00
website: add anchor positioning style. 4122b48f76
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user