Reorx
7c253d3fee
new shortcode: social-quote-tweet; enhance h2, h3 margin
2022-05-18 13:46:15 +08:00
Reorx
570601c2a7
code block style enhance and toc a padding
2022-05-15 23:40:53 +08:00
Reorx
ff878743de
set post-content font size from 16 to 17
2022-05-15 23:40:06 +08:00
Reorx
7ca25b0dd9
fix sup line height
2022-05-15 23:39:53 +08:00
Reorx
4921802f53
optimize logo img rendering
2022-05-15 21:38:57 +08:00
Reorx
01ea8e8a8c
add standout shortcode
2022-05-12 16:43:06 +08:00
Reorx
402e1d8924
fix image blur
2022-05-09 22:26:30 +08:00
Reorx
9d5184cae4
add css for links page
2022-05-09 22:26:24 +08:00
Reorx
7cb2efee6b
fix ul in li margin
2022-05-08 18:29:17 +08:00
Reorx
e1216a8d00
adjust post width to the same as main width; post content font size 16px
2022-05-05 17:30:12 +08:00
Reorx
8ab5cf130f
fix meta item break into multiple lines
2022-05-05 17:29:31 +08:00
Reorx
140f7c9492
refine toc link active color
2022-05-05 17:17:06 +08:00
Reorx
b8592bd443
add toc max height, fix scroll bar color
2022-05-05 17:03:41 +08:00
Reorx
cbba5c25bd
add image-size-control shortcode
2022-05-05 16:49:21 +08:00
Reorx
3ba18bda18
fix top-link icon position
2022-05-05 16:29:52 +08:00
Reorx
ba84d6857d
add social_links partial
2022-05-05 16:23:55 +08:00
Reorx
edc5565447
allow cover img zoom
2022-05-05 01:50:01 +08:00
Reorx
7d6d7d5a3f
increase h4 font size
2022-05-05 00:45:15 +08:00
Reorx
d1672652f2
fix non chroma code block color
2022-05-05 00:45:08 +08:00
Reorx
8deaaf2d04
update meta style in home page
2022-04-22 15:00:00 +08:00
Reorx
6aea4be5fa
refactor post meta, use svg icons for identifier
2022-04-22 14:11:34 +08:00
Reorx
4d93247e53
change post nav and footer style
2022-04-22 01:13:25 +08:00
Reorx
7d6dfd7ebc
add container style for disqus
2022-04-22 00:51:29 +08:00
Reorx
db34d0de17
adjust share buttons style
2022-04-22 00:38:37 +08:00
Reorx
98b512fe64
move tags to the top; use ¶ for anchor symbol
2022-04-22 00:28:30 +08:00
Reorx
48cba7f5ae
add image zoom js
2022-04-21 23:39:03 +08:00
Reorx
8c47961c41
enhance responsive style
2022-04-21 23:26:08 +08:00
Reorx
9377da773c
enhance post typography
2022-04-21 17:32:20 +08:00
Reorx
368da1791e
fix home page first-entry margins
2022-04-21 16:54:49 +08:00
Reorx
5b8b8241f3
add link hover style to social icons
2022-04-21 14:56:33 +08:00
Reorx
a10cac8183
use hover underline style instead of transform for home page links
2022-04-21 14:46:25 +08:00
Reorx
33c1ba12e2
use hugo's builtin Chroma for code highlight
2022-04-15 00:55:41 +08:00
Reorx
60380fe684
remove highlight js
2022-04-14 21:39:30 +08:00
Reorx
6631846829
fixup! fix homeInfoParams style, add docs to menu
2022-04-14 16:34:48 +08:00
Reorx
2e2a59ef16
handle external menu item
2022-04-14 16:27:34 +08:00
Reorx
dbbf9f81a1
fix homeInfoParams style, add docs to menu
2022-04-14 15:19:21 +08:00
Seth For Privacy
5d1a689d1a
Match right side padding when ToC is used on left
...
Simply bumps padding on left ToC to 15px to match that of right ToC -- the hard-alignment with no padding is a bit jarring ATM.
2022-04-13 13:12:58 -04:00
Reorx
08b21a18b0
support left/right side toc
2022-04-13 18:12:08 +08:00
Reorx
21533a4e90
fixup! tune link styles, add color to menu, content, footer links
2022-04-13 18:11:47 +08:00
Reorx
280efabd02
tune link styles, add color to menu, content, footer links
2022-04-13 17:24:01 +08:00
Reorx
b9bc8b7d3b
replace instantpage with instantclick
2022-04-11 15:40:04 +08:00
Reorx
8c37662b32
menu consistant font weight
...
so that the width is also consistant
2022-04-11 00:54:50 +08:00
Reorx
ef80299580
add EnableInstantPage param
2022-04-10 23:40:35 +08:00
Reorx
7dc044f2ba
tweak toc style
2022-04-10 21:33:27 +08:00
Reorx
9ebe2111f6
active toc link while scrolling
2022-04-10 01:18:40 +08:00
Reorx
60f139d529
add side class for toc if TocSide is true
2022-04-09 23:59:22 +08:00
Reorx
8c5d10925e
allow customize post page width
2022-04-09 23:31:15 +08:00
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
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
Aditya Telange
386d845782
Prevent `code-copy` btn and `anchored` headings from getting selected
2021-11-20 18:32:25 +05:30
Aditya Telange
d81b87938b
Fix `params.fuseOpts` being ignored by Fuse.js
...
by implementing a map of lower case to camel case parameters
fixes : #556
2021-10-30 13:42:38 +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
d76bc91ed0
Reduce Cognitive Complexity of fastsearch.js ( #554 )
2021-09-04 15:44:22 +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
Aditya Telange
f1bc3471a6
Fix focus ghosting in search results O_o
2021-04-10 00:59:24 +05:30
Aditya Telange
c255d148d8
Fix results being searched before index building;
...
refactor resultSet generation to fix duplicate items with large db
2021-04-10 00:58:40 +05:30
Aditya Telange
ba48765e2c
Use js.Build to fetch fuseOpts;
...
also load Search on window load
2021-04-10 00:58:23 +05:30
Aditya Telange
e503367a1a
[BREAKING] Split-up css into sub-parts ( #317 )
...
* Move styles into 3 different locations
- core
- common
- hljs
* Load all stylesheets in proper order
2021-03-27 11:28:55 +05:30
Aditya Telange
f3cac6c09e
Refactor media queries
...
reduce code
2021-03-22 18:21:16 +05:30
Aditya Telange
d3813138d7
fix more reduced motion in search Results
...
amend to 4b24a94
& e03348c
2021-03-22 18:16:26 +05:30
Aditya Telange
4b24a94a6a
fix reduced motion in search Results
...
amend to e03348c
2021-03-19 19:36:46 +05:30
gsh3ll
b523192b51
Fix code block wraps on Safari ( #298 )
2021-03-19 18:51:20 +05:30
Kian Kasad
14ebcdecf3
Add 'align' option to figure shortcode ( #256 )
...
Usage:
{{< figure align=center src="image.jpg" >}}
Parameter values:
- 'center': align image and captions to center of page
- anything else neglected
* Appends "#center" to the image's URL in order to utilize existing CSS
rules for centering images.
2021-02-22 11:24:43 +05:30
Kian Kasad
b71baa147a
rework design of image captions in figure shortcode ( #247 )
2021-02-20 10:51:19 +05:30
Aditya Telange
a21094f4a0
hide theme-toggle focus outline
2021-02-12 11:58:44 +05:30
Aditya Telange
6f8edf1ffa
change theme-switch from 'a' to 'button'
...
and refactor
2021-02-12 10:48:04 +05:30
Aditya Telange
e03348c041
improve search
...
- fix menu element becoming inactive
change class active -> focus
- set input type seach #198
- add a reset func
- add script to clear searchbox
when clicked on X sign
2021-02-07 21:40:27 +05:30
Aditya Telange
084498558c
Fix 'Tap targets are not sized appropriately'
2021-02-06 22:56:40 +05:30
Aditya Telange
c32e036053
set equal margin to page-header and post-header
2021-01-31 17:33:22 +05:30
Aditya Telange
e8076c8f61
Fix missing first level heading in home-info
...
close : #199
2021-01-31 17:17:00 +05:30
Aditya Telange
f8781e2cc8
Improve header
...
- fix header height
61px->60px
- check for elements before displaying
- align theme-toggle
- rm unnecessary elements
- rm theme-toggle class
- rm menu class
2021-01-31 17:09:38 +05:30
Aditya Telange
ebbeca4ab4
Revert "fix : footer height increase for mobile devices"
...
This reverts commit f40842915e
.
2021-01-31 12:18:04 +05:30
Aditya Telange
6c79b99de8
reserve space for scroll-bar
2021-01-30 12:14:38 +05:30
Aditya Telange
f64c44c8d2
tweak fuse opts
...
-rm default opts,
- add ignoreLocation (to search everywhere not just 1st 60 chars)
- ref https://fusejs.io/concepts/scoring-theory.html#scoring-theory
2021-01-30 12:08:19 +05:30
Aditya Telange
624b1d0afb
trim whitespace before searching
2021-01-30 12:08:09 +05:30
Aditya Telange
346ae95069
use Basic instead of Full
...
- also use production ones which contains lesser redundant code
- https://fusejs.io/getting-started/different-builds.html#explanation-of-different-builds
2021-01-30 12:07:01 +05:30
Aditya Telange
75855b2758
init feat Breadcrumb Navigation ( #207 )
...
* adds Breadcrumb nav above title of single page/post
* add enabler var 'ShowBreadCrumbs'
* introduce i18n var "home"
usage:
in site config:
Params:
ShowBreadCrumbs: true
in page front-matter:
ShowBreadCrumbs: false
2021-01-29 23:37:07 +05:30
Aditya Telange
cc4fb70336
rm translateX from post-title in single
2021-01-29 23:25:46 +05:30
Aditya Telange
778ee39137
init feat Prev Next post links on single post page ( #180 )
...
usage =>
in site config add
Params:
ShowPostNavLinks: true
2021-01-28 00:05:30 +05:30
Aditya Telange
2f06f5e4fa
fill background of table of contents
2021-01-27 23:21:00 +05:30
Aditya Telange
b284ba5799
center align share-buttons
2021-01-27 23:20:37 +05:30
Aditya Telange
91a9e1b9bb
add background to share buttons and tags under single
2021-01-27 23:16:08 +05:30
Aditya Telange
cadca8a68a
fix scroll-bar colors for tables
2021-01-26 10:52:30 +05:30
Aditya Telange
789b1f824c
reduce toc size
...
0.5em -> 0.4em
2021-01-25 21:25:19 +05:30