Skip to content

Commit e8c20da

Browse files
committed
replace jekyll files with zola files
Signed-off-by: Zhenbo Li <[email protected]>
1 parent 7e93f95 commit e8c20da

File tree

304 files changed

+15699
-2051
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

304 files changed

+15699
-2051
lines changed

.gitignore

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
*~
2-
_site
3-
*.swp
4-
5-
.jekyll-cache
1+
.env
2+
public
3+
themes
4+
build
5+
storage
6+
node_modules
7+
package-lock.json
8+
static/demo.html
9+
static/tinysearch_engine.js
10+
static/tinysearch_engine.d.ts
11+
static/tinysearch_engine_bg.wasm.d.ts
12+
static/package.json
13+
static/js/pagefind.js
14+
static/js/pagefind-*.js
15+
static/js/pagefind-*.css
16+
static/js/pagefind.*.pf_meta
17+
static/js/index
18+
static/js/fragment

.nojekyll

Whitespace-only changes.

404.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

COPY-TO-ROOT-SASS/_extra.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/******************************************************************************
2+
* Extra - Put your extra SASS/CSS here, it will get bundled with abridge.css
3+
*****************************************************************************/

COPY-TO-ROOT-SASS/abridge.scss

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
@use '../themes/abridge/sass/abridge' with (
2+
/// LINES HERE END WITH COMMA AFTER THE VALUE!
3+
/// The things your less likely to need to override have been commented out.
4+
5+
/// Enable a centered viewport for <header>, <main>, <footer> inside <body>
6+
/// Fluid layout until a defined size, then becomes centered viewport.
7+
//$enable-maxwidth: true,
8+
$mw: 70%,// max-width
9+
//$mb: 1200px,// value at which to switch from fluid layout to max-width
10+
11+
$abridgeMode: "switcher",//valid values: switcher, auto, dark, light
12+
$syntax-mode: "auto",// Force syntax mode: auto, dark, light
13+
$switcherDefault: "dark",// default nojs switcher mode: dark, light (make sure to also set js_switcher_default in config.toml)
14+
15+
$color: "orange",// color template to use/override: orange, blue, blueshade
16+
17+
$color-syntax: "abridge",// syntax color template to use/override: abridge,
18+
$syntax: true,//syntax highlighting for Code Blocks.
19+
20+
$enable-icons: true,// false disables ALL icons
21+
$ic: true,// true for colorized icons, otherwise #888 is used.
22+
23+
$icon-rss: true,
24+
$icon-mail: false,// e-mail
25+
$icon-mastodon: false,
26+
$icon-element: false,
27+
$icon-matrix: false,
28+
$icon-buymeacoffee: false,
29+
$icon-kofi: false,
30+
$icon-twitter: false,
31+
$icon-facebook: false,
32+
$icon-linkedin: false,
33+
$icon-codeberg: false,
34+
$icon-gitlab: false,
35+
$icon-github: false,
36+
$icon-github-sponsor: false,
37+
$icon-bitbucket: false,
38+
$icon-python: false,
39+
$icon-docker: false,
40+
$icon-stack: false,
41+
$icon-instagram: false,
42+
$icon-pixelfed: false,
43+
$icon-pinterest: false,
44+
$icon-discord: false,
45+
$icon-twitch: false,
46+
$icon-youtube: false,
47+
$icon-peertube: false,
48+
$icon-researchgate: false,
49+
$icon-telegram: false,
50+
51+
//$icon-x: true,// x symbol, used to close search results page.
52+
//$icon-search: true,//search, spyglass search button in search box.
53+
//$icon-adjust: true,//theme switcher dark/light toggle button.
54+
//$icon-angll: true,//pagination, goto first page
55+
//$icon-angl: true,//pagination, goto previous page
56+
//$icon-angr: true,//pagination, goto next page
57+
//$icon-angrr: true,//pagination, goto last page
58+
//$icon-angu: true,//back to top button, appears after scrolling down.
59+
//$icon-world: true,//language select menu
60+
//$icon-copy: true,//copy to clipboard, for code blocks.
61+
62+
//$icon-ffolder: false,
63+
//$icon-folder: false,// categories folder
64+
//$icon-ftag: false,
65+
//$icon-tag: false,// tag
66+
//$icon-check: false,// check mark
67+
//$icon-chevron: false,// chevron down
68+
//$icon-clock: false,// time analog clock
69+
//$icon-date: false,// calendar
70+
//$icon-globe: false,
71+
//$icon-home: false,
72+
//$icon-minus: false,// minus symbol
73+
//$icon-moon: false,// dark moon
74+
//$icon-sun: false,// light sun
75+
76+
/// The colors below can be overrided individually as needed.
77+
78+
/// Dark Colors
79+
//$f1d: #ccc,// Font Color Primary
80+
//$f2d: #ddd,// Font Color Headers
81+
//$c1d: #111,// Background Color Primary
82+
//$c2d: #222,// Background Color Secondary
83+
//$c3d: #333,// Table Rows, Block quote edge, Borders
84+
//$c4d: #777,// Disabled Buttons, Borders, mark background
85+
//$a1d: #f90,// link color
86+
//$a2d: #fb0,// link hover/focus color
87+
//$a3d: #f90,// link h1-h2 hover/focus color
88+
//$a4d: #f90,// link visited color
89+
//$cgd: #593,// ins green, success
90+
//$crd: #e33,// del red, errors
91+
92+
/// Light Colors
93+
//$f1: #333,// Font Color Primary
94+
//$f2: #222,// Font Color Headers
95+
//$c1: #fff,// Background Color Primary
96+
//$c2: #eee,// Background Color Secondary
97+
//$c3: #ddd,// Table Rows, Block quote edge, Borders
98+
//$c4: #555,// Disabled Buttons, Borders, mark background
99+
//$a1: #c40,// link color
100+
//$a2: #e60,// link hover/focus color
101+
//$a3: #f90,// link h1-h2 hover/focus color
102+
//$a4: #c40,// link visited color
103+
//$cg: #373,// ins green, success
104+
//$cr: #d33,// del red, errors
105+
106+
/// Dark Syntax Colors
107+
//$h0d: #191919,// background color
108+
//$h1d: #ddd,// unstyled text
109+
//$h2d: #888,// comments
110+
//$h3d: #e65,// red, support function
111+
//$h4d: #e83,// orange, punctuation, constant, variable, json-key
112+
//$h5d: #eb6,// tan, entity/function name
113+
//$h6d: #ac3,// green, string
114+
//$h7d: #8db,// teal, escape character
115+
//$h8d: #6ae,// blue, declaration, tag, property
116+
//$h9d: #d6e,// purple, operators
117+
//$had: 160%,// mark/highlight line
118+
119+
/// Light Syntax Colors
120+
//$h0: #f7f7f7,// background color
121+
//$h1: #222,// unstyled text
122+
//$h2: #666,// comments
123+
//$h3: #a21,// red, support function
124+
//$h4: #930,// orange, punctuation, constant, variable, json-key
125+
//$h5: #a50,// tan, entity/function name
126+
//$h6: #350,// green, string
127+
//$h7: #286,// teal, escape character
128+
//$h8: #059,// blue, declaration, tag, property
129+
//$h9: #a3c,// purple, operators
130+
//$ha: 92%,// mark/highlight line
131+
132+
/// These lines find the spot at which to insert your appended fonts.
133+
//$findFont-Main: "Segoe UI", // ← APPEND custom MAIN font(s) AFTER this
134+
//$findFont-Code: "Segoe UI Mono",// ← APPEND custom CODE font(s) AFTER this
135+
136+
/// If you want to prepend the font list, then use null instead:
137+
//$findFont-Main: null, // ← PREPEND custom MAIN font(s)
138+
//$findFont-Code: null, // ← PREPEND custom CODE font(s)
139+
140+
/// These lines specify the fonts to add.
141+
//$fontExt-Main: (ExampleFont1, "Example Font 2"),// MAIN font(s) to add
142+
//$fontExt-Code: (ExampleCode1, "Example Code 2"),// CODE font(s) to add
143+
144+
/// If relying on installed fonts alone, then the above is all you need, if the visiting system has the intended font installed then it will use it!
145+
/// However, if you want to load the Font File resource to ensure it is loaded if they do not have it, then use @use at the VERY Bottom of this file.
146+
/// For a Sans based system font stack, I measured the least Cumulative Layout Shift with: Roboto, Lato, Arimo
147+
148+
/// If prepending/appending fonts above, then no need to change them with the 2 below lines.
149+
/// The following 2 below lines give a way to hard code a font list if you prefer.
150+
//$font: Roboto system-ui -apple-system BlinkMacSystemFont "Segoe UI" Oxygen Ubuntu Cantarell "Fira Sans" "Droid Sans" "Helvetica Neue" "Noto Sans" Helvetica Arial sans-serif,
151+
//$font-mono: ui-monospace Menlo Monaco Consolas "SF Mono" "Cascadia Mono" "Segoe UI Mono" "DejaVu Sans Mono" "Liberation Mono" "Roboto Mono" "Oxygen Mono" "Ubuntu Monospace" "Ubuntu Mono" "Source Code Pro" "Fira Mono" "Droid Sans Mono" "Courier New" Courier monospace,
152+
153+
/// Enable <header>, <main>, <footer> inside <body> as a container
154+
//$enable-semantic-container: true,
155+
156+
/// Enable responsive typography, Fixed root element size if disabled
157+
//$enable-responsive-typography: true,
158+
159+
/// Enable responsive spacings for <header>, <main>, <footer>, <section>
160+
//$enable-responsive-spacings: false,
161+
162+
/// Enable a centered viewport for <header>, <main>, <footer> inside <body>
163+
/// This option will only work if $enable-maxwidth: false
164+
//$enable-viewport: false,
165+
166+
/// xs: Extra small (portrait phones)
167+
/// sm: Small(landscape phones)
168+
/// md: Medium(tablets)
169+
/// lg: Large(desktops)
170+
/// xl: Extra large (large desktops)
171+
172+
/// Breakpoints
173+
//$breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px),
174+
175+
/// Viewports
176+
//$viewports: (sm: 510px, md: 700px, lg: 920px, xl: 1130px),
177+
178+
//$document: true,//Content-box & Responsive typography
179+
//$typography: true,//a, headings, p, ul, blockquote
180+
//$sectioning: true,//responsive Container, header, main, footer
181+
//$nav: true,//Horizontal Navigation at top of page
182+
//$embedded: true,//Embedded content, iframe, video, images, etc.
183+
//$table: true,//table specific elements
184+
//$code: true,//codeblocks, code, pre, kbd
185+
//$hr: true,//Horizontal Rule
186+
//$scroller: true,//Horizontal scroller (<figure>)
187+
//$button: true,//Form elements (button)
188+
//$form: true,//Form elements (non-button)
189+
//$top: true,//back to top button using CSS
190+
//$search: true,//search feature
191+
//$blocks: true,//css classes for block formatting, eg: recent posts, table of contents, series navigation
192+
//$series: true,//series navigation list
193+
//$modifiers: true,//tiny modifier classes for sizing, spacing, etc.
194+
//$misc: false,
195+
//$grid: true,//Infinity Grid, column based layouts.
196+
//$syntax: true,//syntax highlighting for code blocks
197+
//$coderoundhighlight: false,//round corners on highlighted code blocks
198+
);
199+
@use "extra";
200+
/******************************************************************************
201+
* FONTS - Abridge by default uses the System Font Stack
202+
* https://css-tricks.com/snippets/css/system-font-stack/
203+
* However if you need you can load a specific font below,
204+
* make sure to have the relevant woff2 fonts in your static/fonts folder
205+
* I measured the least Cumulative Layout Shift with: Roboto, Lato, Arimo
206+
*****************************************************************************/
207+
//@use "fonts/Roboto";
208+
//@use "fonts/Arimo";
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@font-face {
2+
font-family: 'Arimo';
3+
src: local("Arimo"), url("fonts/Arimo.woff2");//latin regular
4+
font-display: swap;
5+
}
6+
@font-face {
7+
font-family: 'Arimo';
8+
src: local("Arimo-Italic"), url("fonts/Arimo-Italic.woff2");//latin italic
9+
font-style: italic;
10+
font-display: swap;
11+
}
12+
@font-face {
13+
font-family: 'Arimo';
14+
src: local("Arimo-Bold"), url("fonts/Arimo-Bold.woff2");//latin bold
15+
font-weight: bold;
16+
font-display: swap;
17+
}

0 commit comments

Comments
 (0)