- Theme Decoupling & Cleanup:
- Fully decoupled and vendored the Blowfish theme directly into root directories (layouts/,
assets/, static/, data/, i18n/).
- De-registered and cleaned up legacy Git submodules (themes/blowfish, themes/hugo-admonitions)
from the Git index to protect the build from upstream breakages.
- Configured .gitignore to ignore development preview symlinks (content, static,
config/_default/menus.en.toml), build folders (public/, resources/), and locks.
- TOC & Layout Fixes:
- Replaced the custom layouts/_default/single.html template with the Blowfish default to restore
native container widths and the side-by-side flex layout.
- Restored TOC to float on the right sidebar on desktop viewports and render inline on mobile
viewports.
- Fixed a parameter resolution bug in layouts/partials/toc.html by checking both .Site.Params.
smartTOC and .Site.Params.article.smartTOC (where it is defined in params.toml).
- Upgraded the TOC scrollspy JavaScript to target all '#TableOfContents' containers on the page,
enabling highlight tracking on both desktop and mobile layouts.
- Documentation Updates (README.md):
- Restored YAML front matter metadata block at the top.
- Added detailed notes on the CI/CD build process and Gitea runner deployment targets
(/srv/www/docs-public and /srv/www/docs-private).
- Added a categorized and sorted "Shortcodes Quick Reference" table at the top of the shortcodes
section (ordered by Custom, Hugo Default, and Blowfish).
- Documented custom shortcodes (Include, Screenshot, Raw HTML) and missing Hugo default
shortcodes (Highlight, Instagram, Param, Ref, Relref, Twitter, Vimeo, Youtube).
- Restructured headings to ensure all sub-shortcodes are H3, removed block break tags (<br/>),
and appended horizontal separators (---) after H2 sections.
38 lines
1.2 KiB
CSS
38 lines
1.2 KiB
CSS
/* Slate scheme */
|
|
:root {
|
|
--color-neutral: 255, 255, 255;
|
|
/* Gray */
|
|
--color-neutral-50: 249, 250, 251;
|
|
--color-neutral-100: 243, 244, 246;
|
|
--color-neutral-200: 229, 231, 235;
|
|
--color-neutral-300: 209, 213, 219;
|
|
--color-neutral-400: 156, 163, 175;
|
|
--color-neutral-500: 107, 114, 128;
|
|
--color-neutral-600: 75, 85, 99;
|
|
--color-neutral-700: 55, 65, 81;
|
|
--color-neutral-800: 31, 41, 55;
|
|
--color-neutral-900: 17, 24, 39;
|
|
/* Slate */
|
|
--color-primary-50: 248, 250, 252;
|
|
--color-primary-100: 241, 245, 249;
|
|
--color-primary-200: 226, 232, 240;
|
|
--color-primary-300: 203, 213, 225;
|
|
--color-primary-400: 148, 163, 184;
|
|
--color-primary-500: 100, 116, 139;
|
|
--color-primary-600: 71, 85, 105;
|
|
--color-primary-700: 51, 65, 85;
|
|
--color-primary-800: 30, 41, 59;
|
|
--color-primary-900: 15, 23, 42;
|
|
/* Gray */
|
|
--color-secondary-50: 249, 250, 251;
|
|
--color-secondary-100: 243, 244, 246;
|
|
--color-secondary-200: 229, 231, 235;
|
|
--color-secondary-300: 209, 213, 219;
|
|
--color-secondary-400: 156, 163, 175;
|
|
--color-secondary-500: 107, 114, 128;
|
|
--color-secondary-600: 75, 85, 99;
|
|
--color-secondary-700: 55, 65, 81;
|
|
--color-secondary-800: 31, 41, 55;
|
|
--color-secondary-900: 17, 24, 39;
|
|
}
|