mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-04 18:13:06 +00:00
- Linting/format - Replace ESLint/Prettier with Biome; remove old configs; add `biome.json`; update scripts - Tailwind-friendly `.stylelintrc.yaml`; Stylelint and Biome pass - Enable Biome across `modules/**`; prune legacy JS globals; ignore oversized `devicon.json` - Code fixes - `hb-theme.js`: avoid assignment-in-expressions; clearer dataset updates - `hugoblox-slides.js`: fix inner var scope (var → let); apply formatting - CI/CD - Split lint/build workflows; add path filters; Node via Corepack (pnpm from package.json) - Hugo pinned to env `HUGO_VERSION`; add consistency check vs `starters/academic-cv/hugoblox.yaml` - Nightly starters matrix build (academic-cv, landing-page); CodeQL weekly; resource caches - Workflows/Community - Greeter: switch to `pull_request_target`; add Contributor Guide to PR message - PR labeler for path-based labels - Repo policies/docs - `CODEOWNERS` for `@gcushen` - `SECURITY.md`, `SUPPORT.md` - Documented branch protection in `.github/settings.yml` - Move `CODE_OF_CONDUCT.md` to `.github/` - docs(zh): update `README.zh.md` translation Notes: - pnpm is sourced from `package.json: packageManager` via Corepack; no hard-coded pnpm versions in CI.
55 lines
1.1 KiB
CSS
55 lines
1.1 KiB
CSS
/* Base styles for better text rendering */
|
|
@layer base {
|
|
html {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-rendering: optimizelegibility;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
|
|
/* Custom utilities and components */
|
|
@utility task-list {
|
|
list-style: none;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
/* Custom typography styles - the plugin handles the base styles */
|
|
/* Additional customization for prose elements */
|
|
@layer components {
|
|
.prose a {
|
|
text-decoration: underline;
|
|
text-decoration-color: rgb(var(--color-primary-300));
|
|
font-weight: 500;
|
|
}
|
|
|
|
.prose a:hover {
|
|
color: rgb(var(--color-primary-600));
|
|
text-decoration: none;
|
|
border-radius: 0.09rem;
|
|
}
|
|
|
|
.prose mark {
|
|
color: rgb(var(--color-neutral-900));
|
|
background-color: rgb(var(--color-primary-200));
|
|
padding: 0.1rem 0.2rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.dark .prose-invert a {
|
|
text-decoration-color: rgb(var(--color-neutral-500));
|
|
}
|
|
|
|
.dark .prose-invert a:hover {
|
|
color: rgb(var(--color-primary-300));
|
|
}
|
|
|
|
.dark .prose-invert mark {
|
|
background-color: rgb(var(--color-primary-400));
|
|
color: black;
|
|
}
|
|
}
|