Update font variables to use system font stack

This commit is contained in:
Suyun114
2025-06-11 17:59:04 +08:00
committed by Kuu7o
parent 55d4469401
commit 1e1e9e265a
4 changed files with 5 additions and 8 deletions

View File

@@ -39,8 +39,5 @@ $shadow: rgba(0,0,0,.6);
$shadow_dark: rgba(0,0,0,.2); $shadow_dark: rgba(0,0,0,.2);
//fonts //fonts
$font_0: Helvetica Neue; $font_stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
$font_1: Helvetica; $font_icon: fontello;
$font_2: Arial;
$font_3: sans-serif;
$font_4: fontello;

View File

@@ -50,7 +50,7 @@ body {
background-color: var(--bg_color); background-color: var(--bg_color);
color: var(--fg_color); color: var(--fg_color);
font-family: $font_0, $font_1, $font_2, $font_3; font-family: $font_stack;
font-size: 14px; font-size: 14px;
line-height: 1.3; line-height: 1.3;
margin: 0; margin: 0;

View File

@@ -136,7 +136,7 @@ input::-webkit-datetime-edit-year-field:focus {
left: 2px; left: 2px;
bottom: 0; bottom: 0;
font-size: 13px; font-size: 13px;
font-family: $font_4; font-family: $font_icon;
content: '\e803'; content: '\e803';
} }
} }

View File

@@ -17,7 +17,7 @@
} }
.tweet-content { .tweet-content {
font-family: $font_3; font-family: $font_stack;
line-height: 1.3em; line-height: 1.3em;
pointer-events: all; pointer-events: all;
display: inline; display: inline;