Commit Graph

20 Commits

Author SHA1 Message Date
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 c32e036053
set equal margin to page-header and post-header 2021-01-31 17:33:22 +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 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 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
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 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 76492223b4
toc(css): refactor
* move from main -> post-single
2020-10-01 14:37:57 +05:30
Aditya Telange abea879e68
css: pagination buttons
* does same job with less code
2020-09-20 17:03:08 +05:30
Aditya Telange e91b15284a
css : refactor all margins
* hope this does not break anything xd
2020-09-20 16:33:50 +05:30
Aditya Telange 32289fe2e7
toc : use newer toc partial and indent elements
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
2020-09-19 17:03:27 +05:30
Aditya Telange ac4ed69368
blockquote : move to toc 2020-09-16 12:40:56 +05:30
Aditya Telange 2623cd8f8b
css: main : toc : add cursor as zoom
* accessibility
2020-09-15 23:03:49 +05:30
Aditya Telange 700c8e07da toc : set border radius to theme var radius 2020-07-26 20:43:40 +05:30
Aditya Telange 16b98dc8f9 toc: look cool
- improve toc styling
    - make collapsable
2020-07-24 23:53:25 +05:30
Aditya Telange c06357a604 add Table of Contents
- can be used by
     `ShowToc = true` in Single Post params
2020-07-24 22:03:13 +05:30
Aditya Telange 47bc2ee10d fix unnecessary scroll on devices with lower width
making footer size bigger by 24px
2020-07-23 13:34:53 +05:30
Aditya Telange 15d7a4aabd assets: separate style.css into parts 2020-07-21 14:20:35 +05:30