Skip to content

Commit

Permalink
fix(style): 只修改文章大图样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Mar 2, 2024
1 parent 7cec5d2 commit 39322ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ p>a>img[alt^="Badge:"] {
}

/* image */
.main img {
.main figure img {
border-radius: 0.5rem;
box-shadow: 0 0.5rem 0.8rem var(--vp-c-default-soft);
margin-bottom: 0.8rem;
margin-left: auto;
margin-right: auto;
}

.dark .main img {
.dark .main figure img {
border: 0.1rem solid var(--vp-c-neutral);
box-shadow: none;
}
Expand Down

0 comments on commit 39322ae

Please sign in to comment.