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
c32e036053
set equal margin to page-header and post-header
2021-01-31 17:33:22 +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
Aditya Telange
9c50449ce8
improve scroll-bar styling
...
and fix hidden gist scrollbar
2021-01-25 21:04:29 +05:30
Aditya Telange
cd03c69e40
fix blockquote margin with simplified tweet shorcode
...
sticking together
2021-01-25 12:48:10 +05:30
Aditya Telange
55d9dc26cd
make similar border-radius to tags and share-buttons under single
2021-01-24 18:12:15 +05:30
Aditya Telange
75375a4337
rm use of blockquote in Toc
2021-01-24 17:58:03 +05:30
Aditya Telange
be1ea53910
rm selector hiding anchor links on some devices
...
fix : #189
partial revert of f5c5546249
2021-01-23 17:03:54 +05:30
Aditya Telange
042f4e9254
fix code-borders were rounded on desktop but not on mobile devices
2021-01-22 10:51:11 +05:30
Aditya Telange
a8316f0073
fix code highlight radius when markup.highlight.lineNos is enabled
2021-01-22 00:33:09 +05:30
Aditya Telange
3167acd32a
fix code highlight spacing when in a list
...
rm redundant code
2021-01-22 00:33:09 +05:30
Aditya Telange
f5c5546249
fix gist colors
...
hide anchor underline for gist
2021-01-22 00:33:09 +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
18ae4e5593
respect prefers-reduced-motion while animating
2021-01-13 23:35:54 +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
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
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
b825b7f27c
post-single: Fix embeded gist colors
...
fixes : #161
2020-12-29 18:12:15 +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
Kian Kasad
f9236d92af
shortcodes: figure: don't use h4 tag in figure captions ( #127 )
...
* avoiding h4 tags in figcaption elements
* picked from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/figure.html
* figure.html is licensed under Apache License 2.0 and is part of https://github.com/gohugoio/hugo
2020-12-15 17:52:04 +05:30
Aditya Telange
c9a387ebdb
assets(css): fix "calc" operands should be correctly spaced
2020-11-17 15:56:27 +05:30
Aditya Telange
2a06c26e9f
assets(css): optimize using csso
...
https://css.github.io/csso/csso.html
2020-11-17 12:45:19 +05:30
Aditya Telange
b22520630d
toc: highlight underline on hover
2020-11-12 11:09:23 +05:30
Aditya Telange
cf4fd27e3d
anchored-headings: port to PaperMod
...
- add corresponding css
- gen anchored headings for h1-h6
- link with single.html
2020-11-10 12:34:22 +05:30
Aditya Telange
b8c29c2e06
reset(css): disable focus only on toc and go-to-top button
...
revert "css: reset: disbale highlight on focus"
This reverts commit 94b67a5dc9
.
2020-10-30 11:42:58 +05:30
Aditya Telange
6c7b8cf2f9
share-icons: fix extra uneven padding
2020-10-28 09:35:21 +05:30
Mehdy Khoshnoody
3e3a7d380e
post-single(css): improve RTL support ( #57 )
...
* Replace left with start for tables and block-quote
2020-10-24 19:12:24 +05:30
Mehdy Khoshnoody
a153a7cc6f
Add RTL support for multilingual mode ( #47 )
...
Usage:
in site config:
languages:
ar:
languagedirection: rtl
title: مدونتي
weight: 2
* ref: https://gohugo.io/content-management/multilingual/#configure-languages
2020-10-19 14:47:23 +05:30
Aditya Telange
46bf0538c9
post-tags(css): highlight tags with a slim border
2020-10-10 19:24:48 +05:30
Aditya Telange
cb5d40cd9b
toc: remove blockquote border;
...
align summary with content
2020-10-01 14:39:26 +05:30
Aditya Telange
76492223b4
toc(css): refactor
...
* move from main -> post-single
2020-10-01 14:37:57 +05:30
Aditya Telange
0e48338a7d
share-icons: improvements
...
* rm translatable text
* svg: rm redundant attributes
* css: add x-scroll, - backgroud, + border
* misc
2020-10-01 14:23:15 +05:30
Aditya Telange
d46c0ed82d
post-single: reduce image border radius
...
* fix badges extra round corner
2020-09-29 16:41:59 +05:30
Aditya Telange
5cf90ca81e
post-tags(css) : fix spacing
...
ammend to a6e17280a1
2020-09-26 12:59:26 +05:30
Aditya Telange
a6e17280a1
post-tags(css) : fix spacing
2020-09-23 18:01:33 +05:30
Aditya Telange
5901cac6c4
post-single : display available translations
...
in post - meta
2020-09-22 13:41:23 +05:30
Aditya Telange
06786d7451
css: merge duplicate selectors
2020-09-21 15:56:29 +05:30