mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-04 16:13:23 +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.
48 lines
1.0 KiB
CSS
48 lines
1.0 KiB
CSS
/* Author Notes Tooltip Styles */
|
|
|
|
/* Hide elements with x-cloak until Alpine.js initializes */
|
|
[x-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Ensure tooltip appears above other content */
|
|
.author-notes-tooltip {
|
|
z-index: 9999;
|
|
}
|
|
|
|
/* Smooth hover effect for the info icon */
|
|
.author-notes {
|
|
@apply inline-flex items-center justify-center;
|
|
@apply transition-all duration-200 ease-in-out;
|
|
}
|
|
|
|
/* Focus styles for accessibility */
|
|
.author-notes:focus {
|
|
@apply outline-none ring-2 ring-primary-500 ring-offset-2 rounded-full;
|
|
}
|
|
|
|
/* Additional responsive styles for mobile */
|
|
@media (max-width: 640px) {
|
|
/* On mobile, tooltips should be wider if needed */
|
|
.author-notes-tooltip {
|
|
white-space: normal;
|
|
max-width: 200px;
|
|
}
|
|
}
|
|
|
|
/* Print styles - show author notes inline when printing */
|
|
@media print {
|
|
.author-notes {
|
|
display: none;
|
|
}
|
|
|
|
/* Show author notes as superscript numbers in print */
|
|
.author-notes::after {
|
|
display: inline;
|
|
content: attr(data-tooltip);
|
|
vertical-align: super;
|
|
font-size: 0.75em;
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|