@takazudo/zudo-doc 4.3.0 → 4.4.0
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/CHANGELOG.md +23 -0
- package/bin/zudo-doc.mjs +54 -13
- package/dist/auto-logo/index.d.ts +18 -0
- package/dist/auto-logo/index.js +33 -0
- package/dist/auto-logo/shapes.d.ts +32 -0
- package/dist/auto-logo/shapes.js +183 -0
- package/dist/auto-logo/standalone.d.ts +7 -0
- package/dist/auto-logo/standalone.js +35 -0
- package/dist/config.d.ts +8 -0
- package/dist/config.js +1 -0
- package/dist/content.css +4 -3
- package/dist/doc-content-header/index.js +1 -1
- package/dist/doc-history/index.js +1 -1
- package/dist/doc-page-shell/index.js +1 -1
- package/dist/doc-pager/index.js +2 -2
- package/dist/eject-logo/config-parse.d.ts +25 -0
- package/dist/eject-logo/config-parse.js +68 -0
- package/dist/eject-logo/config-rewriter.d.ts +22 -0
- package/dist/eject-logo/config-rewriter.js +68 -0
- package/dist/eject-logo/eject.d.ts +18 -0
- package/dist/eject-logo/eject.js +66 -0
- package/dist/eject-logo/index.d.ts +4 -0
- package/dist/eject-logo/index.js +16 -0
- package/dist/eject-logo/site-name.d.ts +21 -0
- package/dist/eject-logo/site-name.js +31 -0
- package/dist/header/header.js +14 -6
- package/dist/header/nav-class-tokens.d.ts +12 -0
- package/dist/header/nav-class-tokens.js +80 -0
- package/dist/header/nav-overflow-script.js +33 -16
- package/dist/home-page/index.d.ts +34 -5
- package/dist/home-page/index.js +95 -38
- package/dist/home-page/prepare-home-data.d.ts +9 -0
- package/dist/home-page/prepare-home-data.js +10 -3
- package/dist/i18n-defaults/index.js +3 -0
- package/dist/metainfo/doc-metainfo.js +35 -22
- package/dist/routes/index.js +2 -1
- package/dist/routes/locale-index.js +2 -1
- package/dist/safelist.css +1 -1
- package/dist/settings.d.ts +7 -0
- package/dist/sidebar-tree-island/index.js +3 -3
- package/dist/theme-cli/config-scanner.js +47 -0
- package/dist/theme-packs/academia/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/academia/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/academia/fonts/OFL.txt +94 -0
- package/dist/theme-packs/academia/fonts/SourceSerif4-italic-latin.woff2 +0 -0
- package/dist/theme-packs/academia/fonts/SourceSerif4-latin.woff2 +0 -0
- package/dist/theme-packs/academia/meta.json +37 -0
- package/dist/theme-packs/academia/pack.css +505 -0
- package/dist/theme-packs/bauhaus/fonts/ArchivoBlack-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/fonts/OFL.txt +95 -0
- package/dist/theme-packs/bauhaus/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/meta.json +38 -0
- package/dist/theme-packs/bauhaus/pack.css +614 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/JosefinSans-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/OFL.txt +95 -0
- package/dist/theme-packs/blueprint/meta.json +38 -0
- package/dist/theme-packs/blueprint/pack.css +577 -0
- package/dist/theme-packs/botanica/fonts/CormorantGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CrimsonPro-latin-italic.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CrimsonPro-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/OFL.txt +95 -0
- package/dist/theme-packs/botanica/meta.json +38 -0
- package/dist/theme-packs/botanica/pack.css +546 -0
- package/dist/theme-packs/brutalist/meta.json +1 -1
- package/dist/theme-packs/brutalist/pack.css +10 -9
- package/dist/theme-packs/eink/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/EBGaramond-latin-italic.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/EBGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/OFL.txt +94 -0
- package/dist/theme-packs/eink/meta.json +37 -0
- package/dist/theme-packs/eink/pack.css +490 -0
- package/dist/theme-packs/foundry/meta.json +1 -1
- package/dist/theme-packs/foundry/pack.css +2 -2
- package/dist/theme-packs/hearth/meta.json +1 -1
- package/dist/theme-packs/hearth/pack.css +1 -1
- package/dist/theme-packs/nocturne/pack.css +4 -0
- package/dist/theme-packs/observatory/meta.json +1 -1
- package/dist/theme-packs/observatory/pack.css +4 -1
- package/dist/theme-packs/onyx/pack.css +6 -0
- package/dist/theme-packs/phosphor/pack.css +4 -0
- package/dist/theme-packs/riso/fonts/ArchivoBlack-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/OFL.txt +95 -0
- package/dist/theme-packs/riso/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/riso/meta.json +38 -0
- package/dist/theme-packs/riso/pack.css +602 -0
- package/dist/theme-packs/sakura/fonts/MPlus1Code-400-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/MPlus1Code-500-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/Nunito-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/OFL.txt +95 -0
- package/dist/theme-packs/sakura/fonts/ShipporiMincho-600-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/ShipporiMincho-700-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/meta.json +38 -0
- package/dist/theme-packs/sakura/pack.css +473 -0
- package/dist/theme-packs/scandi/fonts/Manrope-latin.woff2 +0 -0
- package/dist/theme-packs/scandi/fonts/OFL.txt +94 -0
- package/dist/theme-packs/scandi/fonts/SplineSansMono-latin.woff2 +0 -0
- package/dist/theme-packs/scandi/meta.json +37 -0
- package/dist/theme-packs/scandi/pack.css +370 -0
- package/dist/theme-packs/sumi/meta.json +1 -1
- package/dist/theme-packs/sumi/pack.css +4 -1
- package/dist/theme-packs/swissgrid/pack.css +4 -0
- package/dist/theme-packs/tidepool/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
- package/dist/theme-packs/tidepool/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/tidepool/fonts/OFL.txt +94 -0
- package/dist/theme-packs/tidepool/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/tidepool/meta.json +37 -0
- package/dist/theme-packs/tidepool/pack.css +425 -0
- package/dist/theme-packs/timberline/fonts/Fraunces-italic-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/Fraunces-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/OFL.txt +95 -0
- package/dist/theme-packs/timberline/fonts/SourceSans3-italic-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/SourceSans3-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/meta.json +38 -0
- package/dist/theme-packs/timberline/pack.css +509 -0
- package/dist/theme-packs/washi/meta.json +1 -1
- package/dist/theme-packs/washi/pack.css +6 -26
- package/eject/doc-history/index.tsx +1 -1
- package/eject/doc-pager/index.tsx +2 -2
- package/eject/header/header.tsx +16 -8
- package/eject/header/nav-class-tokens.ts +115 -0
- package/eject/header/nav-overflow-script.ts +49 -16
- package/eject/sidebar-tree-island/index.tsx +4 -4
- package/package.json +16 -8
- package/routes-src/index.tsx +2 -1
- package/routes-src/locale-index.tsx +2 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2014, 2018 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. Source Serif 4 is a trademark of Adobe in the United States and/or other countries. (https://github.com/adobe-fonts/source-serif)
|
|
2
|
+
Copyright 2015 The Courier Prime Project Authors (https://github.com/quoteunquoteapps/CourierPrime)
|
|
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://scripts.sil.org/OFL
|
|
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.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "academia",
|
|
4
|
+
"name": "Academia",
|
|
5
|
+
"description": "A LaTeX paper for the web — white page, Computer-Modern-black ink, hyperref navy links, numbered theorem admonitions, booktabs tables. Dark mode is a scholarly slate.",
|
|
6
|
+
"mode": "light",
|
|
7
|
+
"version": "1.0.0",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "Source Serif 4",
|
|
10
|
+
"mono": "Courier Prime",
|
|
11
|
+
"loaded": ["Source Serif 4", "Courier Prime"]
|
|
12
|
+
},
|
|
13
|
+
"preview": {
|
|
14
|
+
"light": {
|
|
15
|
+
"bg": "#ffffff",
|
|
16
|
+
"fg": "#141414",
|
|
17
|
+
"accent": "#1c3d8f",
|
|
18
|
+
"syntax": {
|
|
19
|
+
"keyword": "#1c3d8f",
|
|
20
|
+
"string": "#93262a",
|
|
21
|
+
"comment": "#2e6b2e",
|
|
22
|
+
"callable": "#295e80"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dark": {
|
|
26
|
+
"bg": "#1d222b",
|
|
27
|
+
"fg": "#e7eaf0",
|
|
28
|
+
"accent": "#97b8ee",
|
|
29
|
+
"syntax": {
|
|
30
|
+
"keyword": "#a3c0f2",
|
|
31
|
+
"string": "#e0a09a",
|
|
32
|
+
"comment": "#8cbc8c",
|
|
33
|
+
"callable": "#85c2da"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Academia — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
|
|
3
|
+
|
|
4
|
+
A LaTeX paper for the web. Light (hero): pure white page,
|
|
5
|
+
Computer-Modern-black ink, hyperref-navy links (colorlinks —
|
|
6
|
+
ink only, underline on hover), a centered small-caps title over
|
|
7
|
+
a justified, hyphenated measure. Admonitions are amsthm theorem
|
|
8
|
+
environments: a shared CSS counter numbers every box and the
|
|
9
|
+
small-caps head reads "Theorem 1 (Note)." Tables are booktabs —
|
|
10
|
+
heavy top/bottom rules, a midrule under the header, no verticals
|
|
11
|
+
and no rules between body rows. Dark mode is a scholarly slate:
|
|
12
|
+
cool near-black, soft white ink, steel-navy citations. Print is
|
|
13
|
+
square — no border-radius anywhere on a paper.
|
|
14
|
+
|
|
15
|
+
Distinct from its academic neighbors by construction: `ledger`
|
|
16
|
+
is Tufte (cream paper, oxblood hairlines, Crimson Pro);
|
|
17
|
+
`manuscript` is a Garamond book page (sepia rubrication,
|
|
18
|
+
fleurons). Academia is amsthm + booktabs on white — Source
|
|
19
|
+
Serif 4 body over Courier Prime verbatim listings with bold
|
|
20
|
+
navy keywords.
|
|
21
|
+
|
|
22
|
+
Every rule below is scoped under html[data-theme-pack="academia"]
|
|
23
|
+
— this is what makes the runtime pack swap atomic (Decision 3)
|
|
24
|
+
and lets the validator prove a pack can never leak styles while
|
|
25
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
26
|
+
exception (at-rules can't be selector-scoped).
|
|
27
|
+
|
|
28
|
+
Fonts: Source Serif 4 (variable 400–700, roman + italic,
|
|
29
|
+
byte-copied from broadsheet/) and Courier Prime (static 400 +
|
|
30
|
+
700, byte-copied from manuscript/ — the 700 keeps listing
|
|
31
|
+
keywords genuinely bold). Latin subsets only, matching the
|
|
32
|
+
broadsheet payload precedent — a stray latin-ext glyph falls
|
|
33
|
+
back to the stack's system serif.
|
|
34
|
+
============================================================ */
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Source Serif 4";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 400 700;
|
|
40
|
+
font-display: swap;
|
|
41
|
+
src: url("./fonts/SourceSerif4-latin.woff2") format("woff2");
|
|
42
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
43
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
44
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: "Source Serif 4";
|
|
49
|
+
font-style: italic;
|
|
50
|
+
font-weight: 400 700;
|
|
51
|
+
font-display: swap;
|
|
52
|
+
src: url("./fonts/SourceSerif4-italic-latin.woff2") format("woff2");
|
|
53
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
54
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
55
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: "Courier Prime";
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 400;
|
|
62
|
+
font-display: swap;
|
|
63
|
+
src: url("./fonts/CourierPrime-400-latin.woff2") format("woff2");
|
|
64
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
65
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
66
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: "Courier Prime";
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
font-display: swap;
|
|
74
|
+
src: url("./fonts/CourierPrime-700-latin.woff2") format("woff2");
|
|
75
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
76
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
77
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
html[data-theme-pack="academia"] {
|
|
81
|
+
/* Tier-2 semantic roles — white paper, CM-black ink, hyperref navy.
|
|
82
|
+
Both modes always via light-dark(); dark is a scholarly slate. */
|
|
83
|
+
--zd-bg: light-dark(#ffffff, #1d222b);
|
|
84
|
+
--zd-fg: light-dark(#141414, #e7eaf0);
|
|
85
|
+
--zd-selection-bg: light-dark(#cdd9f0, #33507e);
|
|
86
|
+
--zd-selection-fg: light-dark(#0f2350, #edf2fb);
|
|
87
|
+
--zd-surface: light-dark(#ffffff, #222834);
|
|
88
|
+
--zd-muted: light-dark(#575757, #a0aabb);
|
|
89
|
+
--zd-accent: light-dark(#1c3d8f, #97b8ee);
|
|
90
|
+
--zd-accent-hover: light-dark(#142c6d, #b3ccf6);
|
|
91
|
+
--zd-code-bg: light-dark(#f7f7f4, #252b37);
|
|
92
|
+
--zd-code-fg: light-dark(#1a1a1a, #e2e7f0);
|
|
93
|
+
--zd-success: light-dark(#2e6b2e, #90c890);
|
|
94
|
+
--zd-danger: light-dark(#a3231f, #e59d97);
|
|
95
|
+
--zd-warning: light-dark(#7d5300, #d9b36e);
|
|
96
|
+
--zd-info: light-dark(#22597c, #8dbede);
|
|
97
|
+
|
|
98
|
+
/* syntax — all 9 roles restyled, both modes: the `listings` package
|
|
99
|
+
palette. Bold navy keywords (weight rule below), green italic
|
|
100
|
+
comments, maroon strings, gray numbers, steel callables, violet
|
|
101
|
+
types. inserted/deleted reuse the success/danger inks. */
|
|
102
|
+
--zd-syntax-comment: light-dark(#2e6b2e, #8cbc8c);
|
|
103
|
+
--zd-syntax-string: light-dark(#93262a, #e0a09a);
|
|
104
|
+
--zd-syntax-number: light-dark(#55555a, #a8b2c2);
|
|
105
|
+
--zd-syntax-keyword: light-dark(#1c3d8f, #a3c0f2);
|
|
106
|
+
--zd-syntax-callable: light-dark(#295e80, #85c2da);
|
|
107
|
+
--zd-syntax-type: light-dark(#61399b, #c3a8ec);
|
|
108
|
+
--zd-syntax-name: light-dark(#232323, #dfe4ee);
|
|
109
|
+
--zd-syntax-inserted: light-dark(#2e6b2e, #90c890);
|
|
110
|
+
--zd-syntax-deleted: light-dark(#a3231f, #e59d97);
|
|
111
|
+
|
|
112
|
+
/* fonts — Source Serif 4 for everything set in type, Courier Prime
|
|
113
|
+
for verbatim. Loaded face first, generic last (Decision 5). */
|
|
114
|
+
--font-sans: "Source Serif 4", Georgia, "Times New Roman", serif;
|
|
115
|
+
--font-mono: "Courier Prime", "Courier New", ui-monospace, monospace;
|
|
116
|
+
|
|
117
|
+
/* Tier-3 component seams — book-weight roman headings, hyperref
|
|
118
|
+
colorlinks (ink only), square print shapes everywhere. */
|
|
119
|
+
--zdc-doc-title-font: var(--font-sans);
|
|
120
|
+
--zdc-doc-title-weight: 600;
|
|
121
|
+
--zdc-doc-title-tracking: 0.02em;
|
|
122
|
+
--zdc-doc-h2-font: var(--font-sans);
|
|
123
|
+
--zdc-doc-h2-weight: 700;
|
|
124
|
+
--zdc-doc-h2-tracking: 0;
|
|
125
|
+
--zdc-doc-h3-weight: 700;
|
|
126
|
+
--zdc-doc-h4-weight: 600;
|
|
127
|
+
--zdc-doc-prose-font: var(--font-sans);
|
|
128
|
+
--zdc-doc-link-decoration: none;
|
|
129
|
+
--zdc-admonition-radius: 0;
|
|
130
|
+
--zdc-admonition-border-width: 1px;
|
|
131
|
+
--zdc-card-radius: 0;
|
|
132
|
+
/* Band cap = 46rem paper measure + TOC rail + gaps, keeping the
|
|
133
|
+
contents column within reading distance of the centered page. */
|
|
134
|
+
--zdc-content-max-width: 72rem;
|
|
135
|
+
/* transparent in both modes — clears the default solid active block;
|
|
136
|
+
the navy citation-style active treatment is the scoped rules below. */
|
|
137
|
+
--zdc-nav-active-indicator-color: transparent;
|
|
138
|
+
--zdc-nav-active-weight: 600;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* ---- Academia extras: theorem counters, booktabs rules, hyperref ink ---- */
|
|
142
|
+
|
|
143
|
+
/* the shared theorem counter (amsthm's default: one sequence across all
|
|
144
|
+
environments) plus the section counters, reset per article. */
|
|
145
|
+
html[data-theme-pack="academia"] .zd-content {
|
|
146
|
+
counter-reset: zd-acad-sec zd-acad-thm;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* ---- justified, hyphenated paragraphs — the TeX measure ---- */
|
|
150
|
+
html[data-theme-pack="academia"] .zd-content p {
|
|
151
|
+
text-align: justify;
|
|
152
|
+
-webkit-hyphens: auto;
|
|
153
|
+
hyphens: auto;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* ---- the paper page: a centered ~46rem measure. Wide pages
|
|
157
|
+
(`data-zd-wide` — e.g. the site home) keep their full band. ---- */
|
|
158
|
+
html[data-theme-pack="academia"] .zd-doc-content-band:not([data-zd-wide]) .zd-content {
|
|
159
|
+
max-width: 46rem;
|
|
160
|
+
margin-inline: auto;
|
|
161
|
+
}
|
|
162
|
+
html[data-theme-pack="academia"] .zd-doc-content-band:not([data-zd-wide]) main nav[aria-label="Breadcrumb"],
|
|
163
|
+
html[data-theme-pack="academia"] .zd-doc-content-band:not([data-zd-wide]) div[data-zd-mobile-toc] {
|
|
164
|
+
max-width: 46rem;
|
|
165
|
+
margin-inline: auto;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* ---- centered small-caps paper title ---- */
|
|
169
|
+
html[data-theme-pack="academia"] .zd-content h1 {
|
|
170
|
+
text-align: center;
|
|
171
|
+
font-variant-caps: small-caps;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* ---- the description becomes the abstract: a narrow centered block
|
|
175
|
+
under a small-caps "Abstract" head (both emitters carry the
|
|
176
|
+
stable data-doc-description hook). ---- */
|
|
177
|
+
html[data-theme-pack="academia"] .zd-content p[data-doc-description] {
|
|
178
|
+
max-width: 34rem;
|
|
179
|
+
margin-inline: auto;
|
|
180
|
+
font-size: 0.95em;
|
|
181
|
+
line-height: 1.6;
|
|
182
|
+
}
|
|
183
|
+
html[data-theme-pack="academia"] .zd-content p[data-doc-description]::before {
|
|
184
|
+
content: "Abstract";
|
|
185
|
+
display: block;
|
|
186
|
+
text-align: center;
|
|
187
|
+
font-variant-caps: small-caps;
|
|
188
|
+
font-style: normal;
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
letter-spacing: 0.05em;
|
|
191
|
+
color: var(--zd-fg);
|
|
192
|
+
margin-bottom: 0.4rem;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* ---- numbered sections: "1 How themes work", "1.1 Syntax".
|
|
196
|
+
The h2/h3/h4 border-image !important is Decision 6.6's sole
|
|
197
|
+
allowlisted carve-out (defeats the SSR-inlined gradient rule) —
|
|
198
|
+
LaTeX sections carry no rules at all, just bold numbered type. ---- */
|
|
199
|
+
html[data-theme-pack="academia"] .zd-content h2 {
|
|
200
|
+
border-image: none !important;
|
|
201
|
+
border-top: 0;
|
|
202
|
+
padding-top: 0.35rem;
|
|
203
|
+
counter-increment: zd-acad-sec;
|
|
204
|
+
counter-reset: zd-acad-sub;
|
|
205
|
+
}
|
|
206
|
+
html[data-theme-pack="academia"] .zd-content h2::before {
|
|
207
|
+
content: counter(zd-acad-sec) "\2003";
|
|
208
|
+
}
|
|
209
|
+
html[data-theme-pack="academia"] .zd-content h3 {
|
|
210
|
+
border-image: none !important;
|
|
211
|
+
border-top: 0;
|
|
212
|
+
counter-increment: zd-acad-sub;
|
|
213
|
+
}
|
|
214
|
+
html[data-theme-pack="academia"] .zd-content h3::before {
|
|
215
|
+
content: counter(zd-acad-sec) "." counter(zd-acad-sub) "\2003";
|
|
216
|
+
}
|
|
217
|
+
html[data-theme-pack="academia"] .zd-content h4 {
|
|
218
|
+
border-image: none !important;
|
|
219
|
+
border-top: 0;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* ---- links: hyperref colorlinks — navy ink, underline only on hover ---- */
|
|
223
|
+
html[data-theme-pack="academia"] .zd-content a:hover {
|
|
224
|
+
text-decoration: underline;
|
|
225
|
+
text-underline-offset: 0.15em;
|
|
226
|
+
text-decoration-thickness: 1px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* ---- admonitions: amsthm theorem environments in a hairline mdframed
|
|
230
|
+
box. One shared counter; the head reads "Theorem 1 (Note)." in
|
|
231
|
+
small caps; theorem/lemma bodies are italic (amsthm plain style),
|
|
232
|
+
the rest stay upright. Tints are a whisper (6%) of the variant
|
|
233
|
+
ink over the page — paper, not chips. ---- */
|
|
234
|
+
html[data-theme-pack="academia"] [data-admonition] {
|
|
235
|
+
counter-increment: zd-acad-thm;
|
|
236
|
+
border-top: 1px solid color-mix(in srgb, var(--zd-fg) 35%, transparent);
|
|
237
|
+
border-right: 1px solid color-mix(in srgb, var(--zd-fg) 35%, transparent);
|
|
238
|
+
border-bottom: 1px solid color-mix(in srgb, var(--zd-fg) 35%, transparent);
|
|
239
|
+
padding: 0.9rem 1.15rem 0.75rem;
|
|
240
|
+
}
|
|
241
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-title {
|
|
242
|
+
font-variant-caps: small-caps;
|
|
243
|
+
font-weight: 600;
|
|
244
|
+
font-size: 1em;
|
|
245
|
+
letter-spacing: 0.02em;
|
|
246
|
+
margin-bottom: 0.2rem;
|
|
247
|
+
}
|
|
248
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-title::before {
|
|
249
|
+
margin-right: 0;
|
|
250
|
+
}
|
|
251
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-title::after {
|
|
252
|
+
content: ").";
|
|
253
|
+
}
|
|
254
|
+
html[data-theme-pack="academia"] [data-admonition="note"] {
|
|
255
|
+
background-color: color-mix(in srgb, var(--zd-accent) 6%, var(--zd-bg));
|
|
256
|
+
}
|
|
257
|
+
html[data-theme-pack="academia"] [data-admonition="note"] .admonition-title::before {
|
|
258
|
+
content: "Theorem " counter(zd-acad-thm) "\2002(";
|
|
259
|
+
}
|
|
260
|
+
html[data-theme-pack="academia"] [data-admonition="tip"] {
|
|
261
|
+
background-color: color-mix(in srgb, var(--zd-success) 6%, var(--zd-bg));
|
|
262
|
+
}
|
|
263
|
+
html[data-theme-pack="academia"] [data-admonition="tip"] .admonition-title::before {
|
|
264
|
+
content: "Lemma " counter(zd-acad-thm) "\2002(";
|
|
265
|
+
}
|
|
266
|
+
html[data-theme-pack="academia"] [data-admonition="info"] {
|
|
267
|
+
background-color: color-mix(in srgb, var(--zd-info) 6%, var(--zd-bg));
|
|
268
|
+
}
|
|
269
|
+
html[data-theme-pack="academia"] [data-admonition="info"] .admonition-title::before {
|
|
270
|
+
content: "Definition " counter(zd-acad-thm) "\2002(";
|
|
271
|
+
}
|
|
272
|
+
html[data-theme-pack="academia"] [data-admonition="warning"] {
|
|
273
|
+
background-color: color-mix(in srgb, var(--zd-warning) 6%, var(--zd-bg));
|
|
274
|
+
}
|
|
275
|
+
html[data-theme-pack="academia"] [data-admonition="warning"] .admonition-title::before {
|
|
276
|
+
content: "Remark " counter(zd-acad-thm) "\2002(";
|
|
277
|
+
}
|
|
278
|
+
html[data-theme-pack="academia"] [data-admonition="danger"] {
|
|
279
|
+
background-color: color-mix(in srgb, var(--zd-danger) 6%, var(--zd-bg));
|
|
280
|
+
}
|
|
281
|
+
html[data-theme-pack="academia"] [data-admonition="danger"] .admonition-title::before {
|
|
282
|
+
content: "Warning " counter(zd-acad-thm) "\2002(";
|
|
283
|
+
}
|
|
284
|
+
html[data-theme-pack="academia"] [data-admonition="important"] {
|
|
285
|
+
background-color: color-mix(in srgb, var(--zd-accent) 6%, var(--zd-bg));
|
|
286
|
+
}
|
|
287
|
+
html[data-theme-pack="academia"] [data-admonition="important"] .admonition-title::before {
|
|
288
|
+
content: "Proposition " counter(zd-acad-thm) "\2002(";
|
|
289
|
+
}
|
|
290
|
+
html[data-theme-pack="academia"] [data-admonition="caution"] {
|
|
291
|
+
background-color: color-mix(in srgb, var(--zd-danger) 6%, var(--zd-bg));
|
|
292
|
+
}
|
|
293
|
+
html[data-theme-pack="academia"] [data-admonition="caution"] .admonition-title::before {
|
|
294
|
+
content: "Claim " counter(zd-acad-thm) "\2002(";
|
|
295
|
+
}
|
|
296
|
+
/* theorem & lemma statements are italic (amsthm plain style); verbatim
|
|
297
|
+
inside a statement stays upright. */
|
|
298
|
+
html[data-theme-pack="academia"] [data-admonition="note"] .admonition-body,
|
|
299
|
+
html[data-theme-pack="academia"] [data-admonition="tip"] .admonition-body {
|
|
300
|
+
font-style: italic;
|
|
301
|
+
}
|
|
302
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-body code,
|
|
303
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-body pre,
|
|
304
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-body kbd,
|
|
305
|
+
html[data-theme-pack="academia"] [data-admonition] .admonition-body samp {
|
|
306
|
+
font-style: normal;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* ---- tables: booktabs — toprule, midrule, bottomrule; no verticals,
|
|
310
|
+
no rules between body rows; small-caps column heads ---- */
|
|
311
|
+
html[data-theme-pack="academia"] .zd-content table {
|
|
312
|
+
border-top: 2px solid color-mix(in srgb, var(--zd-fg) 85%, transparent);
|
|
313
|
+
border-bottom: 2px solid color-mix(in srgb, var(--zd-fg) 85%, transparent);
|
|
314
|
+
}
|
|
315
|
+
html[data-theme-pack="academia"] .zd-content th {
|
|
316
|
+
font-variant-caps: small-caps;
|
|
317
|
+
font-weight: 600;
|
|
318
|
+
letter-spacing: 0.03em;
|
|
319
|
+
border-bottom: 1px solid color-mix(in srgb, var(--zd-fg) 85%, transparent);
|
|
320
|
+
}
|
|
321
|
+
html[data-theme-pack="academia"] .zd-content td {
|
|
322
|
+
border-bottom: none;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/* ---- inline code is pure \texttt{}: no pill, just the typewriter ---- */
|
|
326
|
+
html[data-theme-pack="academia"] .zd-content code:not(pre code) {
|
|
327
|
+
background-color: transparent;
|
|
328
|
+
border: none;
|
|
329
|
+
border-radius: 0;
|
|
330
|
+
padding: 0 0.08em;
|
|
331
|
+
font-size: 0.88em;
|
|
332
|
+
/* true \texttt{} — Courier Prime ships 400/700 only; the default
|
|
333
|
+
medium (500) would silently resolve to 400 anyway. */
|
|
334
|
+
font-weight: 400;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/* ---- code blocks: a framed verbatim listing — hairline ink box, bold
|
|
338
|
+
keywords (the loaded Courier Prime 700), italic comments ---- */
|
|
339
|
+
html[data-theme-pack="academia"] pre.hi-root {
|
|
340
|
+
font-size: 0.85rem;
|
|
341
|
+
line-height: 1.65;
|
|
342
|
+
border: 1px solid color-mix(in srgb, var(--zd-fg) 40%, transparent);
|
|
343
|
+
border-radius: 0;
|
|
344
|
+
padding: 1rem 1.15rem;
|
|
345
|
+
}
|
|
346
|
+
html[data-theme-pack="academia"] .hi-kw {
|
|
347
|
+
font-weight: 700;
|
|
348
|
+
}
|
|
349
|
+
html[data-theme-pack="academia"] .hi-com {
|
|
350
|
+
font-style: italic;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* ---- blockquote: the LaTeX quote environment — indented both sides,
|
|
354
|
+
italic, no bar ---- */
|
|
355
|
+
html[data-theme-pack="academia"] .zd-content blockquote {
|
|
356
|
+
border-left: none;
|
|
357
|
+
padding: 0.2rem 1.6rem;
|
|
358
|
+
font-style: italic;
|
|
359
|
+
font-size: 0.97em;
|
|
360
|
+
color: color-mix(in srgb, var(--zd-fg) 82%, var(--zd-bg));
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/* ---- hr: the footnote rule — short, thin, left-set ---- */
|
|
364
|
+
html[data-theme-pack="academia"] .zd-content hr {
|
|
365
|
+
width: 33%;
|
|
366
|
+
max-width: 11rem;
|
|
367
|
+
margin: 2.4rem auto 1.2rem 0;
|
|
368
|
+
border-top: 1px solid color-mix(in srgb, var(--zd-fg) 55%, transparent);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* ---- header: a running head over a hairline rule ---- */
|
|
372
|
+
html[data-theme-pack="academia"] header[data-header] {
|
|
373
|
+
background-color: var(--zd-bg);
|
|
374
|
+
border-bottom-color: color-mix(in srgb, var(--zd-fg) 35%, transparent);
|
|
375
|
+
}
|
|
376
|
+
html[data-theme-pack="academia"] [data-header-logo] {
|
|
377
|
+
font-variant-caps: small-caps;
|
|
378
|
+
font-weight: 600;
|
|
379
|
+
letter-spacing: 0.03em;
|
|
380
|
+
font-size: 1.3rem;
|
|
381
|
+
}
|
|
382
|
+
html[data-theme-pack="academia"] [data-nav-item] {
|
|
383
|
+
font-variant-caps: all-small-caps;
|
|
384
|
+
font-weight: 500;
|
|
385
|
+
font-size: 1rem;
|
|
386
|
+
letter-spacing: 0.08em;
|
|
387
|
+
}
|
|
388
|
+
html[data-theme-pack="academia"] [data-nav-item]:hover {
|
|
389
|
+
color: var(--zd-accent);
|
|
390
|
+
text-decoration: none;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/* ---- sidebar: the contents page — hairline spine; the current entry
|
|
394
|
+
is a navy citation (ink + thin marginal bar), never a solid
|
|
395
|
+
block. `aside` covers both the desktop rail and the mobile
|
|
396
|
+
drawer; the aria-current state is restyled, not swallowed. ---- */
|
|
397
|
+
html[data-theme-pack="academia"] #desktop-sidebar {
|
|
398
|
+
border-right-color: color-mix(in srgb, var(--zd-fg) 25%, transparent);
|
|
399
|
+
}
|
|
400
|
+
html[data-theme-pack="academia"] aside[data-zd-mobile-sidebar] {
|
|
401
|
+
background-color: var(--zd-bg);
|
|
402
|
+
border-right-color: color-mix(in srgb, var(--zd-fg) 25%, transparent);
|
|
403
|
+
}
|
|
404
|
+
html[data-theme-pack="academia"] #desktop-sidebar a:hover {
|
|
405
|
+
color: var(--zd-accent);
|
|
406
|
+
text-decoration: none;
|
|
407
|
+
}
|
|
408
|
+
html[data-theme-pack="academia"] aside a[aria-current="page"],
|
|
409
|
+
html[data-theme-pack="academia"] aside div:has(> a[aria-current="page"]) {
|
|
410
|
+
background-color: transparent;
|
|
411
|
+
color: var(--zd-accent);
|
|
412
|
+
font-weight: 600;
|
|
413
|
+
}
|
|
414
|
+
html[data-theme-pack="academia"] aside a[aria-current="page"] {
|
|
415
|
+
box-shadow: inset 2px 0 0 0 var(--zd-accent);
|
|
416
|
+
}
|
|
417
|
+
/* the default active row paints its icons/borders in bg-on-fg colors; with
|
|
418
|
+
the block cleared those would vanish — re-ink them. */
|
|
419
|
+
html[data-theme-pack="academia"] aside a[aria-current="page"] svg {
|
|
420
|
+
color: currentcolor;
|
|
421
|
+
}
|
|
422
|
+
html[data-theme-pack="academia"] aside div:has(> a[aria-current="page"]) > button {
|
|
423
|
+
border-color: color-mix(in srgb, var(--zd-fg) 25%, transparent);
|
|
424
|
+
}
|
|
425
|
+
html[data-theme-pack="academia"] aside div:has(> a[aria-current="page"]) > button svg {
|
|
426
|
+
color: var(--zd-muted);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/* ---- breadcrumb: a margin note in italic ---- */
|
|
430
|
+
html[data-theme-pack="academia"] main nav[aria-label="Breadcrumb"] {
|
|
431
|
+
font-style: italic;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/* ---- TOC: the contents column — hairline spine, navy citation for
|
|
435
|
+
the active entry (aria-current IS the contract) ---- */
|
|
436
|
+
html[data-theme-pack="academia"] nav[data-zd-toc] {
|
|
437
|
+
font-size: 0.9rem;
|
|
438
|
+
}
|
|
439
|
+
html[data-theme-pack="academia"] nav[data-zd-toc] ul {
|
|
440
|
+
border-left-color: color-mix(in srgb, var(--zd-fg) 25%, transparent);
|
|
441
|
+
}
|
|
442
|
+
html[data-theme-pack="academia"] nav[data-zd-toc] a:hover {
|
|
443
|
+
color: var(--zd-accent);
|
|
444
|
+
text-decoration: none;
|
|
445
|
+
}
|
|
446
|
+
html[data-theme-pack="academia"] nav[data-zd-toc] a[aria-current="true"] {
|
|
447
|
+
background: transparent;
|
|
448
|
+
color: var(--zd-accent);
|
|
449
|
+
font-weight: 600;
|
|
450
|
+
/* pull the entry back over the list's hairline so the navy spine sits
|
|
451
|
+
on it (compensates the ul's pl-hsp-lg padding + 1px border). */
|
|
452
|
+
margin-left: calc(-1 * var(--spacing-hsp-lg) - 1px);
|
|
453
|
+
padding-left: var(--spacing-hsp-lg);
|
|
454
|
+
box-shadow: inset 2px 0 0 0 var(--zd-accent);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* ---- mobile TOC: same contents-page manners at narrow widths ---- */
|
|
458
|
+
html[data-theme-pack="academia"] div[data-zd-mobile-toc] {
|
|
459
|
+
border-color: color-mix(in srgb, var(--zd-fg) 30%, transparent);
|
|
460
|
+
}
|
|
461
|
+
html[data-theme-pack="academia"] div[data-zd-mobile-toc] > button {
|
|
462
|
+
font-variant-caps: small-caps;
|
|
463
|
+
letter-spacing: 0.04em;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/* ---- pager: cited works — square hairline cards, small-caps labels,
|
|
467
|
+
italic titles, a breath of navy on hover ---- */
|
|
468
|
+
html[data-theme-pack="academia"] .zd-content > nav[data-doc-pager] > a {
|
|
469
|
+
border-color: color-mix(in srgb, var(--zd-fg) 35%, transparent);
|
|
470
|
+
border-radius: 0;
|
|
471
|
+
background: transparent;
|
|
472
|
+
}
|
|
473
|
+
html[data-theme-pack="academia"] .zd-content > nav[data-doc-pager] > a:hover {
|
|
474
|
+
background: color-mix(in srgb, var(--zd-accent) 5%, transparent);
|
|
475
|
+
border-color: var(--zd-accent);
|
|
476
|
+
}
|
|
477
|
+
html[data-theme-pack="academia"] .zd-content > nav[data-doc-pager] > a div {
|
|
478
|
+
font-variant-caps: all-small-caps;
|
|
479
|
+
letter-spacing: 0.1em;
|
|
480
|
+
}
|
|
481
|
+
html[data-theme-pack="academia"] .zd-content > nav[data-doc-pager] > a p {
|
|
482
|
+
font-style: italic;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/* ---- footer: the end of the paper — a single hairline rule ---- */
|
|
486
|
+
html[data-theme-pack="academia"] footer[data-footer] {
|
|
487
|
+
border-top: 1px solid color-mix(in srgb, var(--zd-fg) 35%, transparent);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/* ---- theme-pack flyout: an offprint — hairline frame, square corners,
|
|
491
|
+
a flat stacked-page shadow, small-caps title ---- */
|
|
492
|
+
html[data-theme-pack="academia"] div[data-switcher-card] {
|
|
493
|
+
border: 1px solid color-mix(in srgb, var(--zd-fg) 45%, transparent);
|
|
494
|
+
border-radius: 0;
|
|
495
|
+
box-shadow: 6px 6px 0 color-mix(in srgb, var(--zd-fg) 12%, transparent);
|
|
496
|
+
}
|
|
497
|
+
html[data-theme-pack="academia"] div[data-switcher-card] p[aria-live="polite"] {
|
|
498
|
+
font-variant-caps: small-caps;
|
|
499
|
+
font-weight: 600;
|
|
500
|
+
font-size: 1.15rem;
|
|
501
|
+
}
|
|
502
|
+
html[data-theme-pack="academia"] button[data-switcher-launcher] {
|
|
503
|
+
border-radius: 0;
|
|
504
|
+
box-shadow: 4px 4px 0 color-mix(in srgb, var(--zd-fg) 12%, transparent);
|
|
505
|
+
}
|
|
Binary file
|
|
Binary file
|