Skip to content

Commit 7817abe

Browse files
fix: 更新水印字体为 Permanent Marker,调整字体权重和字母间距
Signed-off-by: wangsimiao1 <wangsimiao1@xiaomi.com>
1 parent fbaa52a commit 7817abe

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

_data/origin/cors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ resource_hints:
1515
- rel: dns-prefetch
1616

1717
# Web Fonts
18-
webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Source+Sans+Pro:wght@400;600;700;900&display=swap
18+
webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Source+Sans+Pro:wght@400;600;700;900&family=Permanent+Marker&display=swap
1919

2020
# Libraries
2121

_sass/base/_base.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,9 @@ mjx-container {
471471
left: 50%;
472472
transform: translate(-50%, -50%) rotate(-18deg);
473473
font-size: clamp(6rem, 12vw, 14rem);
474-
font-family: 'Lato', 'Source Sans Pro', sans-serif;
475-
font-weight: 900;
476-
font-style: italic;
477-
letter-spacing: 0.04em;
474+
font-family: 'Permanent Marker', cursive;
475+
font-weight: 400;
476+
letter-spacing: 0.06em;
478477
white-space: nowrap;
479478
color: var(--watermark-color, rgba(0, 0, 0, 0.03));
480479
pointer-events: none;

0 commit comments

Comments
 (0)