Commit Graph

628 Commits

Author SHA1 Message Date
Aditya Telange 2c9efe204a
Update README.md
link refs to wiki instead of demo
2021-01-20 21:30:44 +05:30
Aditya Telange 757a3094b2
add drop-shadow to show go-to-top button
on code-bg in light mode
2021-01-20 19:21:59 +05:30
Aditya Telange e02df37142
Revert "fix wrong load stylesheet and JS on multihost (multilingual) #126"
Doesn't work with multilingual config with no specific baseurl

This reverts commit ad79fdaf83.
2021-01-20 19:11:21 +05:30
Aditya Telange ad79fdaf83
fix wrong load stylesheet and JS on multihost (multilingual) #126 2021-01-20 19:06:02 +05:30
skinner12 42280d1170
Add italian (it) translation (#184) 2021-01-20 11:27:30 +05:30
Aditya Telange e4a6970186
Update FUNDING.yml
keep only ko-fi link

Thanks to everyone who supported on other platforms :)
2021-01-17 13:55:03 +05:30
Aditya Telange ec2aa47c44
make content in dark more whiter improving redability and contrast in-between 2021-01-17 12:29:35 +05:30
Florian Kohrt 2b3baf94bb
Make some page settings also configurable site wide (#182)
Adds **local** and **global** param to following front-matter vars:
- hideMeta
- ShowToc
- TocOpen
- comments

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2021-01-17 12:25:35 +05:30
Aditya Telange 8222f2bd11
fix search result multiple hightlight on lost focus
also use set vars instead of fetching element again
2021-01-16 13:26:55 +05:30
Aditya Telange 704921ccd1
init media.css
- combine all media queries
- name zmedia to conacat at last
- change some max-width values to group them
2021-01-16 12:54:51 +05:30
Aditya Telange 4c51e9e8be
fix code highlight spacing when in a list 2021-01-15 23:27:25 +05:30
Aditya Telange ad44cdda0f
fix highlight.js loading on section pages 2021-01-15 23:21:13 +05:30
Aditya Telange 18ae4e5593
respect prefers-reduced-motion while animating 2021-01-13 23:35:54 +05:30
Aditya Telange b6a308d331
Do not smooth scrollIntoView
if user has it preferred

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
2021-01-13 23:19:35 +05:30
Aditya Telange dd83560010
go-top-top button cleanup 2021-01-11 21:01:50 +05:30
Aditya Telange 7a0e1f369c
change animation condition from hover to active for share-buttons and terms-tags 2021-01-11 20:31:03 +05:30
Aditya Telange 89414d00dc
add minimal border to post-entry
- increases element speration without being noticed
cc: #169
2021-01-11 20:15:04 +05:30
Aditya Telange e809aef590
lighten dark's border
#5b5d67 -> #333
2021-01-11 20:01:19 +05:30
Muhammad Hanif 6f397ef591
i18n: Add id Bahasa Indonesia (#173) 2021-01-11 19:13:36 +05:30
Aditya Telange 6a897a9e67
update LICENSE for 2021 2021-01-08 23:37:28 +05:30
Aditya Telange 4fd4bc5e20 Add info to blank.css 2021-01-08 23:36:33 +05:30
Aditya Telange 9d478913ec
Update README.md
replace unseen emoji
2021-01-08 23:35:00 +05:30
Aditya Telange bd4a118afa
rm unnecessay color to box-shadow for anchors 2021-01-08 22:53:04 +05:30
Aditya Telange 3b0997fc42
fix margin when hljs was disabled 2021-01-08 22:52:03 +05:30
Aditya Telange 905640ceef
increase blockquote thickness inside post 2021-01-08 20:38:00 +05:30
Aditya Telange 09de369d2f update fuse.js to v6.4.6
credits: https://github.com/krisk/Fuse/releases/tag/v6.4.6
2021-01-06 01:52:22 +05:30
Roman Ispaev 3b5c7faaec
fix wrong asset links on multihost config (#126)
CORS issue for multidomain setup (#168)
2021-01-06 01:51:43 +05:30
Weichen Liu 946cc1ffe3
single: Add post description (#165)
usage =>
in post params add : 
    description: "Desc Text."
2021-01-02 22:30:20 +05:30
Aditya Telange 5d6de5ecb1
post-single(css): fix scroll-bar in code
hiding background
2020-12-31 17:01:26 +05:30
Tomás Dias Almeida bfb5019cbc
Code block / blockquote / hr should respect the margin layout (#154)
* Code block should respect the margin layout

* Blockquote should respect the margin layout

* align others elements to main width with minors mods

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-12-31 16:11:18 +05:30
Aditya Telange d53671786c social-icons: add reddit icon #163
credits for svg: https://iconmonstr.com/reddit-1-svg/

LICENSE: https://iconmonstr.com/license/
2020-12-31 11:05:08 +05:30
Aditya Telange e000675275 social-icons: add nuget icon & refactor code #163
credits for svg: https://commons.wikimedia.org/wiki/File:NuGet_project_logo.svg

This file is licensed under the Creative Commons Attribution 2.0 Generic license.
2020-12-31 11:05:08 +05:30
Aditya Telange 3d88f46f33
Update README.md 2020-12-30 21:37:26 +05:30
Aditya Telange b825b7f27c
post-single: Fix embeded gist colors
fixes: #161
2020-12-29 18:12:15 +05:30
Aditya Telange 2b7d2dd493
reset: scroll-bar: set only on devices > 768px
default style to others
2020-12-29 18:10:18 +05:30
Aditya Telange 0e9ca244dc
fotter: fix Links do not have a discernible name for go-to-top btn 2020-12-29 17:03:22 +05:30
Aditya Telange c9fa6c7915
cover: granular controls for hiding cover image #156
in site config =>
    params:
        cover:
            hidden: true # hide everywhere but not in structured data
            hiddenInList: true # hide on list pages and home
            hiddenInSingle: true # hide on single page

per-page in front-matter =>
   hidden: true # only hide on current single page
2020-12-29 16:44:03 +05:30
Aditya Telange e252e761f5
footer: allow disabling HLJS #143
usage =>

in site config =>
    params:
        assets:
            disableHLJS: true

per-page in front-matter =>
   disableHLJS: true
2020-12-29 16:39:23 +05:30
Aditya Telange 838e607122
head: rm invalid rel="preload" on search assets 2020-12-27 22:39:03 +05:30
Aditya Telange 4389e03df9
baseof: pass .Layout
for 0f994eee95/layouts/partials/footer.html (L21)
2020-12-27 22:31:14 +05:30
Aditya Telange 0f994eee95 footer: change scroll behaviour as it was before 80954de
fixes #151

anchored-headings: retain anchor link '#' in URL
cc #108

footer: remove '#' with go-to-top

Revert "anchored-headings: retain anchor link '#' in URL"
This reverts commit 80954de8bd.

Revert "footer: rm unused code"
This reverts commit c76233b350.
2020-12-24 13:00:58 +05:30
Aditya Telange 7c53c14c85
Update theme.toml
change homepage to demo website
2020-12-23 16:44:32 +05:30
Aditya Telange aeaa60d9b6
reset(css): rm -webkit-appearance
fixes: #150
2020-12-23 16:36:19 +05:30
pacientes a36d045214
post-single(css): add image center align tag (#145)
usage in markdown =>
![name](path/to/image.png#center)

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-12-23 16:34:01 +05:30
Maurice Bauer 8933950217
i18n: Added missing german (de) translation (#147) 2020-12-23 13:09:20 +05:30
Aditya Telange b4933eadd6
header: use .KeyName for accesskey search
in menu

- .Name doesn't work with emojis
- .URL doesn't work with url such as 'search/'
2020-12-18 22:50:04 +05:30
Aditya Telange 6c83df566c
header: add accesskey (Alt + /) for search
in menu

- Alt + /: jumps to search page if in menu
2020-12-18 22:05:02 +05:30
Aditya Telange bccce36c98
search: use kb nav only inside searchbox
rm 'prevent mouseclick to change active element'
2020-12-18 21:25:34 +05:30
Aditya Telange a150c3449a
Link AccessKeys shortcut in title of elements 2020-12-18 20:02:05 +05:30
Aditya Telange 23aeda369c head: trim whitespace from canonicalURL
- amend to 14c5245
2020-12-18 11:58:16 +05:30