Commit Graph

216 Commits

Author SHA1 Message Date
Wonderfall b27c6b9ef0
Merge branch 'adityatelange:master' into master 2022-08-22 14:14:38 +02:00
Wonderfall b01e9a8653 bundle noscript style 2022-07-31 01:37:00 +02:00
Wonderfall 2f3c140f80 remove unnecessary js 2022-07-29 15:59:19 +02:00
Wonderfall 2989681d12 change progressBar color 2022-07-29 02:30:27 +02:00
Wonderfall 13876beb0a add progressbar 2022-07-29 00:07:11 +02:00
Wonderfall 0a140a1a12 update scrollbar 2022-07-28 16:58:39 +02:00
Wonderfall 0dda1aeaa1 improve ToC height responsiveness 2022-07-28 16:37:20 +02:00
Wonderfall dfe6ecc550 few CSS tweaks 2022-07-28 02:44:46 +02:00
Wonderfall 01fb4fad08 show pointer for menu 2022-07-25 19:09:26 +02:00
Wonderfall 705ff19890 add close button for menu 2022-07-25 17:49:52 +02:00
Wonderfall 41f827f1d5 refine menu css 2022-07-25 06:32:59 +02:00
Wonderfall b33b96873f adjust menu css 2022-07-25 06:17:33 +02:00
Wonderfall 6c8e3ef699 fix menu 2022-07-25 06:10:26 +02:00
Wonderfall 723ac4f5c6 add responsive menu 2022-07-25 06:08:07 +02:00
Wonderfall d08880dd9b update share-buttons 2022-07-24 03:39:14 +02:00
Wonderfall 230360552b add toc side support 2022-07-24 03:12:49 +02:00
Wonderfall 78dc2698cb update chroma css 2022-07-24 01:57:13 +02:00
Wonderfall 8411411a67 built-in Chroma 2022-07-24 01:39:42 +02:00
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 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 15b984bd21.
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 386d845782
Prevent `code-copy` btn and `anchored` headings from getting selected 2021-11-20 18:32:25 +05:30
Johnny Metz 60cbb311b7
Fix code line highlighting (#575) 2021-10-22 20:19:34 +05:30
Aditya Telange 7c930ee4ea
Converts colour values from `rgba`/`hex` to `rgb` (#560)
- Except for code-copy btn
- Emojis were affected by theme opacity values, fixes: #557
2021-09-20 21:08:44 +05:30
Aditya Telange 7072a79f71
Refine `[draft]` tag display 2021-09-04 12:03:12 +05:30
Aditya Telange 2aad433ae5
Fix title(entry-header) line height in regular mode
fixes: #527
2021-09-02 20:41:54 +05:30
Ian Grünig dcbe6277bb
Add width and height attributes to cover images (#519)
- Ensures that the browser can allocate the correct amount of space in the document while the image is loading.
- Reduces CLS #499
2021-08-22 11:45:28 +05:30
Aditya Telange 129b5bd063 Fix image margin too close to text 2021-08-02 16:14:40 +05:30
Aditya Telange d35056c664
Better way of centering profile mode 2021-06-11 18:34:18 +05:30
Aditya Telange 726894ba29
Fix extra padding in footer 70px -> 60px
- because of var(--gap) decrease
- calc 10px less for mobile padding (24px - 14px = 10px)
2021-06-11 17:58:36 +05:30
Aditya Telange df544469c9
Apply prettier to css 2021-06-11 13:34:55 +05:30
Kian Kasad 87fbe01124
Add missing semicolons in CSS files (#408)
Many of the CSS files had no semicolon after the last rule in a block,
which is proper syntax, but it's annoying when adding more rules. Since
omitting the semicolons doesn't really have a benefit, I've decided to
add them.
2021-06-11 13:29:56 +05:30
Aditya Telange 378b81cb36
Use default code font-family 2021-06-10 22:49:39 +05:30
Aditya Telange 20b91ad2aa
Use less space in footer for 'Powered by' strings;
Don't break the 'Powered by' string in between
2021-05-01 11:32:11 +05:30
Aditya Telange 10745dd537
Add margin below figure
- adds space below when using figure shortcode

Fixes: #377
2021-04-24 09:36:27 +05:30
Aditya Telange 98c17559e9
Add checks for adding the copy button in code-blocks
- adds checks to put copy button for code
 inside table and highlight code block

- Fixes #363
2021-04-16 10:00:47 +05:30
Kian Kasad 17c4da86b5
Add copy button to copy code block contents (#345)
* add buttons to copy code block contents

Adds a clickable "copy" link in the top-right corner of each code block.

If available, uses the navigator.clipboard API. Falls back to selecting
the text and calling document.execCommand('copy') to copy text.

* hides copy button unless mouse is hovering over code block

* change text of copy button when text is copied

* add translation keys for copy button text  `code_copy` and `code_copied`

* To disable use `Params.disableCodeCopy: true` in site config
2021-04-10 11:33:31 +05:30