Update font styles across the application to include 'Noto Sans SC' for improved typography consistency.
This commit is contained in:
parent
abf2ba68af
commit
44424f29ba
14 changed files with 24 additions and 23 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100..800&family=Space+Grotesk:wght@300..700&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@100..800&family=Noto+Sans+SC:wght@300;400;500;700;800;900&family=Space+Grotesk:wght@300..700&display=swap" rel="stylesheet">
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/icon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
}
|
||||
|
||||
#app {
|
||||
font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
|
||||
font-family: 'JetBrains Mono', 'Space Grotesk', 'Noto Sans SC', monospace;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
color: #000000;
|
||||
|
|
|
|||
|
|
@ -1018,7 +1018,7 @@ input:checked + .slider:before {
|
|||
border-radius: 10px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.1);
|
||||
overflow: hidden;
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
font-family: 'Noto Sans SC', system-ui, sans-serif;
|
||||
font-size: 13px;
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -1083,7 +1083,7 @@ onUnmounted(() => {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #FAFAFA;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
.scroll-container {
|
||||
|
|
@ -2161,7 +2161,7 @@ onUnmounted(() => {
|
|||
}
|
||||
|
||||
.narrative-text {
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
color: #334155;
|
||||
line-height: 1.8;
|
||||
|
|
|
|||
|
|
@ -702,7 +702,7 @@ onUnmounted(() => {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #FFFFFF;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2157,7 +2157,7 @@ watch(() => props.reportId, (newId) => {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #F8F9FA;
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -2435,7 +2435,7 @@ watch(() => props.reportId, (newId) => {
|
|||
|
||||
/* Generated Content */
|
||||
.generated-content {
|
||||
font-family: 'Inter', -apple-system, sans-serif;
|
||||
font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
color: #374151;
|
||||
|
|
|
|||
|
|
@ -935,7 +935,7 @@ watch(() => props.simulationId, (newId) => {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #F8F9FA;
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -1131,7 +1131,7 @@ watch(() => props.simulationId, (newId) => {
|
|||
|
||||
/* Generated Content */
|
||||
.generated-content {
|
||||
font-family: 'Inter', -apple-system, sans-serif;
|
||||
font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
color: #374151;
|
||||
|
|
|
|||
|
|
@ -315,7 +315,8 @@ const startSimulation = () => {
|
|||
确保已在 index.html 引入这些 Google Fonts
|
||||
*/
|
||||
--font-mono: 'JetBrains Mono', monospace;
|
||||
--font-sans: 'Space Grotesk', -apple-system, sans-serif;
|
||||
--font-sans: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
--font-cn: 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
.home-container {
|
||||
|
|
@ -415,7 +416,7 @@ const startSimulation = () => {
|
|||
.main-title {
|
||||
font-size: 4.5rem;
|
||||
line-height: 1.2;
|
||||
font-weight: 800;
|
||||
font-weight: 500;
|
||||
margin: 0 0 40px 0;
|
||||
letter-spacing: -2px;
|
||||
color: var(--black);
|
||||
|
|
@ -465,7 +466,7 @@ const startSimulation = () => {
|
|||
|
||||
.slogan-text {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
color: var(--black);
|
||||
letter-spacing: 1px;
|
||||
border-left: 3px solid var(--orange);
|
||||
|
|
@ -565,7 +566,7 @@ const startSimulation = () => {
|
|||
|
||||
.section-title {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
|
||||
|
|
@ -590,7 +591,7 @@ const startSimulation = () => {
|
|||
.metric-value {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 1.8rem;
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
|
@ -645,7 +646,7 @@ const startSimulation = () => {
|
|||
}
|
||||
|
||||
.step-title {
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
|
@ -714,7 +715,7 @@ const startSimulation = () => {
|
|||
}
|
||||
|
||||
.upload-title {
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ onMounted(() => {
|
|||
flex-direction: column;
|
||||
background: #FFF;
|
||||
overflow: hidden;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
|
|
|||
|
|
@ -411,7 +411,7 @@ onUnmounted(() => {
|
|||
flex-direction: column;
|
||||
background: #FFF;
|
||||
overflow: hidden;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
|
|
|||
|
|
@ -1104,7 +1104,7 @@ onUnmounted(() => {
|
|||
.process-page {
|
||||
min-height: 100vh;
|
||||
background: var(--white);
|
||||
font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
|
||||
font-family: 'JetBrains Mono', 'Noto Sans SC', monospace;
|
||||
overflow: hidden; /* Prevent body scroll in fullscreen */
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ onMounted(() => {
|
|||
flex-direction: column;
|
||||
background: #FFF;
|
||||
overflow: hidden;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ onUnmounted(() => {
|
|||
flex-direction: column;
|
||||
background: #FFF;
|
||||
overflow: hidden;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ onMounted(async () => {
|
|||
flex-direction: column;
|
||||
background: #FFF;
|
||||
overflow: hidden;
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
|
|
|||
Loading…
Reference in a new issue