@xingwangzhe/stalux 1.35.3 → 1.35.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +4 -0
- package/README.md +2 -0
- package/package.json +4 -3
- package/public/fonts/GUST-FONT-LICENSE.txt +30 -0
- package/public/fonts/Google-Sans-Code-OFL.txt +93 -0
- package/public/fonts/LPPL-1.3c.txt +416 -0
- package/public/fonts/LXGW-WenKai-OFL.txt +94 -0
- package/public/fonts/StaluxMathAux-OFL.txt +93 -0
- package/public/fonts/StaluxMathAux.woff2 +0 -0
- package/public/fonts/latinmodern-math.woff2 +0 -0
- package/src/index.ts +16 -0
- package/src/styles/generated-prose.css +1 -1
- package/src/styles/math.css +5 -5
package/LICENSE
CHANGED
|
@@ -19,3 +19,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
Scope: this MIT license applies to Stalux code. Bundled third-party fonts
|
|
24
|
+
retain their respective licenses; see public/fonts/*-OFL.txt,
|
|
25
|
+
public/fonts/GUST-FONT-LICENSE.txt and public/fonts/LPPL-1.3c.txt.
|
package/README.md
CHANGED
|
@@ -314,3 +314,5 @@ Development keeps readable source names. Production builds compact private Stalu
|
|
|
314
314
|
Stable `data-*` hooks, article anchors, public font properties (`--font-body`, `--font-code`, plus the legacy override hooks `--accent` and `--foreground-60p`), third-party interfaces and user content keep their meaning. Use your own classes and public component interfaces for extensions; the generated `s*`, `--s*` and `k*` names are reserved for the theme. Existing CSS import paths remain available and consumers need no additional configuration or UnoCSS installation.
|
|
315
315
|
|
|
316
316
|
Theme CSS uses native nesting, modern RGB syntax, `overflow-wrap: anywhere` and clipped one-pixel accessible content with `clip-path`. Lightning CSS targets modern browser engines instead of generating obsolete compatibility expansions. Necessary multiline-clamping and third-party MathML browser adaptations remain. Production source maps are disabled to avoid exposing the original names. Build assertions check semantic CSS/HTML/JS surfaces and resource integrity without modifying article text or code examples; detector results always identify the rule or scanner version used.
|
|
317
|
+
|
|
318
|
+
Theme code is MIT; fonts retain their own licenses. LXGW WenKai and Google Sans Code use OFL 1.1; Latin Modern Math uses the GUST Font License. Stalux Math Aux is independently rebuilt from KaTeX's OFL font data, replacing the Temml font with conflicting FontCreator noncommercial metadata. Script-letter outlines are unchanged; primes use an OFL source with matching bounds, advances and repetition spacing, with slightly different curves. Fonts and full licenses are synchronized to the consumer's `public/fonts/`; the old unused `Temml.woff2` can be removed. See `scripts/build-math-font.py` and `scripts/font-sources/` for reproducible inputs.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xingwangzhe/stalux",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.5",
|
|
4
4
|
"description": "A powerful, modern Astro blog theme — use as template or install as plugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"public/background/**",
|
|
45
45
|
"src/assets/**/*",
|
|
46
46
|
".release/cli.mjs",
|
|
47
|
-
"!src/content.config.ts"
|
|
47
|
+
"!src/content.config.ts",
|
|
48
|
+
"public/fonts/**"
|
|
48
49
|
],
|
|
49
50
|
"type": "module",
|
|
50
51
|
"packageManager": "bun@1.4.0",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"@mcp-b/webmcp-polyfill": "^5.1.0",
|
|
107
108
|
"@pagefind/component-ui": "^1.5.2",
|
|
108
109
|
"@waline/client": "^3.16.0",
|
|
109
|
-
"@xingwangzhe/cjk-font-split-native": "^0.4.
|
|
110
|
+
"@xingwangzhe/cjk-font-split-native": "^0.4.3",
|
|
110
111
|
"@xingwangzhe/satteri-mermaid": "^0.8.1",
|
|
111
112
|
"@xingwangzhe/satteri-photoswipe": "^0.2.6",
|
|
112
113
|
"@xingwangzhe/tags-cloud": "^1.2.9",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
% This is a preliminary version (2006-09-30), barring acceptance from
|
|
2
|
+
% the LaTeX Project Team and other feedback, of the GUST Font License.
|
|
3
|
+
% (GUST is the Polish TeX Users Group, http://www.gust.org.pl)
|
|
4
|
+
%
|
|
5
|
+
% For the most recent version of this license see
|
|
6
|
+
% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt
|
|
7
|
+
% or
|
|
8
|
+
% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt
|
|
9
|
+
%
|
|
10
|
+
% This work may be distributed and/or modified under the conditions
|
|
11
|
+
% of the LaTeX Project Public License, either version 1.3c of this
|
|
12
|
+
% license or (at your option) any later version.
|
|
13
|
+
%
|
|
14
|
+
% Please also observe the following clause:
|
|
15
|
+
% 1) it is requested, but not legally required, that derived works be
|
|
16
|
+
% distributed only after changing the names of the fonts comprising this
|
|
17
|
+
% work and given in an accompanying "manifest", and that the
|
|
18
|
+
% files comprising the Work, as listed in the manifest, also be given
|
|
19
|
+
% new names. Any exceptions to this request are also given in the
|
|
20
|
+
% manifest.
|
|
21
|
+
%
|
|
22
|
+
% We recommend the manifest be given in a separate file named
|
|
23
|
+
% MANIFEST-<fontid>.txt, where <fontid> is some unique identification
|
|
24
|
+
% of the font family. If a separate "readme" file accompanies the Work,
|
|
25
|
+
% we recommend a name of the form README-<fontid>.txt.
|
|
26
|
+
%
|
|
27
|
+
% The latest version of the LaTeX Project Public License is in
|
|
28
|
+
% http://www.latex-project.org/lppl.txt and version 1.3c or later
|
|
29
|
+
% is part of all distributions of LaTeX version 2006/05/20 or later.
|
|
30
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2025-2026 The Google Sans Code Project Authors (github.com/googlefonts/googlesans-code)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
The LaTeX Project Public License
|
|
2
|
+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
3
|
+
|
|
4
|
+
LPPL Version 1.3c 2008-05-04
|
|
5
|
+
|
|
6
|
+
Copyright 1999 2002-2008 LaTeX3 Project
|
|
7
|
+
Everyone is allowed to distribute verbatim copies of this
|
|
8
|
+
license document, but modification of it is not allowed.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
PREAMBLE
|
|
12
|
+
========
|
|
13
|
+
|
|
14
|
+
The LaTeX Project Public License (LPPL) is the primary license under
|
|
15
|
+
which the LaTeX kernel and the base LaTeX packages are distributed.
|
|
16
|
+
|
|
17
|
+
You may use this license for any work of which you hold the copyright
|
|
18
|
+
and which you wish to distribute. This license may be particularly
|
|
19
|
+
suitable if your work is TeX-related (such as a LaTeX package), but
|
|
20
|
+
it is written in such a way that you can use it even if your work is
|
|
21
|
+
unrelated to TeX.
|
|
22
|
+
|
|
23
|
+
The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
|
|
24
|
+
below, gives instructions, examples, and recommendations for authors
|
|
25
|
+
who are considering distributing their works under this license.
|
|
26
|
+
|
|
27
|
+
This license gives conditions under which a work may be distributed
|
|
28
|
+
and modified, as well as conditions under which modified versions of
|
|
29
|
+
that work may be distributed.
|
|
30
|
+
|
|
31
|
+
We, the LaTeX3 Project, believe that the conditions below give you
|
|
32
|
+
the freedom to make and distribute modified versions of your work
|
|
33
|
+
that conform with whatever technical specifications you wish while
|
|
34
|
+
maintaining the availability, integrity, and reliability of
|
|
35
|
+
that work. If you do not see how to achieve your goal while
|
|
36
|
+
meeting these conditions, then read the document `cfgguide.tex'
|
|
37
|
+
and `modguide.tex' in the base LaTeX distribution for suggestions.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
DEFINITIONS
|
|
41
|
+
===========
|
|
42
|
+
|
|
43
|
+
In this license document the following terms are used:
|
|
44
|
+
|
|
45
|
+
`Work'
|
|
46
|
+
Any work being distributed under this License.
|
|
47
|
+
|
|
48
|
+
`Derived Work'
|
|
49
|
+
Any work that under any applicable law is derived from the Work.
|
|
50
|
+
|
|
51
|
+
`Modification'
|
|
52
|
+
Any procedure that produces a Derived Work under any applicable
|
|
53
|
+
law -- for example, the production of a file containing an
|
|
54
|
+
original file associated with the Work or a significant portion of
|
|
55
|
+
such a file, either verbatim or with modifications and/or
|
|
56
|
+
translated into another language.
|
|
57
|
+
|
|
58
|
+
`Modify'
|
|
59
|
+
To apply any procedure that produces a Derived Work under any
|
|
60
|
+
applicable law.
|
|
61
|
+
|
|
62
|
+
`Distribution'
|
|
63
|
+
Making copies of the Work available from one person to another, in
|
|
64
|
+
whole or in part. Distribution includes (but is not limited to)
|
|
65
|
+
making any electronic components of the Work accessible by
|
|
66
|
+
file transfer protocols such as FTP or HTTP or by shared file
|
|
67
|
+
systems such as Sun's Network File System (NFS).
|
|
68
|
+
|
|
69
|
+
`Compiled Work'
|
|
70
|
+
A version of the Work that has been processed into a form where it
|
|
71
|
+
is directly usable on a computer system. This processing may
|
|
72
|
+
include using installation facilities provided by the Work,
|
|
73
|
+
transformations of the Work, copying of components of the Work, or
|
|
74
|
+
other activities. Note that modification of any installation
|
|
75
|
+
facilities provided by the Work constitutes modification of the Work.
|
|
76
|
+
|
|
77
|
+
`Current Maintainer'
|
|
78
|
+
A person or persons nominated as such within the Work. If there is
|
|
79
|
+
no such explicit nomination then it is the `Copyright Holder' under
|
|
80
|
+
any applicable law.
|
|
81
|
+
|
|
82
|
+
`Base Interpreter'
|
|
83
|
+
A program or process that is normally needed for running or
|
|
84
|
+
interpreting a part or the whole of the Work.
|
|
85
|
+
|
|
86
|
+
A Base Interpreter may depend on external components but these
|
|
87
|
+
are not considered part of the Base Interpreter provided that each
|
|
88
|
+
external component clearly identifies itself whenever it is used
|
|
89
|
+
interactively. Unless explicitly specified when applying the
|
|
90
|
+
license to the Work, the only applicable Base Interpreter is a
|
|
91
|
+
`LaTeX-Format' or in the case of files belonging to the
|
|
92
|
+
`LaTeX-format' a program implementing the `TeX language'.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
CONDITIONS ON DISTRIBUTION AND MODIFICATION
|
|
97
|
+
===========================================
|
|
98
|
+
|
|
99
|
+
1. Activities other than distribution and/or modification of the Work
|
|
100
|
+
are not covered by this license; they are outside its scope. In
|
|
101
|
+
particular, the act of running the Work is not restricted and no
|
|
102
|
+
requirements are made concerning any offers of support for the Work.
|
|
103
|
+
|
|
104
|
+
2. You may distribute a complete, unmodified copy of the Work as you
|
|
105
|
+
received it. Distribution of only part of the Work is considered
|
|
106
|
+
modification of the Work, and no right to distribute such a Derived
|
|
107
|
+
Work may be assumed under the terms of this clause.
|
|
108
|
+
|
|
109
|
+
3. You may distribute a Compiled Work that has been generated from a
|
|
110
|
+
complete, unmodified copy of the Work as distributed under Clause 2
|
|
111
|
+
above, as long as that Compiled Work is distributed in such a way that
|
|
112
|
+
the recipients may install the Compiled Work on their system exactly
|
|
113
|
+
as it would have been installed if they generated a Compiled Work
|
|
114
|
+
directly from the Work.
|
|
115
|
+
|
|
116
|
+
4. If you are the Current Maintainer of the Work, you may, without
|
|
117
|
+
restriction, modify the Work, thus creating a Derived Work. You may
|
|
118
|
+
also distribute the Derived Work without restriction, including
|
|
119
|
+
Compiled Works generated from the Derived Work. Derived Works
|
|
120
|
+
distributed in this manner by the Current Maintainer are considered to
|
|
121
|
+
be updated versions of the Work.
|
|
122
|
+
|
|
123
|
+
5. If you are not the Current Maintainer of the Work, you may modify
|
|
124
|
+
your copy of the Work, thus creating a Derived Work based on the Work,
|
|
125
|
+
and compile this Derived Work, thus creating a Compiled Work based on
|
|
126
|
+
the Derived Work.
|
|
127
|
+
|
|
128
|
+
6. If you are not the Current Maintainer of the Work, you may
|
|
129
|
+
distribute a Derived Work provided the following conditions are met
|
|
130
|
+
for every component of the Work unless that component clearly states
|
|
131
|
+
in the copyright notice that it is exempt from that condition. Only
|
|
132
|
+
the Current Maintainer is allowed to add such statements of exemption
|
|
133
|
+
to a component of the Work.
|
|
134
|
+
|
|
135
|
+
a. If a component of this Derived Work can be a direct replacement
|
|
136
|
+
for a component of the Work when that component is used with the
|
|
137
|
+
Base Interpreter, then, wherever this component of the Work
|
|
138
|
+
identifies itself to the user when used interactively with that
|
|
139
|
+
Base Interpreter, the replacement component of this Derived Work
|
|
140
|
+
clearly and unambiguously identifies itself as a modified version
|
|
141
|
+
of this component to the user when used interactively with that
|
|
142
|
+
Base Interpreter.
|
|
143
|
+
|
|
144
|
+
b. Every component of the Derived Work contains prominent notices
|
|
145
|
+
detailing the nature of the changes to that component, or a
|
|
146
|
+
prominent reference to another file that is distributed as part
|
|
147
|
+
of the Derived Work and that contains a complete and accurate log
|
|
148
|
+
of the changes.
|
|
149
|
+
|
|
150
|
+
c. No information in the Derived Work implies that any persons,
|
|
151
|
+
including (but not limited to) the authors of the original version
|
|
152
|
+
of the Work, provide any support, including (but not limited to)
|
|
153
|
+
the reporting and handling of errors, to recipients of the
|
|
154
|
+
Derived Work unless those persons have stated explicitly that
|
|
155
|
+
they do provide such support for the Derived Work.
|
|
156
|
+
|
|
157
|
+
d. You distribute at least one of the following with the Derived Work:
|
|
158
|
+
|
|
159
|
+
1. A complete, unmodified copy of the Work;
|
|
160
|
+
if your distribution of a modified component is made by
|
|
161
|
+
offering access to copy the modified component from a
|
|
162
|
+
designated place, then offering equivalent access to copy
|
|
163
|
+
the Work from the same or some similar place meets this
|
|
164
|
+
condition, even though third parties are not compelled to
|
|
165
|
+
copy the Work along with the modified component;
|
|
166
|
+
|
|
167
|
+
2. Information that is sufficient to obtain a complete,
|
|
168
|
+
unmodified copy of the Work.
|
|
169
|
+
|
|
170
|
+
7. If you are not the Current Maintainer of the Work, you may
|
|
171
|
+
distribute a Compiled Work generated from a Derived Work, as long as
|
|
172
|
+
the Derived Work is distributed to all recipients of the Compiled
|
|
173
|
+
Work, and as long as the conditions of Clause 6, above, are met with
|
|
174
|
+
regard to the Derived Work.
|
|
175
|
+
|
|
176
|
+
8. The conditions above are not intended to prohibit, and hence do not
|
|
177
|
+
apply to, the modification, by any method, of any component so that it
|
|
178
|
+
becomes identical to an updated version of that component of the Work as
|
|
179
|
+
it is distributed by the Current Maintainer under Clause 4, above.
|
|
180
|
+
|
|
181
|
+
9. Distribution of the Work or any Derived Work in an alternative
|
|
182
|
+
format, where the Work or that Derived Work (in whole or in part) is
|
|
183
|
+
then produced by applying some process to that format, does not relax or
|
|
184
|
+
nullify any sections of this license as they pertain to the results of
|
|
185
|
+
applying that process.
|
|
186
|
+
|
|
187
|
+
10. a. A Derived Work may be distributed under a different license
|
|
188
|
+
provided that license itself honors the conditions listed in
|
|
189
|
+
Clause 6 above, in regard to the Work, though it does not have
|
|
190
|
+
to honor the rest of the conditions in this license.
|
|
191
|
+
|
|
192
|
+
b. If a Derived Work is distributed under a different license, that
|
|
193
|
+
Derived Work must provide sufficient documentation as part of
|
|
194
|
+
itself to allow each recipient of that Derived Work to honor the
|
|
195
|
+
restrictions in Clause 6 above, concerning changes from the Work.
|
|
196
|
+
|
|
197
|
+
11. This license places no restrictions on works that are unrelated to
|
|
198
|
+
the Work, nor does this license place any restrictions on aggregating
|
|
199
|
+
such works with the Work by any means.
|
|
200
|
+
|
|
201
|
+
12. Nothing in this license is intended to, or may be used to, prevent
|
|
202
|
+
complete compliance by all parties with all applicable laws.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
NO WARRANTY
|
|
206
|
+
===========
|
|
207
|
+
|
|
208
|
+
There is no warranty for the Work. Except when otherwise stated in
|
|
209
|
+
writing, the Copyright Holder provides the Work `as is', without
|
|
210
|
+
warranty of any kind, either expressed or implied, including, but not
|
|
211
|
+
limited to, the implied warranties of merchantability and fitness for a
|
|
212
|
+
particular purpose. The entire risk as to the quality and performance
|
|
213
|
+
of the Work is with you. Should the Work prove defective, you assume
|
|
214
|
+
the cost of all necessary servicing, repair, or correction.
|
|
215
|
+
|
|
216
|
+
In no event unless required by applicable law or agreed to in writing
|
|
217
|
+
will The Copyright Holder, or any author named in the components of the
|
|
218
|
+
Work, or any other party who may distribute and/or modify the Work as
|
|
219
|
+
permitted above, be liable to you for damages, including any general,
|
|
220
|
+
special, incidental or consequential damages arising out of any use of
|
|
221
|
+
the Work or out of inability to use the Work (including, but not limited
|
|
222
|
+
to, loss of data, data being rendered inaccurate, or losses sustained by
|
|
223
|
+
anyone as a result of any failure of the Work to operate with any other
|
|
224
|
+
programs), even if the Copyright Holder or said author or said other
|
|
225
|
+
party has been advised of the possibility of such damages.
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
MAINTENANCE OF THE WORK
|
|
229
|
+
=======================
|
|
230
|
+
|
|
231
|
+
The Work has the status `author-maintained' if the Copyright Holder
|
|
232
|
+
explicitly and prominently states near the primary copyright notice in
|
|
233
|
+
the Work that the Work can only be maintained by the Copyright Holder
|
|
234
|
+
or simply that it is `author-maintained'.
|
|
235
|
+
|
|
236
|
+
The Work has the status `maintained' if there is a Current Maintainer
|
|
237
|
+
who has indicated in the Work that they are willing to receive error
|
|
238
|
+
reports for the Work (for example, by supplying a valid e-mail
|
|
239
|
+
address). It is not required for the Current Maintainer to acknowledge
|
|
240
|
+
or act upon these error reports.
|
|
241
|
+
|
|
242
|
+
The Work changes from status `maintained' to `unmaintained' if there
|
|
243
|
+
is no Current Maintainer, or the person stated to be Current
|
|
244
|
+
Maintainer of the work cannot be reached through the indicated means
|
|
245
|
+
of communication for a period of six months, and there are no other
|
|
246
|
+
significant signs of active maintenance.
|
|
247
|
+
|
|
248
|
+
You can become the Current Maintainer of the Work by agreement with
|
|
249
|
+
any existing Current Maintainer to take over this role.
|
|
250
|
+
|
|
251
|
+
If the Work is unmaintained, you can become the Current Maintainer of
|
|
252
|
+
the Work through the following steps:
|
|
253
|
+
|
|
254
|
+
1. Make a reasonable attempt to trace the Current Maintainer (and
|
|
255
|
+
the Copyright Holder, if the two differ) through the means of
|
|
256
|
+
an Internet or similar search.
|
|
257
|
+
|
|
258
|
+
2. If this search is successful, then enquire whether the Work
|
|
259
|
+
is still maintained.
|
|
260
|
+
|
|
261
|
+
a. If it is being maintained, then ask the Current Maintainer
|
|
262
|
+
to update their communication data within one month.
|
|
263
|
+
|
|
264
|
+
b. If the search is unsuccessful or no action to resume active
|
|
265
|
+
maintenance is taken by the Current Maintainer, then announce
|
|
266
|
+
within the pertinent community your intention to take over
|
|
267
|
+
maintenance. (If the Work is a LaTeX work, this could be
|
|
268
|
+
done, for example, by posting to comp.text.tex.)
|
|
269
|
+
|
|
270
|
+
3a. If the Current Maintainer is reachable and agrees to pass
|
|
271
|
+
maintenance of the Work to you, then this takes effect
|
|
272
|
+
immediately upon announcement.
|
|
273
|
+
|
|
274
|
+
b. If the Current Maintainer is not reachable and the Copyright
|
|
275
|
+
Holder agrees that maintenance of the Work be passed to you,
|
|
276
|
+
then this takes effect immediately upon announcement.
|
|
277
|
+
|
|
278
|
+
4. If you make an `intention announcement' as described in 2b. above
|
|
279
|
+
and after three months your intention is challenged neither by
|
|
280
|
+
the Current Maintainer nor by the Copyright Holder nor by other
|
|
281
|
+
people, then you may arrange for the Work to be changed so as
|
|
282
|
+
to name you as the (new) Current Maintainer.
|
|
283
|
+
|
|
284
|
+
5. If the previously unreachable Current Maintainer becomes
|
|
285
|
+
reachable once more within three months of a change completed
|
|
286
|
+
under the terms of 3b) or 4), then that Current Maintainer must
|
|
287
|
+
become or remain the Current Maintainer upon request provided
|
|
288
|
+
they then update their communication data within one month.
|
|
289
|
+
|
|
290
|
+
A change in the Current Maintainer does not, of itself, alter the fact
|
|
291
|
+
that the Work is distributed under the LPPL license.
|
|
292
|
+
|
|
293
|
+
If you become the Current Maintainer of the Work, you should
|
|
294
|
+
immediately provide, within the Work, a prominent and unambiguous
|
|
295
|
+
statement of your status as Current Maintainer. You should also
|
|
296
|
+
announce your new status to the same pertinent community as
|
|
297
|
+
in 2b) above.
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
|
|
301
|
+
======================================================
|
|
302
|
+
|
|
303
|
+
This section contains important instructions, examples, and
|
|
304
|
+
recommendations for authors who are considering distributing their
|
|
305
|
+
works under this license. These authors are addressed as `you' in
|
|
306
|
+
this section.
|
|
307
|
+
|
|
308
|
+
Choosing This License or Another License
|
|
309
|
+
----------------------------------------
|
|
310
|
+
|
|
311
|
+
If for any part of your work you want or need to use *distribution*
|
|
312
|
+
conditions that differ significantly from those in this license, then
|
|
313
|
+
do not refer to this license anywhere in your work but, instead,
|
|
314
|
+
distribute your work under a different license. You may use the text
|
|
315
|
+
of this license as a model for your own license, but your license
|
|
316
|
+
should not refer to the LPPL or otherwise give the impression that
|
|
317
|
+
your work is distributed under the LPPL.
|
|
318
|
+
|
|
319
|
+
The document `modguide.tex' in the base LaTeX distribution explains
|
|
320
|
+
the motivation behind the conditions of this license. It explains,
|
|
321
|
+
for example, why distributing LaTeX under the GNU General Public
|
|
322
|
+
License (GPL) was considered inappropriate. Even if your work is
|
|
323
|
+
unrelated to LaTeX, the discussion in `modguide.tex' may still be
|
|
324
|
+
relevant, and authors intending to distribute their works under any
|
|
325
|
+
license are encouraged to read it.
|
|
326
|
+
|
|
327
|
+
A Recommendation on Modification Without Distribution
|
|
328
|
+
-----------------------------------------------------
|
|
329
|
+
|
|
330
|
+
It is wise never to modify a component of the Work, even for your own
|
|
331
|
+
personal use, without also meeting the above conditions for
|
|
332
|
+
distributing the modified component. While you might intend that such
|
|
333
|
+
modifications will never be distributed, often this will happen by
|
|
334
|
+
accident -- you may forget that you have modified that component; or
|
|
335
|
+
it may not occur to you when allowing others to access the modified
|
|
336
|
+
version that you are thus distributing it and violating the conditions
|
|
337
|
+
of this license in ways that could have legal implications and, worse,
|
|
338
|
+
cause problems for the community. It is therefore usually in your
|
|
339
|
+
best interest to keep your copy of the Work identical with the public
|
|
340
|
+
one. Many works provide ways to control the behavior of that work
|
|
341
|
+
without altering any of its licensed components.
|
|
342
|
+
|
|
343
|
+
How to Use This License
|
|
344
|
+
-----------------------
|
|
345
|
+
|
|
346
|
+
To use this license, place in each of the components of your work both
|
|
347
|
+
an explicit copyright notice including your name and the year the work
|
|
348
|
+
was authored and/or last substantially modified. Include also a
|
|
349
|
+
statement that the distribution and/or modification of that
|
|
350
|
+
component is constrained by the conditions in this license.
|
|
351
|
+
|
|
352
|
+
Here is an example of such a notice and statement:
|
|
353
|
+
|
|
354
|
+
%% pig.dtx
|
|
355
|
+
%% Copyright 2008 M. Y. Name
|
|
356
|
+
%
|
|
357
|
+
% This work may be distributed and/or modified under the
|
|
358
|
+
% conditions of the LaTeX Project Public License, either version 1.3
|
|
359
|
+
% of this license or (at your option) any later version.
|
|
360
|
+
% The latest version of this license is in
|
|
361
|
+
% https://www.latex-project.org/lppl.txt
|
|
362
|
+
% and version 1.3c or later is part of all distributions of LaTeX
|
|
363
|
+
% version 2008 or later.
|
|
364
|
+
%
|
|
365
|
+
% This work has the LPPL maintenance status `maintained'.
|
|
366
|
+
%
|
|
367
|
+
% The Current Maintainer of this work is M. Y. Name.
|
|
368
|
+
%
|
|
369
|
+
% This work consists of the files pig.dtx and pig.ins
|
|
370
|
+
% and the derived file pig.sty.
|
|
371
|
+
|
|
372
|
+
Given such a notice and statement in a file, the conditions
|
|
373
|
+
given in this license document would apply, with the `Work' referring
|
|
374
|
+
to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
|
|
375
|
+
generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
|
|
376
|
+
referring to any `LaTeX-Format', and both `Copyright Holder' and
|
|
377
|
+
`Current Maintainer' referring to the person `M. Y. Name'.
|
|
378
|
+
|
|
379
|
+
If you do not want the Maintenance section of LPPL to apply to your
|
|
380
|
+
Work, change `maintained' above into `author-maintained'.
|
|
381
|
+
However, we recommend that you use `maintained', as the Maintenance
|
|
382
|
+
section was added in order to ensure that your Work remains useful to
|
|
383
|
+
the community even when you can no longer maintain and support it
|
|
384
|
+
yourself.
|
|
385
|
+
|
|
386
|
+
Derived Works That Are Not Replacements
|
|
387
|
+
---------------------------------------
|
|
388
|
+
|
|
389
|
+
Several clauses of the LPPL specify means to provide reliability and
|
|
390
|
+
stability for the user community. They therefore concern themselves
|
|
391
|
+
with the case that a Derived Work is intended to be used as a
|
|
392
|
+
(compatible or incompatible) replacement of the original Work. If
|
|
393
|
+
this is not the case (e.g., if a few lines of code are reused for a
|
|
394
|
+
completely different task), then clauses 6b and 6d shall not apply.
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
Important Recommendations
|
|
398
|
+
-------------------------
|
|
399
|
+
|
|
400
|
+
Defining What Constitutes the Work
|
|
401
|
+
|
|
402
|
+
The LPPL requires that distributions of the Work contain all the
|
|
403
|
+
files of the Work. It is therefore important that you provide a
|
|
404
|
+
way for the licensee to determine which files constitute the Work.
|
|
405
|
+
This could, for example, be achieved by explicitly listing all the
|
|
406
|
+
files of the Work near the copyright notice of each file or by
|
|
407
|
+
using a line such as:
|
|
408
|
+
|
|
409
|
+
% This work consists of all files listed in manifest.txt.
|
|
410
|
+
|
|
411
|
+
in that place. In the absence of an unequivocal list it might be
|
|
412
|
+
impossible for the licensee to determine what is considered by you
|
|
413
|
+
to comprise the Work and, in such a case, the licensee would be
|
|
414
|
+
entitled to make reasonable conjectures as to which files comprise
|
|
415
|
+
the Work.
|
|
416
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2021-2026 LXGW (https://github.com/lxgw/LxgwWenKai), with Reserved Font Name '霞鹜', '霞鶩', '落霞孤鹜', '落霞孤鶩' and 'LXGW'. [ADDITIONAL PERMISSION] The Reserved Font Names '霞鹜', '霞鶩', '落霞孤鹜', '落霞孤鶩' and 'LXGW' may continue to be used in Modified Versions recompiled from the Original Version, without modifications to the font source code; or in Modified Versions subsetted or converted to other formats (e.g., WOFF/WOFF2) solely for web font delivery, provided such Modified Versions are not made available as installable desktop fonts (e.g., on mainstream platforms like Google Fonts, or third-party non-commercial platforms recognized by the author @lxgw; other web font platforms please contact the author @lxgw for confirmation).
|
|
2
|
+
Copyright 2020 The Klee Project Authors (https://github.com/fontworks-fonts/Klee)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://openfontlicense.org
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright (c) 2009-2010 Design Science, Inc.
|
|
2
|
+
Copyright (c) 2014-2018 Khan Academy
|
|
3
|
+
Original fonts have Reserved Font Names KaTeX_Main and KaTeX_Script.
|
|
4
|
+
Modified font: Stalux Math Aux. Copyright (c) 2026 xingwangzhe.
|
|
5
|
+
Renamed, script codepoints remapped, primes scaled/repeated/reflected;
|
|
6
|
+
rebuilt with FontTools without FontCreator or its generated binaries.
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
package/src/index.ts
CHANGED
|
@@ -123,6 +123,21 @@ function syncBackgroundSvgs(srcDir: string): { copied: number; skipped: number }
|
|
|
123
123
|
return { copied, skipped };
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
/** Sync packaged math fonts and licensing notices; Astro does not merge integration public directories. */
|
|
127
|
+
function syncFontAssets(srcDir: string): void {
|
|
128
|
+
const source = path.join(srcDir, "../public/fonts");
|
|
129
|
+
if (!existsSync(source)) return;
|
|
130
|
+
const destination = path.resolve(process.cwd(), "public/fonts");
|
|
131
|
+
mkdirSync(destination, { recursive: true });
|
|
132
|
+
for (const name of readdirSync(source)) {
|
|
133
|
+
if (!/\.(?:woff2|txt)$/u.test(name)) continue;
|
|
134
|
+
const from = path.join(source, name);
|
|
135
|
+
const to = path.join(destination, name);
|
|
136
|
+
if (existsSync(to) && readFileSync(from).equals(readFileSync(to))) continue;
|
|
137
|
+
copyFileSync(from, to);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
126
141
|
// ---------------------------------------------------------------------------
|
|
127
142
|
// 集成入口
|
|
128
143
|
// ---------------------------------------------------------------------------
|
|
@@ -230,6 +245,7 @@ export function stalux(options: StaluxOptions = {}): AstroIntegration[] {
|
|
|
230
245
|
// 破坏增量构建依赖图 hash)。Astro 不会合并集成的 public 目录,这里显式同步一次。
|
|
231
246
|
// 判别式:内容一致跳过(幂等),内容不同才覆盖,用户新增文件保留。
|
|
232
247
|
try {
|
|
248
|
+
syncFontAssets(srcDir);
|
|
233
249
|
const { copied, skipped } = syncBackgroundSvgs(srcDir);
|
|
234
250
|
if (copied > 0) {
|
|
235
251
|
assetsLogger.info(`同步背景 SVG ${copied} 个(跳过 ${skipped} 个不变)`);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer theme,base;@layer components{.stalux-prose{font-family:var(--font-body), "Noto Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;font-size:var(--font-size-base);color:var(--white-85p);text-rendering:optimizelegibility;line-height:1.75}.stalux-prose h1,.stalux-prose h2,.stalux-prose h3,.stalux-prose h4,.stalux-prose h5,.stalux-prose h6{color:var(--white-full);margin-top:var(--space-xl);margin-bottom:var(--space-md);font-weight:600;line-height:1.3}.stalux-prose h1{margin-top:2.5rem;margin-bottom:var(--space-lg);border-bottom:3px solid var(--accent-50p);padding-bottom:.6rem;font-size:2.6rem;font-weight:700;line-height:1.25}.stalux-prose h2{border-bottom:2px solid var(--accent-30p);margin-top:2.5rem;padding-bottom:.4rem;font-size:2rem;font-weight:650}.stalux-prose h3{color:var(--white-95p);margin-top:2rem;font-size:1.5rem;line-height:1.4}.stalux-prose h4{color:var(--white-90p);margin-top:1.5rem;margin-bottom:.6rem;font-size:1.25rem;line-height:1.45}.stalux-prose h5{color:var(--white-90p);margin-top:1.5rem;margin-bottom:.5rem;font-size:1.1rem;line-height:1.5}.stalux-prose h6{color:var(--white-80p);margin-top:1.5rem;margin-bottom:.5rem;font-size:1rem;line-height:1.5}.stalux-prose p{margin:0 0 var(--space-lg);line-height:1.75}.stalux-prose strong{color:#ffd966;font-weight:600}.stalux-prose em{color:var(--white-85p);font-style:italic}.stalux-prose strong em,.stalux-prose em strong{color:#ffd966}.stalux-prose del{color:var(--white-60p)}.stalux-prose mark{color:inherit;background-color:#ffd96640;border-radius:2px;padding:.1em .2em}.stalux-prose kbd{font-family:var(--font-code), "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;background-color:var(--white-10p);border:1px solid var(--white-20p);color:var(--white-85p);border-radius:4px;padding:.15em .4em;font-size:.85em}.stalux-prose sup,.stalux-prose sub{font-size:.8em}.stalux-prose a{color:var(--accent-80p);transition:color var(--transition-fast), border-bottom-color var(--transition-fast);overflow-wrap:anywhere;border-bottom:2px solid #0000;text-decoration:none}.stalux-prose a:focus-visible{color:var(--accent-90p);border-bottom-color:var(--accent-60p)}@media (hover:hover) and (pointer:fine){.stalux-prose a:hover{color:var(--accent-90p);border-bottom-color:var(--accent-60p)}}.stalux-prose code{font-family:var(--font-code), "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;color:#ff92d0;background-color:#ff79c626;border:1px solid #ff79c640;border-radius:4px;padding:.2em .4em;font-size:.88em}.stalux-prose pre{background:var(--black-30p);color:var(--white-85p);border-left:4px solid var(--accent-60p);margin:var(--space-xl) 0;font-size:.92em;line-height:1.65;font-family:var(--font-code), "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;box-shadow:var(--shadow-md);border-radius:8px;padding:1.2rem 1.5rem;overflow-x:auto}.stalux-prose pre code{color:inherit;font-size:inherit;background:0 0;border:none;padding:0;font-family:inherit}.expressive-code pre,.expressive-code code{all:revert}.stalux-prose ul,.stalux-prose ol{margin:0 0 var(--space-lg);padding-left:1.75rem}.stalux-prose li{color:var(--white-85p);margin:.4rem 0;line-height:1.75}.stalux-prose ul li{list-style:outside}.stalux-prose ul li ul li{list-style:circle}.stalux-prose ul li ul li ul li{list-style:square}.stalux-prose ol li{list-style:decimal}.stalux-prose ol li ol li{list-style:lower-alpha}.stalux-prose li>ul,.stalux-prose li>ol{margin-top:.3rem;margin-bottom:.3rem}.stalux-prose blockquote{margin:var(--space-xl) 0;border-left:4px solid var(--accent-60p);background:var(--surface-glass);border-top:1px solid var(--white-10p);border-right:1px solid var(--white-10p);border-bottom:1px solid var(--white-10p);color:var(--white-85p);border-radius:12px;padding:1rem 1.5rem;box-shadow:0 4px 16px #0002}.stalux-prose blockquote p{margin:0;line-height:1.7}.stalux-prose blockquote p+p{margin-top:.8rem}.stalux-prose blockquote strong{color:#ffd966}.stalux-prose blockquote code{font-size:.85em}.stalux-prose table{border-collapse:collapse;width:100%;margin:var(--space-xl) 0;box-shadow:var(--shadow-md);border-radius:8px;display:block;overflow:auto hidden}.stalux-prose th,.stalux-prose td{text-align:left;border-bottom:1px solid var(--white-10p);padding:.75rem 1rem;line-height:1.6}.stalux-prose th{white-space:nowrap;background:var(--accent-30p);color:var(--white-full);font-size:.95em;font-weight:600}.stalux-prose td{color:var(--white-85p)}.stalux-prose tr:nth-child(2n) td{background-color:var(--white-05p)}@media (hover:hover) and (pointer:fine){.stalux-prose tr:hover td{background-color:var(--black-10p)}}.stalux-prose table code{font-size:.85em}.stalux-prose img{max-width:100%;height:auto;margin:var(--space-xl) auto;box-shadow:var(--shadow-lg);transition:transform var(--transition-normal), box-shadow var(--transition-normal);border-radius:8px;display:block}@media (hover:hover) and (pointer:fine){.stalux-prose img:hover{box-shadow:var(--shadow-xl);transform:none}}.stalux-prose embed,.stalux-prose video{max-width:100%;height:auto;margin:var(--space-xl) auto;border-radius:8px;display:block}.stalux-prose hr{margin:var(--space-2xl) 0;background:linear-gradient(90deg, transparent, var(--white-15p) 20%, var(--accent-40p) 50%, var(--white-15p) 80%, transparent);border:none;height:1.5px}.stalux-prose details{margin:var(--space-lg) 0;background-color:var(--white-05p);border:1px solid var(--white-10p);transition:border-color var(--transition-fast);border-radius:6px;padding:.8rem 1rem}@media (hover:hover) and (pointer:fine){.stalux-prose details:hover{border-color:var(--white-20p)}}.stalux-prose summary{cursor:pointer;color:var(--white-90p);font-weight:600}.stalux-prose details[open] summary{border-bottom:1px solid var(--white-10p);margin-bottom:.8rem;padding-bottom:.6rem}.stalux-prose figure{text-align:center;margin:var(--space-xl) 0}.stalux-prose figcaption{color:var(--white-70p);margin-top:.5rem;font-size:.9em;font-style:italic}.stalux-prose .footnotes{color:var(--white-75p);border-top:1px solid var(--white-15p);margin-top:var(--space-2xl);padding-top:var(--space-lg);font-size:.88em}.stalux-prose .footnotes ol{margin-left:1rem;padding-left:.5rem}.stalux-prose .footnotes li{margin:.5rem 0;line-height:1.6}.stalux-prose .footnotes a{font-size:.9em}@media (width<=1024px){.stalux-prose{font-size:1.05rem}.stalux-prose h1{font-size:2.2rem}.stalux-prose h2{font-size:1.8rem}.stalux-prose h3{font-size:1.35rem}.stalux-prose h4{font-size:1.15rem}.stalux-prose pre{padding:1rem 1.2rem;font-size:.88em}}@media (width<=768px){.stalux-prose{font-size:1rem;line-height:1.7}.stalux-prose h1{margin-top:1.5rem;font-size:1.8rem}.stalux-prose h2{margin-top:1.5rem;font-size:1.4rem}.stalux-prose h3{margin-top:1.25rem;font-size:1.2rem}.stalux-prose h4{margin-top:1rem;font-size:1.1rem}.stalux-prose h5{font-size:1rem}.stalux-prose h6{font-size:.95rem}.stalux-prose p{margin-bottom:var(--space-md)}.stalux-prose pre{margin:var(--space-lg) 0;border-left-width:3px;padding:.8rem 1rem;font-size:.82em}.stalux-prose table{font-size:.85rem}.stalux-prose th,.stalux-prose td{padding:.5rem .7rem}.stalux-prose blockquote{padding:.8rem 1rem;font-size:.9em}.stalux-prose ul,.stalux-prose ol{padding-left:1.5rem}}.stalux-prose,.stalux-prose>*,.stalux-prose div,.stalux-prose .expressive-code,.stalux-prose .expressive-code .frame{box-sizing:border-box;min-width:0;max-width:100%}.stalux-prose{overflow-wrap:anywhere}.stalux-prose a:after{content:none}.stalux-prose a{text-decoration:underline;text-decoration-color:var(--accent-50p);text-underline-offset:.2em;border-bottom:0;text-decoration-thickness:1px}.stalux-prose a:has(img){text-decoration:none}.stalux-prose pre,.stalux-prose table,.stalux-prose .mermaid,.stalux-prose math{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.stalux-prose pre,.stalux-prose pre code{overflow-wrap:normal;word-break:normal}.stalux-prose :is(img,video,iframe,embed,svg,canvas){max-width:100%}.stalux-prose :is(img,video,svg,canvas){height:auto}.stalux-prose iframe{margin:var(--space-xl) auto;border-radius:8px;display:block}.stalux-prose .mermaid svg{max-width:none}.stalux-prose canvas{box-sizing:border-box}.stalux-prose summary{overflow-wrap:anywhere}}@layer utilities;@font-face{font-family:"Temml", serif;src:url(/fonts/Temml.woff2)format("woff2");font-weight:400;font-style:normal}@font-face{font-family:Latin Modern Math;src:url(/fonts/latinmodern-math.woff2)format("woff2");font-display:swap}math{font-size-adjust:none;text-indent:0;text-transform:none;letter-spacing:normal;word-wrap:normal;font-feature-settings:"dtls" off;font-style:normal;font-weight:400;line-height:normal;font-family:"Latin Modern Math", var(--font-body), math;direction:ltr}math *{border-color:currentColor}math.tml-display{width:100%;display:block}.mathscr{font-family:Temml,serif}mfrac>:nth-child(2),msqrt,mover>:first-child{math-shift:compact}.menclose{padding:.5ex 0;display:inline-block;position:relative}.tml-cancelto{background-color:currentColor;padding:.5ex 0;display:inline-block;position:absolute;top:0;left:0;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><defs><marker id='a' markerHeight='5' markerUnits='strokeWidth' markerWidth='7' orient='auto' refX='7' refY='2.5'><path fill='black' d='m0 0 7 2.5L0 5z'/></marker></defs><line x2='100%25' y1='100%25' stroke='black' stroke-width='.06em' marker-end='url(%23a)' vector-effect='non-scaling-stroke'/></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><defs><marker id='a' markerHeight='5' markerUnits='strokeWidth' markerWidth='7' orient='auto' refX='7' refY='2.5'><path fill='black' d='m0 0 7 2.5L0 5z'/></marker></defs><line x2='100%25' y1='100%25' stroke='black' stroke-width='.06em' marker-end='url(%23a)' vector-effect='non-scaling-stroke'/></svg>");-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}@-moz-document url-prefix(){math{display:inline}math>mrow{padding:0}mtd,mtable.tml-small mtd{padding-top:0;padding-bottom:0}mtable.tml-jot mtd{padding-top:.2ex;padding-bottom:0}.tml-vec{transform:scale(.75)}.ff-narrow{width:0}.ff-nudge-left{margin-left:-.2em}.ff-squash mtd{height:0;display:block}}@supports not ((-moz-appearance:none)){mo.tml-prime{font-family:Temml,serif}.tml-sml-pad{padding-left:.05em}.tml-med-pad{padding-left:.1em}.tml-lrg-pad{padding-left:.15em}}@supports ((-webkit-backdrop-filter:blur(1px))){.wbk-acc{transform:translateY(.431em)}.wbk-sml{transform:translate(.07em)}.wbk-sml-acc{transform:translate(.07em,.431em)}.wbk-sml-vec{transform:scale(.75)translate(.07em)}.wbk-med{transform:translate(.14em)}.wbk-med-acc{transform:translate(.14em,.431em)}.wbk-med-vec{transform:scale(.75)translate(.14em)}.wbk-lrg{transform:translate(.21em)}.wbk-lrg-acc{transform:translate(.21em,.431em)}.wbk-lrg-vec{transform:scale(.75)translate(.21em)}}@supports (not ((-webkit-backdrop-filter:blur(1px)))) and (not ((-moz-appearance:none))){.chr-sml{transform:translate(.07em)}.chr-sml-vec{transform:scale(.75)translate(.07em)}.chr-med{transform:translate(.14em)}.chr-med-vec{transform:scale(.75)translate(.14em)}.chr-lrg{transform:translate(.21em)}.chr-lrg-vec{transform:scale(.75)translate(.21em)}.tml-shift-left{margin-left:-100%}menclose{padding:.5ex 0;position:relative}.tml-overline{border-top:.065em solid;padding:.1em 0 0}.tml-underline{border-bottom:.065em solid;padding:0 0 .1em}.tml-cancel{background-color:currentColor;width:100%;height:100%;display:inline-block;position:absolute;bottom:0;left:.5px}.upstrike{clip-path:polygon(.05em 100%,0 calc(100% - .05em),calc(100% - .05em) 0,100% .05em)}.downstrike{clip-path:polygon(0 .05em,.05em 0,100% calc(100% - .05em),calc(100% - .05em) 100%)}.sout{clip-path:polygon(0 calc(55% + .0333em),0 calc(55% - .0333em),100% calc(55% - .0333em),100% calc(55% + .0333em))}.tml-xcancel{clip-path:polygon(.05em 0,0 .05em,calc(50% - .05em) 50%,0 calc(100% - .05em),.05em 100%,50% calc(50% + .05em),calc(100% - .05em) 100%,100% calc(100% - .05em),calc(50% + .05em) 50%,100% .05em,calc(100% - .05em) 0%,50% calc(50% - .05em))}.longdiv-top{border-top:.067em solid;padding:.1em .2em .2em .433em}.longdiv-arc{clip-path:inset(0 0 0 .4em);box-sizing:border-box;border:.067em solid;border-radius:70%;width:.7em;position:absolute;top:0;bottom:.1em;left:-.4em;transform:translateY(-.067em)}.menclose{text-align:left;display:inline-block;position:relative}.phasor-bottom{border-bottom:.067em solid;padding:.2em .2em .1em .6em}.phasor-angle{aspect-ratio:.5;clip-path:polygon(.05em 100%,0 calc(100% - .05em),calc(100% - .05em) 0,100% .05em);background-color:currentColor;height:100%;display:inline-block;position:absolute;bottom:-.04em;left:.5px}.tml-fbox{border:1px solid;padding:3pt}.circle-pad{padding:.267em}.textcircle{border:.067em solid;border-radius:50%;position:absolute;inset:0}.actuarial{border-style:solid;border-width:.08em .08em 0 0;margin-right:.03889em;padding:.03889em .03889em 0}.tml-crooked-2{transform:scale(2,1.1)}.tml-crooked-3{transform:scale(3,1.3)}.tml-crooked-4{transform:scale(4,1.4)}.tml-right{text-align:-webkit-right}.tml-left{text-align:-webkit-left}}menclose{-webkit-print-color-adjust:exact;print-color-adjust:exact}.tml-right{text-align:right}.tml-left{text-align:left}.special-fraction{font-family:Times New Roman,Times,STIX TWO,Tinos,serif}math{flex-wrap:wrap;align-items:baseline;display:inline-flex}math>mrow{padding:.5ex 0}mtable.tml-jot mtd{padding-top:.7ex;padding-bottom:.7ex}mtable.tml-small mtd{padding-top:.35ex;padding-bottom:.35ex}.tml-shift-left{margin-left:-200%}.tml-eqn:before{counter-increment:tmlEqnNo;content:"(" counter(tmlEqnNo) ")"}body{counter-reset:tmlEqnNo}
|
|
1
|
+
@layer theme,base;@layer components{.stalux-prose{font-family:var(--font-body), "Noto Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;font-size:var(--font-size-base);color:var(--white-85p);text-rendering:optimizelegibility;line-height:1.75}.stalux-prose h1,.stalux-prose h2,.stalux-prose h3,.stalux-prose h4,.stalux-prose h5,.stalux-prose h6{color:var(--white-full);margin-top:var(--space-xl);margin-bottom:var(--space-md);font-weight:600;line-height:1.3}.stalux-prose h1{margin-top:2.5rem;margin-bottom:var(--space-lg);border-bottom:3px solid var(--accent-50p);padding-bottom:.6rem;font-size:2.6rem;font-weight:700;line-height:1.25}.stalux-prose h2{border-bottom:2px solid var(--accent-30p);margin-top:2.5rem;padding-bottom:.4rem;font-size:2rem;font-weight:650}.stalux-prose h3{color:var(--white-95p);margin-top:2rem;font-size:1.5rem;line-height:1.4}.stalux-prose h4{color:var(--white-90p);margin-top:1.5rem;margin-bottom:.6rem;font-size:1.25rem;line-height:1.45}.stalux-prose h5{color:var(--white-90p);margin-top:1.5rem;margin-bottom:.5rem;font-size:1.1rem;line-height:1.5}.stalux-prose h6{color:var(--white-80p);margin-top:1.5rem;margin-bottom:.5rem;font-size:1rem;line-height:1.5}.stalux-prose p{margin:0 0 var(--space-lg);line-height:1.75}.stalux-prose strong{color:#ffd966;font-weight:600}.stalux-prose em{color:var(--white-85p);font-style:italic}.stalux-prose strong em,.stalux-prose em strong{color:#ffd966}.stalux-prose del{color:var(--white-60p)}.stalux-prose mark{color:inherit;background-color:#ffd96640;border-radius:2px;padding:.1em .2em}.stalux-prose kbd{font-family:var(--font-code), "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;background-color:var(--white-10p);border:1px solid var(--white-20p);color:var(--white-85p);border-radius:4px;padding:.15em .4em;font-size:.85em}.stalux-prose sup,.stalux-prose sub{font-size:.8em}.stalux-prose a{color:var(--accent-80p);transition:color var(--transition-fast), border-bottom-color var(--transition-fast);overflow-wrap:anywhere;border-bottom:2px solid #0000;text-decoration:none}.stalux-prose a:focus-visible{color:var(--accent-90p);border-bottom-color:var(--accent-60p)}@media (hover:hover) and (pointer:fine){.stalux-prose a:hover{color:var(--accent-90p);border-bottom-color:var(--accent-60p)}}.stalux-prose code{font-family:var(--font-code), "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;color:#ff92d0;background-color:#ff79c626;border:1px solid #ff79c640;border-radius:4px;padding:.2em .4em;font-size:.88em}.stalux-prose pre{background:var(--black-30p);color:var(--white-85p);border-left:4px solid var(--accent-60p);margin:var(--space-xl) 0;font-size:.92em;line-height:1.65;font-family:var(--font-code), "JetBrains Mono", "Fira Code", "Consolas", "Courier New", monospace;box-shadow:var(--shadow-md);border-radius:8px;padding:1.2rem 1.5rem;overflow-x:auto}.stalux-prose pre code{color:inherit;font-size:inherit;background:0 0;border:none;padding:0;font-family:inherit}.expressive-code pre,.expressive-code code{all:revert}.stalux-prose ul,.stalux-prose ol{margin:0 0 var(--space-lg);padding-left:1.75rem}.stalux-prose li{color:var(--white-85p);margin:.4rem 0;line-height:1.75}.stalux-prose ul li{list-style:outside}.stalux-prose ul li ul li{list-style:circle}.stalux-prose ul li ul li ul li{list-style:square}.stalux-prose ol li{list-style:decimal}.stalux-prose ol li ol li{list-style:lower-alpha}.stalux-prose li>ul,.stalux-prose li>ol{margin-top:.3rem;margin-bottom:.3rem}.stalux-prose blockquote{margin:var(--space-xl) 0;border-left:4px solid var(--accent-60p);background:var(--surface-glass);border-top:1px solid var(--white-10p);border-right:1px solid var(--white-10p);border-bottom:1px solid var(--white-10p);color:var(--white-85p);border-radius:12px;padding:1rem 1.5rem;box-shadow:0 4px 16px #0002}.stalux-prose blockquote p{margin:0;line-height:1.7}.stalux-prose blockquote p+p{margin-top:.8rem}.stalux-prose blockquote strong{color:#ffd966}.stalux-prose blockquote code{font-size:.85em}.stalux-prose table{border-collapse:collapse;width:100%;margin:var(--space-xl) 0;box-shadow:var(--shadow-md);border-radius:8px;display:block;overflow:auto hidden}.stalux-prose th,.stalux-prose td{text-align:left;border-bottom:1px solid var(--white-10p);padding:.75rem 1rem;line-height:1.6}.stalux-prose th{white-space:nowrap;background:var(--accent-30p);color:var(--white-full);font-size:.95em;font-weight:600}.stalux-prose td{color:var(--white-85p)}.stalux-prose tr:nth-child(2n) td{background-color:var(--white-05p)}@media (hover:hover) and (pointer:fine){.stalux-prose tr:hover td{background-color:var(--black-10p)}}.stalux-prose table code{font-size:.85em}.stalux-prose img{max-width:100%;height:auto;margin:var(--space-xl) auto;box-shadow:var(--shadow-lg);transition:transform var(--transition-normal), box-shadow var(--transition-normal);border-radius:8px;display:block}@media (hover:hover) and (pointer:fine){.stalux-prose img:hover{box-shadow:var(--shadow-xl);transform:none}}.stalux-prose embed,.stalux-prose video{max-width:100%;height:auto;margin:var(--space-xl) auto;border-radius:8px;display:block}.stalux-prose hr{margin:var(--space-2xl) 0;background:linear-gradient(90deg, transparent, var(--white-15p) 20%, var(--accent-40p) 50%, var(--white-15p) 80%, transparent);border:none;height:1.5px}.stalux-prose details{margin:var(--space-lg) 0;background-color:var(--white-05p);border:1px solid var(--white-10p);transition:border-color var(--transition-fast);border-radius:6px;padding:.8rem 1rem}@media (hover:hover) and (pointer:fine){.stalux-prose details:hover{border-color:var(--white-20p)}}.stalux-prose summary{cursor:pointer;color:var(--white-90p);font-weight:600}.stalux-prose details[open] summary{border-bottom:1px solid var(--white-10p);margin-bottom:.8rem;padding-bottom:.6rem}.stalux-prose figure{text-align:center;margin:var(--space-xl) 0}.stalux-prose figcaption{color:var(--white-70p);margin-top:.5rem;font-size:.9em;font-style:italic}.stalux-prose .footnotes{color:var(--white-75p);border-top:1px solid var(--white-15p);margin-top:var(--space-2xl);padding-top:var(--space-lg);font-size:.88em}.stalux-prose .footnotes ol{margin-left:1rem;padding-left:.5rem}.stalux-prose .footnotes li{margin:.5rem 0;line-height:1.6}.stalux-prose .footnotes a{font-size:.9em}@media (width<=1024px){.stalux-prose{font-size:1.05rem}.stalux-prose h1{font-size:2.2rem}.stalux-prose h2{font-size:1.8rem}.stalux-prose h3{font-size:1.35rem}.stalux-prose h4{font-size:1.15rem}.stalux-prose pre{padding:1rem 1.2rem;font-size:.88em}}@media (width<=768px){.stalux-prose{font-size:1rem;line-height:1.7}.stalux-prose h1{margin-top:1.5rem;font-size:1.8rem}.stalux-prose h2{margin-top:1.5rem;font-size:1.4rem}.stalux-prose h3{margin-top:1.25rem;font-size:1.2rem}.stalux-prose h4{margin-top:1rem;font-size:1.1rem}.stalux-prose h5{font-size:1rem}.stalux-prose h6{font-size:.95rem}.stalux-prose p{margin-bottom:var(--space-md)}.stalux-prose pre{margin:var(--space-lg) 0;border-left-width:3px;padding:.8rem 1rem;font-size:.82em}.stalux-prose table{font-size:.85rem}.stalux-prose th,.stalux-prose td{padding:.5rem .7rem}.stalux-prose blockquote{padding:.8rem 1rem;font-size:.9em}.stalux-prose ul,.stalux-prose ol{padding-left:1.5rem}}.stalux-prose,.stalux-prose>*,.stalux-prose div,.stalux-prose .expressive-code,.stalux-prose .expressive-code .frame{box-sizing:border-box;min-width:0;max-width:100%}.stalux-prose{overflow-wrap:anywhere}.stalux-prose a:after{content:none}.stalux-prose a{text-decoration:underline;text-decoration-color:var(--accent-50p);text-underline-offset:.2em;border-bottom:0;text-decoration-thickness:1px}.stalux-prose a:has(img){text-decoration:none}.stalux-prose pre,.stalux-prose table,.stalux-prose .mermaid,.stalux-prose math{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.stalux-prose pre,.stalux-prose pre code{overflow-wrap:normal;word-break:normal}.stalux-prose :is(img,video,iframe,embed,svg,canvas){max-width:100%}.stalux-prose :is(img,video,svg,canvas){height:auto}.stalux-prose iframe{margin:var(--space-xl) auto;border-radius:8px;display:block}.stalux-prose .mermaid svg{max-width:none}.stalux-prose canvas{box-sizing:border-box}.stalux-prose summary{overflow-wrap:anywhere}}@layer utilities;@font-face{font-family:Stalux Math Aux;src:url(/fonts/StaluxMathAux.woff2)format("woff2");font-weight:400;font-style:normal}@font-face{font-family:Latin Modern Math;src:url(/fonts/latinmodern-math.woff2)format("woff2");font-display:swap}math{font-size-adjust:none;text-indent:0;text-transform:none;letter-spacing:normal;word-wrap:normal;font-feature-settings:"dtls" off;font-style:normal;font-weight:400;line-height:normal;font-family:"Latin Modern Math", var(--font-body), math;direction:ltr}math *{border-color:currentColor}math.tml-display{width:100%;display:block}.mathscr{font-family:Stalux Math Aux,serif}mfrac>:nth-child(2),msqrt,mover>:first-child{math-shift:compact}.menclose{padding:.5ex 0;display:inline-block;position:relative}.tml-cancelto{background-color:currentColor;padding:.5ex 0;display:inline-block;position:absolute;top:0;left:0;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><defs><marker id='a' markerHeight='5' markerUnits='strokeWidth' markerWidth='7' orient='auto' refX='7' refY='2.5'><path fill='black' d='m0 0 7 2.5L0 5z'/></marker></defs><line x2='100%25' y1='100%25' stroke='black' stroke-width='.06em' marker-end='url(%23a)' vector-effect='non-scaling-stroke'/></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><defs><marker id='a' markerHeight='5' markerUnits='strokeWidth' markerWidth='7' orient='auto' refX='7' refY='2.5'><path fill='black' d='m0 0 7 2.5L0 5z'/></marker></defs><line x2='100%25' y1='100%25' stroke='black' stroke-width='.06em' marker-end='url(%23a)' vector-effect='non-scaling-stroke'/></svg>");-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}@-moz-document url-prefix(){math{display:inline}math>mrow{padding:0}mtd,mtable.tml-small mtd{padding-top:0;padding-bottom:0}mtable.tml-jot mtd{padding-top:.2ex;padding-bottom:0}.tml-vec{transform:scale(.75)}.ff-narrow{width:0}.ff-nudge-left{margin-left:-.2em}.ff-squash mtd{height:0;display:block}}@supports not ((-moz-appearance:none)){mo.tml-prime{font-family:Stalux Math Aux,serif}.tml-sml-pad{padding-left:.05em}.tml-med-pad{padding-left:.1em}.tml-lrg-pad{padding-left:.15em}}@supports ((-webkit-backdrop-filter:blur(1px))){.wbk-acc{transform:translateY(.431em)}.wbk-sml{transform:translate(.07em)}.wbk-sml-acc{transform:translate(.07em,.431em)}.wbk-sml-vec{transform:scale(.75)translate(.07em)}.wbk-med{transform:translate(.14em)}.wbk-med-acc{transform:translate(.14em,.431em)}.wbk-med-vec{transform:scale(.75)translate(.14em)}.wbk-lrg{transform:translate(.21em)}.wbk-lrg-acc{transform:translate(.21em,.431em)}.wbk-lrg-vec{transform:scale(.75)translate(.21em)}}@supports (not ((-webkit-backdrop-filter:blur(1px)))) and (not ((-moz-appearance:none))){.chr-sml{transform:translate(.07em)}.chr-sml-vec{transform:scale(.75)translate(.07em)}.chr-med{transform:translate(.14em)}.chr-med-vec{transform:scale(.75)translate(.14em)}.chr-lrg{transform:translate(.21em)}.chr-lrg-vec{transform:scale(.75)translate(.21em)}.tml-shift-left{margin-left:-100%}menclose{padding:.5ex 0;position:relative}.tml-overline{border-top:.065em solid;padding:.1em 0 0}.tml-underline{border-bottom:.065em solid;padding:0 0 .1em}.tml-cancel{background-color:currentColor;width:100%;height:100%;display:inline-block;position:absolute;bottom:0;left:.5px}.upstrike{clip-path:polygon(.05em 100%,0 calc(100% - .05em),calc(100% - .05em) 0,100% .05em)}.downstrike{clip-path:polygon(0 .05em,.05em 0,100% calc(100% - .05em),calc(100% - .05em) 100%)}.sout{clip-path:polygon(0 calc(55% + .0333em),0 calc(55% - .0333em),100% calc(55% - .0333em),100% calc(55% + .0333em))}.tml-xcancel{clip-path:polygon(.05em 0,0 .05em,calc(50% - .05em) 50%,0 calc(100% - .05em),.05em 100%,50% calc(50% + .05em),calc(100% - .05em) 100%,100% calc(100% - .05em),calc(50% + .05em) 50%,100% .05em,calc(100% - .05em) 0%,50% calc(50% - .05em))}.longdiv-top{border-top:.067em solid;padding:.1em .2em .2em .433em}.longdiv-arc{clip-path:inset(0 0 0 .4em);box-sizing:border-box;border:.067em solid;border-radius:70%;width:.7em;position:absolute;top:0;bottom:.1em;left:-.4em;transform:translateY(-.067em)}.menclose{text-align:left;display:inline-block;position:relative}.phasor-bottom{border-bottom:.067em solid;padding:.2em .2em .1em .6em}.phasor-angle{aspect-ratio:.5;clip-path:polygon(.05em 100%,0 calc(100% - .05em),calc(100% - .05em) 0,100% .05em);background-color:currentColor;height:100%;display:inline-block;position:absolute;bottom:-.04em;left:.5px}.tml-fbox{border:1px solid;padding:3pt}.circle-pad{padding:.267em}.textcircle{border:.067em solid;border-radius:50%;position:absolute;inset:0}.actuarial{border-style:solid;border-width:.08em .08em 0 0;margin-right:.03889em;padding:.03889em .03889em 0}.tml-crooked-2{transform:scale(2,1.1)}.tml-crooked-3{transform:scale(3,1.3)}.tml-crooked-4{transform:scale(4,1.4)}.tml-right{text-align:-webkit-right}.tml-left{text-align:-webkit-left}}menclose{-webkit-print-color-adjust:exact;print-color-adjust:exact}.tml-right{text-align:right}.tml-left{text-align:left}.special-fraction{font-family:Times New Roman,Times,STIX TWO,Tinos,serif}math{flex-wrap:wrap;align-items:baseline;display:inline-flex}math>mrow{padding:.5ex 0}mtable.tml-jot mtd{padding-top:.7ex;padding-bottom:.7ex}mtable.tml-small mtd{padding-top:.35ex;padding-bottom:.35ex}.tml-shift-left{margin-left:-200%}.tml-eqn:before{counter-increment:tmlEqnNo;content:"(" counter(tmlEqnNo) ")"}body{counter-reset:tmlEqnNo}
|
|
2
2
|
/*$vite$:1*/
|
package/src/styles/math.css
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* 仅作用于 <math> 元素,不影响全局字体。
|
|
4
4
|
*
|
|
5
5
|
* Latin Modern Math 基于 GUST Font License (LPPL equivalent)
|
|
6
|
-
*
|
|
6
|
+
* StaluxMathAux.woff2 从 OFL KaTeX 字体独立重建,用于 \mathscr{} 和 Chromium prime 对齐
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/* ===== @font-face 声明 ===== */
|
|
10
10
|
|
|
11
11
|
@font-face {
|
|
12
|
-
font-family: "
|
|
13
|
-
src: url("/fonts/
|
|
12
|
+
font-family: "Stalux Math Aux";
|
|
13
|
+
src: url("/fonts/StaluxMathAux.woff2") format("woff2");
|
|
14
14
|
font-weight: normal;
|
|
15
15
|
font-style: normal;
|
|
16
16
|
}
|
|
@@ -50,7 +50,7 @@ math.tml-display {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
*.mathscr {
|
|
53
|
-
font-family: "
|
|
53
|
+
font-family: "Stalux Math Aux", serif;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* Cramped superscripts in WebKit */
|
|
@@ -127,7 +127,7 @@ mover > :first-child {
|
|
|
127
127
|
@supports (not (-moz-appearance: none)) {
|
|
128
128
|
/* prime vertical alignment */
|
|
129
129
|
mo.tml-prime {
|
|
130
|
-
font-family:
|
|
130
|
+
font-family: "Stalux Math Aux", serif;
|
|
131
131
|
}
|
|
132
132
|
/* Italic correction on superscripts */
|
|
133
133
|
.tml-sml-pad {
|