56 Commits

Author SHA1 Message Date
Hanwen Guo
034ae899db feat(css): de-italicize <blockquote> & increase top margin for headers
`<blockquote>`s now already have border as indicator, so extra italic style is
not needed anymore.

`margin-top` for `<h2>` etc. is slightly increased for visual symmetry.
2024-11-30 23:55:30 -07:00
Hanwen Guo
8479b74d07 style(css): improve ordering and structure of main.scss 2024-11-30 22:25:42 -07:00
Hanwen Guo
3eebadc000 feat(css): improve looking for <summary> inside <details> 2024-11-30 22:20:37 -07:00
Hanwen Guo
f74e559144 feat(css): align back link and time in post head into one line 2024-11-30 22:11:23 -07:00
Hanwen Guo
028d21302f fix(css): fix border color for some elements 2024-11-30 21:51:42 -07:00
Hanwen Guo
1096ed99f6
Merge pull request #30 from younsl/config/support-toggle-footer
feat(config): Support toggle option for footer display
2024-11-30 21:10:16 -07:00
Hanwen Guo
ac8c70f471
Merge pull request #31 from younsl/css/mobile-font-size
fix(css): Font size inconsistency in code snippets on iOS
2024-11-30 19:39:20 -07:00
younsl
9128274b02 fix(css): Font size inconsistency in code snippets on iOS
- Added CSS rules to ensure consistent font size for code elements across iOS devices. This change addresses the font size imbalance issue reported in code snippets.

- Related issue: https://github.com/adityatelange/hugo-PaperMod/issues/828
2024-11-19 08:52:52 +09:00
younsl
f4b19aef86 style: improve formatting and alignment in config.toml
- Adjusted alignment and whitespace for better readability
- Maintained consistency between configuration items
2024-11-18 22:46:07 +09:00
younsl
a0684e5add feat(footer): Add fallback footer and improve file reading
- Use resources.Get for safer file reading instead of readFile
  - Prevents directory traversal attacks
  - Ensures file access within Hugo's assets pipeline
  - Better error handling for missing files
- Add fallback copyright notice when footer.md is not found
- Add warning message for fallback to default footer
2024-11-18 01:26:06 +09:00
younsl
169f20256a feat: add toggle option for footer display
- Add isShowFooter option in config.toml (default: true)
- Implement conditional rendering in footer.html based on isShowFooter value
2024-11-18 01:04:24 +09:00
Hanwen Guo
2cc41d38a6 fix(css): remove retro and clean color themes 2024-10-04 12:39:35 -06:00
Hanwen Guo
c674e59fca
Merge pull request #27 from ffreeez/patch-1
Fix Hugo WARN deprecated
2024-10-04 12:34:23 -06:00
Hanwen Guo
152ab69e74 Merge pull request #26 from jkkNl:new-features 2024-10-01 00:08:04 -06:00
Hanwen Guo
a35562b26c doc: update README 2024-10-01 00:02:58 -06:00
Hanwen Guo
8e05d0fd7d make some slight change to keep things simple 2024-09-30 23:51:58 -06:00
Hanwen Guo
6cd4ade998
Merge pull request #18 from ch3nnn/main
feat: support divide post list by year
2024-09-22 12:46:03 -06:00
ffreeez
ad6d622a8d
Update head.html
Fix: Hugo WARN deprecated
2024-09-22 03:35:20 +08:00
nieregularnik
f4dee58841 Update readme 2024-08-21 10:22:05 +02:00
nieregularnik
f6c3eb963b Update readme 2024-08-21 10:21:32 +02:00
nieregularnik
e41fd46f40 Updated readme file + _index.md 2024-08-21 10:19:16 +02:00
nieregularnik
708bc19825 New features
I edited CSS to:
1. I added new styles (not only light and dark).
2. I edited the .toc part. Color of border around TOC should be matching style of theme. Before that it was seted to black no matter what.
3. The same story about "higlight".
4. I added shortcode to support HTML details tag. I also added draft post to show how it's working.
5. I edited baseof.html to add footer.
2024-08-21 09:31:06 +02:00
ch3nnn
990015ea56 feat: support divide post list by year 2024-03-22 15:49:05 +08:00
Hanwen Guo
2252461742 css(dark mode): fix #13, allow color palettes 2023-09-20 21:01:30 +08:00
Hanwen Guo
8158bccb77 css(highlight): fix #9 2023-09-20 19:52:00 +08:00
Hanwen Guo
a937c5fcea
Merge pull request #12 from dtujmer/patch-1
Update back_link.html
2023-09-20 18:53:50 +08:00
dtujmer
5524886149
Update back_link.html 2023-05-30 17:48:51 +02:00
Hanwen Guo
1f0773883f
Merge pull request #10 from underscoreHao/feature/toc
feat(style): add table of contents
2023-04-29 14:40:57 +08:00
Pavel Danov
a37ed682a1 Fix spacing 2023-04-14 13:45:44 +01:00
Pavel Danov
f642c74351 Add simple table of contents generation 2023-04-14 13:44:33 +01:00
Hanwen Guo
94cfe48bb3 delete duplicated cjk test post 2023-02-06 13:58:33 +08:00
Hanwen Guo
3cb2737400
Merge pull request #6 from cbhyphen/patch-1
add appearance field to theme config
2023-02-06 13:57:15 +08:00
Hanwen Guo
b3b4febfc5 revert some of the changes to the color of <code>
done by DrupalDoesNotExists
2023-02-06 13:49:48 +08:00
Hanwen Guo
c726a0c8b1 merge DrupalDoesNotExists/main 2023-02-06 13:48:13 +08:00
cb
4aef04a2f5
add appearance field to theme config
couldn't find where to set this, hopefully the default will help others
2023-02-02 22:31:02 -08:00
Dmitry
cf65c944b3
FIX: Remove black bg from code, fix pre overflow
Remove awful black background when using code syntax.
Fix some "pre" content that overflows it's parent without creating scroll bar.
2023-01-08 21:58:06 +03:00
Dmitry
76989b98ea
Fix "unclosed action" issue on v0.68.3/extended
https://github.com/Masellum/hugo-theme-nostyleplease/issues/3#issue-1524457299
2023-01-08 14:03:03 +03:00
Hanwen Guo
22ed9f8cde fix(codeblock): fix the background color for <pre> 2023-01-02 18:02:56 +08:00
Hanwen Guo
f3a490ba67 docs(README.md): add thanks 2023-01-01 18:52:35 +08:00
Hanwen Guo
cb80addde3 change the test text of simplified Chinese in test-cjk.md to my poem 2023-01-01 18:42:39 +08:00
Hanwen Guo
5d06509a8a style(test): rename test-languages.md to test-cjk.md 2023-01-01 18:39:22 +08:00
Hanwen Guo
1f49933306 feat(test): add some test pages 2023-01-01 18:37:25 +08:00
Hanwen Guo
0be15eb3c5 fix: remove test-hans.md as it cannot behave properly 2023-01-01 18:15:33 +08:00
Hanwen Guo
94c7afbb44 feat: stylize figcaption 2023-01-01 18:05:33 +08:00
Hanwen Guo
7ebbf1246a feat: add description <meta> 2023-01-01 17:52:23 +08:00
Hanwen Guo
4bacdfcb75 feat(style): add integrity check 2023-01-01 17:14:50 +08:00
Hanwen Guo
6c52934e93 feat: use relative URL 2023-01-01 17:08:14 +08:00
Hanwen Guo
210f46cbb3 feat(style): prettify <code>'s 2023-01-01 17:03:31 +08:00
Hanwen Guo
89a1983130 feat(style): remove han-css to be more minimalist
A few months ago I add han-css to this theme due to my personal
interest. However, I realized it broke the minimalist spirit of
this theme and may broke some style. So it is removed in this
commit.
2023-01-01 16:32:35 +08:00
Hanwen Guo
44f8ee0b7d improve tex (mathjax) support 2022-08-27 21:39:46 +08:00