website: update style.

This commit is contained in:
jaywcjlove 2022-11-09 16:24:59 +08:00
parent 90c9fefa51
commit 7c2338ea76

View File

@ -708,7 +708,7 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
letter-spacing: 0.05em;
}
.wrap-header.h3wrap > .wrap-body p,
.wrap-header.h3wrap > .wrap-body > p,
.h3wrap-body p {
margin: 0px;
width: 100%;
@ -720,7 +720,7 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
background-color: var(--color-bg-subtle);
}
.wrap-header.h3wrap > .wrap-body p:first-child:before {
.wrap-header.h3wrap > .wrap-body > p:first-child:before {
background-color: var(--color-bg-subtle);
color: rgb(30 41 59/0);
content: '-';
@ -732,13 +732,13 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after {
border-radius: 0.5rem 0.5rem 0 0;
}
.wrap-header.h3wrap > .wrap-body p:not(:first-child):last-child,
.wrap-header.h3wrap > .wrap-body > p:not(:first-child):last-child,
.h3wrap-body p:not(:first-child):last-child {
margin-top: auto;
border-radius: 0 0 0.5rem 0.5rem;
}
.wrap-header.h3wrap > .wrap-body :not(:first-child):last-child {
.wrap-header.h3wrap > .wrap-body > :not(:first-child):last-child {
border-radius: 0 0 0.5rem 0.5rem;
}