Commit Graph

112 Commits

Author SHA1 Message Date
Aditya Telange 28abfba27e
home-info: fix title line height
close: #102
2020-12-04 16:29:56 +05:30
Aditya Telange dc743ae5e2
header: fix menu items overflow instead of horizontal scroll #99
- broken by https://git.io/JIfLS
2020-12-01 08:36:08 +05:30
Aditya Telange b5f3debebb
footer: go-to-top: fix overlap with next_page button
close: #91
2020-11-30 13:25:20 +05:30
Aditya Telange e7e5e8ce6d
main(css): rm media rule for smaller devices
-has no effect
2020-11-28 23:03:06 +05:30
Aditya Telange d4967f9ebc
hljs: updatev10.2.0 -> v10.2.1
* credits : https://cdnjs.com/libraries/highlight.js
2020-11-19 15:29:02 +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 66ba0f0ea9
home-info: unset line-clamp for content
- content can be as long as one wants it to be
- was hiding content on mobile devices
- amend to 2c7cffb
2020-11-12 22:20:24 +05:30
Aditya Telange b22520630d
toc: highlight underline on hover 2020-11-12 11:09:23 +05:30
Aditya Telange 1775dfccfd
scroll-bar(css): fix dark track color on `list`
pages, due to c960b8a
2020-11-11 10:39:55 +05:30
Aditya Telange 0b07dd2a7d
header: fix spacing when logo-text overflows 2020-11-11 10:36:54 +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 8574c385cd
profile-mode: user set-able image size
- default 150

usage:
      profileMode:
        imageUrl: "/android-chrome-192x192.png"
        imageWidth: 120
        imageHeight: 120
2020-11-09 12:14:45 +05:30
Aditya Telange c960b8af04
scroll-bar(css): fix white track color on `list`
pages, due to diff bg
2020-11-09 11:52:57 +05:30
Aditya Telange f9fbdc9963
profile-mode: improvements
- update css logic
- rm redundant code
- reduce image size, it looks big imo
2020-11-09 11:12:52 +05:30
Aditya Telange 229df19ec9
header: fix spacing between lang-selector and label
when theme-toggle is disabled
2020-11-03 19:44:19 +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 9acbc2c134
baseof: use `dir` attribute instead of class
and set default dir to `auto`

main(css): rm unused class
2020-10-30 01:01:48 +05:30
Aditya Telange 6c7b8cf2f9
share-icons: fix extra uneven padding 2020-10-28 09:35:21 +05:30
Aditya Telange b40f30754d
header: add cursor type pointer to theme-toggle 2020-10-26 22:49:27 +05:30
Aditya Telange c33dabf3a2
header: add Language switch (#54)
* language-switch: init
* header: move logo-switches together
2020-10-26 22:19:05 +05:30
Aditya Telange a97de0f9a4
reset(css): rm bold styling (#55) 2020-10-25 16:08:52 +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
Aditya Telange 4e9d470fec
Revert "reset(css): themify text selection"
* looks ugly :p

This reverts commit 3d60370494.
2020-10-23 16:11:55 +05:30
Aditya Telange 3d60370494 reset(css): themify text selection 2020-10-22 16:52:45 +05:30
Zhangyuan Nie ea9aa38573
header: disable user-select for theme-toggle (#52)
* fix: clicking twice on theme switch selects other text on the nav-bar.
2020-10-20 10:38:43 +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 3edc160c59
nav-label: init
* label can be set differently from title
* label can have an optional icon with preffered size

* in site config =>
params:
  label:
    text: "Home"
    icon: /apple-touch-icon.png
    iconHeight: 35
2020-10-16 23:56:56 +05:30
Aditya Telange e04e248ae1
terms: hide cover image in taxonomy list,
show others

* taxonomies are meant to be browsed faster
2020-10-10 19:40:37 +05:30
Aditya Telange 46bf0538c9
post-tags(css): highlight tags with a slim border 2020-10-10 19:24:48 +05:30
Aditya Telange 2c7cffb617
home-info: let content show upto 5 lines
* previously 3
2020-10-08 15:50:20 +05:30
Aditya Telange d0c7635a8b
post-cover: enable mardownify
* allows users to add links and stuff #17
2020-10-05 14:56:06 +05:30
Aditya Telange 6a9e9e129a
theme-switch-button: init feature (#15)
* thanks to https://feathericons.com for svgs
* can be disabled in site config
   Params:
     disableThemeToggle : true
2020-10-04 20:43:24 +05:30
Aditya Telange 35788daad1
post-cover: add support for adding caption (#17)
* shown only on single page

usage =>
in page-vars front-matter

cover:
  image: '<image path/url>'
  alt: '<alt text>'
  caption: '<text>'
2020-10-04 18:47:12 +05:30
Aditya Telange f4df89dbf6 scroll-bar(css): reduce size for smaller screens
misc
2020-10-03 21:02:10 +05:30
Aditya Telange d18c5b74be
profile-mode: add support for adding subtitle 2020-10-02 14:35:38 +05:30
Aditya Telange c055e14be6
profile-mode: social-icons: rm animation 2020-10-02 13:52:03 +05:30
Aditya Telange 8ff1f10eb7
social-icons: use height and with as css props;
rm hardcoded svg height and width
2020-10-02 13:46:22 +05:30
Aditya Telange 48d2dcb164
social-icons(css): refactor
move to main.css
2020-10-02 13:20:20 +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 82c4230c43
scrollbar: increase thickness 2020-10-01 13:37:31 +05:30
Aditya Telange dfa8561ce4
reset(css): table: scroll when content length
exceeds page/section width
2020-09-30 18:25:39 +05:30
Aditya Telange 61cbbee16c
css: refactor 2020-09-29 16:43:41 +05:30
Aditya Telange 94070f4cd9
archives: add posts count for each yr and month
* misc(css): rm unused
2020-09-29 16:42:23 +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