New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve H1...Hn CSS #653
Comments
Here is the CSS I used to improve the readability of the document through design features. I have omitted the CSS counters for section numbering.
Not much to it. I will post the CSS counters bit in the forum for any who are interested. |
* Update Theme switch to hugo-book-9 theme for auto light/dark mode update hugo to 68.3 for compatibility with hugo-book-9 use details-shortcut instead of expand-shortcode for compatibility * update --theme calls in the CI/CD workflows * httrack didn't work with newer repo; start dumping directory listings, etc * hugo static (dir 2) * hugo static: -d (dir 3) * hugo static: -d with artifact (dir 4) * hugo static: starting to filter * these static-hugo commands properly cleaned the static_html during my local tests, so hopefully will work as an action as well * update both CI_build and onRelease to match * tweak the naming in the CI_build * add variant of pbarney's color/horizontal-line for headers closes #653 * tweak h2 color for dark mode
So I tweaked the colors slightly between Light and Dark modes:
The others look okay to my eyes, but I'm not sure if I quite got the right shade for the H2 in dark-mode. But I freely admit my color sense isn't the best (and I normally use light-mode in things, so my dark-mode visual balance might not match a true dark-mode person's preferences). I was just trying to keep something close to @pbarney's light-mode palette, but it seems slightly better to me than sticking with |
per the discussion around https://community.notepad-plus-plus.org/post/93819 , the Community seems to think colors and horizontal bars are reasonable. So if he ever shares his custom CSS, I will look into how to incorporate that into the
_custom.scss
(and maybe even figure out how to use values from_variables.scss
instead of hardcoded colors, which might make it compatible with future auto-light/dark if I update the theme per #654)The text was updated successfully, but these errors were encountered: