Skip to content

Commit

Permalink
feat(css): maximize cover picture
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Dec 18, 2023
1 parent cbb6850 commit 7f4fb28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ a.VPSocialLink[aria-label="mastodon"]>svg {
margin-top: 0;
}

/* cover size */
.main div[name="post-elements"] + figure img {
width: 100%;
}

.main img {
border-radius: 0.5rem;
box-shadow: 0 0.5rem 0.8rem var(--ct-c-shadow);
Expand Down

0 comments on commit 7f4fb28

Please sign in to comment.