Fix watermark

This commit is contained in:
2026-06-23 22:57:22 +08:00
parent 4bdf16b13a
commit 8efbdd7bc0
2 changed files with 4 additions and 5 deletions

View File

@@ -18,11 +18,12 @@
body::after {
content: '';
position: fixed;
inset: 0;
inset: -30vh -30vw;
z-index: 9999;
pointer-events: none;
background-image: url('images/watermark.svg');
background-repeat: repeat;
transform: rotate(-30deg);
}
body.root-dark-mode::after {

View File

@@ -1,5 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="140" viewBox="0 0 240 140">
<g transform="translate(120 70) rotate(-45)">
<text x="0" y="0" text-anchor="middle" dominant-baseline="middle" font-size="48" fill="rgba(0,0,0,0.016)" font-family="sans-serif">请勿截屏</text>
</g>
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="120" viewBox="0 0 240 120">
<text x="120" y="60" text-anchor="middle" dominant-baseline="middle" font-size="50" fill="rgba(0,0,0,0.016)" font-family="sans-serif">请勿截屏</text>
</svg>

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 251 B