251 Commits

Author SHA1 Message Date
Johnathan Lin
cd89b8d726
Merge branch 'master' into from-remote 2024-04-01 20:32:35 +08:00
Aditya Telange
2a00f74b6b
Update LICENSE
Add current year 2024
2024-01-06 19:11:50 +05:30
JohnathanLin
f41d04d3b5 更新主题,新增评论方式介绍 2023-12-31 18:17:19 +08:00
Aditya Telange
045c08496d
Highlight.js -> Hugo's chromastyles (#1364)
* remove hljs

* rename var --hljs-bg to --code-block-bg

* bundle chroma-styles from css/includes/chroma-styles.css

* add compatibility fixes for papermod <-> chroma

* fix line-num and line padding and set width for line container to 100%

* After a lot of experimentation this compatiblity should work well

* fix inline line highlights not working

* Use catppuccin-macchiato as default theme with highlightStyle 'bg:#474733'

- hugo gen chromastyles --style catppuccin-macchiato --highlightStyle 'bg:#474733' > assets/css/includes/chroma-styles.css
2023-12-31 10:27:54 +05:30
Aditya Telange
69e5e085ab
improved profile mode spacing 2023-12-16 20:59:36 +05:30
Aditya Telange
f8e125c7ee
Add padding to social-icons for better tap sizing 2023-12-16 20:59:08 +05:30
Aditya Telange
60984fd136
Add icon for 'draft' posts
https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aedit_note%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048

LICENSE: https://developers.google.com/fonts/faq#can_i_use_any_font_in_a_commercial_product
2023-12-16 14:06:46 +05:30
Aditya Telange
28ec7a407d
Revert "Fix social icons extraneous margin"
This reverts commit 6864770ad4dd67fe381e143ca48bdd81c38835ce.
2023-12-16 00:32:25 +05:30
Aditya Telange
705ebeb729
table styles update
- reduce margins
- rm reduced fontsize
2023-12-15 22:09:48 +05:30
Aditya Telange
6864770ad4
Fix social icons extraneous margin 2023-12-15 22:09:15 +05:30
JohnathanLin
4e68850975 修改间距 2023-12-15 23:39:55 +08:00
JohnathanLin
b6ef30607c 通过Fontmin缩小方正黑体的大小,只对导航栏和profile的文字生效 2023-12-15 22:56:57 +08:00
JohnathanLin
46e05f0a2c 方正黑体大小太大了,换思源黑体 2023-12-15 22:47:08 +08:00
JohnathanLin
b6ee24fb65 字体改得和CSGO一致 2023-12-11 23:48:31 +08:00
Aditya Telange
e0fc64c43e
Optimize footer margins 2023-12-10 12:36:05 +05:30
Aditya Telange
4c50ed8bfa
Update fuse.js v6.6.2 to v7.0.0 basic 2023-11-11 12:08:18 +05:30
JohnathanLin
f984ac7436 增加朋友按钮点按效果,transform时间 2023-10-29 02:18:30 +08:00
JohnathanLin
97230b4e25 增加朋友按钮点按效果 2023-10-29 02:12:58 +08:00
JohnathanLin
5b77cea3af 修改好友列表个人按钮样式 2023-10-29 01:47:03 +08:00
JohnathanLin
4021954fc1 字体改为思源黑体 2023-10-22 19:47:48 +08:00
Hiroshi Shimoju
eab731707a
fix: Prevent adjustments of font size after orientation changes in iOS (#1285)
The font size in the code block may be larger.
As shown below, the Reset CSS specifies `text-size-adjust: 100%`.
fc091cce15/normalize.css (L13)
092d0d8592/sanitize.css (L43)
2023-08-12 13:26:08 +05:30
Navendu Pottekkat
f7bd1ec07c
feat: add configurable limit to search results (#1281)
* feat: add configurable limit to search results

Signed-off-by: Navendu Pottekkat <navendu@apache.org>

* Handle case where params.fuseOpts is not defined
resulting into `Cannot read properties of null (reading 'limit')`


Utilizes search options by fuse https://www.fusejs.io/api/methods.html#search 

The options:

limit (type: number): Denotes the max number of returned search results.

---------

Signed-off-by: Navendu Pottekkat <navendu@apache.org>
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2023-08-12 13:17:24 +05:30
JohnathanLin
5d1858d90f 增加了友情链接功能 2023-05-03 16:10:57 +08:00
JohnathanLin
af9a7f7172 优化了圆角弧度,增加了藏书shortcodes 2023-05-02 19:55:11 +08:00
Hauke
2210bf20b3
change del element decoration to line-through (#1181)
According to caniuse.com only around 69% of mobile user and 22% desktop users use a browser that supports this element. Therefore this change uses text-decoration: line-through to archive the same effect across browsers.
2023-03-31 21:33:56 +05:30
JohnathanLin
111261d496 修改页面样式 2023-02-23 23:52:08 +08:00
Aditya Telange
25e5b4d298
Tag Release 7.0 2023-02-12 12:23:08 +05:30
Aditya Telange
8efba34fa9
Update License year 2023-02-12 12:21:40 +05:30
Aditya Telange
5ca2d29537
Fix multi-line anchor tags not highlighted/underlined.
fixes: #1107
2022-12-20 21:13:51 +05:30
bentonw414
1f0f294c85
Use Nullish Coalescing Operator with Fastsearch (#1033) 2022-09-02 21:32:32 +05:30
Aditya Telange
198a4d74ae
Fix Code Smell: Unexpected var, use let or const instead.
https://sonarcloud.io/project/issues?issues=AYEpqxwP3DjyH4ZzxfLw&open=AYEpqxwP3DjyH4ZzxfLw&id=adityatelange_hugo-PaperMod
2022-08-20 14:20:51 +05:30
Aniket Teredesai
77ffb308c3
Allow adding SVG in place of logo image (#976)
Usage =>
Params.label.iconSVG: "<your SVG as a string>"
2022-07-23 09:45:32 +05:30
Aditya Telange
c0b7ea5f4b
Fix Profile Mode imageTitle missing
fixes: #945
2022-07-09 20:09:32 +05:30
Aditya Telange
e3c30b4e41
Add inTextImg shortcode
Allows adding in-line-text images

usage in page.md =>
This image is inlined {{< inTextImg.html url="image.png" >}} here.

optional args:
- height
- alt
2022-07-08 20:28:38 +05:30
Aditya Telange
d5b780720d
Simplify share-buttons svg 2022-07-08 20:28:22 +05:30
Aditya Telange
6ebeb20bdb
Remove share-buttons svg animation 2022-07-08 20:28:05 +05:30
Aditya Telange
5f280c5df2
Simplify theme-toggle svg height 2022-07-08 20:27:40 +05:30
Aditya Telange
0ed246d47d
Seperate scroll-bar customization into seperate stylesheet 2022-06-03 18:32:09 +05:30
Aditya Telange
a4b20f0f4d
Add license text for PaperMod in resources 2022-05-29 11:11:26 +05:30
Aditya Telange
57dd5404d3
Update fuse.js v6.5.3 to v6.6.2 basic
- https://github.com/krisk/Fuse/releases/tag/v6.6.2
2022-05-29 10:32:27 +05:30
Aditya Telange
0c71711332
Fix impact of 2b0a52a on horizontal blocks 2022-05-28 21:57:44 +05:30
Aditya Telange
2b0a52ab25
Fix scroll bar appearance in Safari
Ref: https://github.com/adityatelange/hugo-PaperMod/issues/654#issuecomment-1015819905

fixes: #654
2022-05-28 21:53:12 +05:30
Aditya Telange
44f5970db2
Add RSS button to Section and Term pages.
Usage =>
Params:
  ShowRssButtonInSectionTermList: true

---
ShowRssButtonInSectionTermList: false
---
2022-04-30 07:42:51 +05:30
Aditya Telange
8671af6e0c
Fix line nums in code block alignment in rtl languages 2022-04-23 08:27:05 +05:30
Sebastien
a55b9517dc
Set <hr>'s border to 0 (#870)
* Updated post-single.css to set hr's border to 0

* cleanup

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2022-04-19 19:46:11 +05:30
Aditya Telange
80928d9f23
Fix pre getting a dark background
fixes: #723
2022-03-12 19:33:29 +05:30
Aditya Telange
912eddde0a
Revert "Fix pre getting a dark background"
This reverts commit 15b984bd215b7c4a73385e76486ec93b0aadcc53.
2022-03-11 20:32:06 +05:30
Aditya Telange
15b984bd21
Fix pre getting a dark background
fixes: #723
2022-03-11 19:32:37 +05:30
Aditya Telange
81ddc76efb
Update fuse.js v6.4.6 to v6.5.3 basic
- https://github.com/krisk/Fuse/releases/tag/v6.5.3
2022-02-05 17:54:35 +05:30
Aditya Telange
c9f7c54ae6
Rename fuse.js -> fuse.basic.min.js
- denoting we are using basic version
2022-02-05 17:54:24 +05:30