Skip to content

Commit

Permalink
add gradient border to distinguish gif from background
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Nov 6, 2023
1 parent 48b44fb commit a99a8d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.VPImage.image-src {
max-width: 640px;
border: double 4px transparent;
border-radius: 10px;
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00, #3020ff);
background-origin: border-box;
background-clip: padding-box, border-box;
}

@media screen and (max-width: 960px) {
Expand Down

0 comments on commit a99a8d3

Please sign in to comment.