Commit Graph
137 Commits
Author SHA1 Message Date
Jimmy CaiandGitHub d5268a41e0 refactor(article): add default padding (#166)
* refactor(article): add default padding

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/165

* fix(article): video iframe margin

* fix: remove youtube iframe border
2021-03-07 12:51:47 +01:00
Yihui XieandGitHub 38eb9c4eaf fix(article): also define the padding for div under .article-content (#162)
Fixes rstudio/blogdown#591: not only `<p>` but also `<div>` could be the direct child of `.article-content`, so we also need the padding for `<div>`. The `div`s are generated by Pandoc, instead of Hugo's Markdown renderer. I think it will be great to support both ways.
2021-03-06 20:41:46 +01:00
Jimmy CaiandGitHub 0429678d57 fix(scss): remove unnecessary import (#146) 2021-02-17 10:29:40 +01:00
Jimmy CaiandGitHub 326c052a24 fix(article): code background (#139)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/126
2021-02-11 21:22:02 +01:00
Junwoo HwangandGitHub 9914bba42c fix: remove word-wrap property for Safari (#131) 2021-02-11 19:05:12 +01:00
Akatsuki RuiandGitHub a37ebbe2aa assets: fix font-family fallback (#130)
If not have monospace, fonts will fallback to sans-serif when these fonts not available.
2021-02-11 19:00:59 +01:00
Jimmy CaiandGitHub f2955aac27 refactor(article): improve category tag style (#94) 2020-12-25 09:59:02 +01:00
Jimmy CaiandGitHub 80be1b2435 fix(article): twitter_simple shortcode text color (#90)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/85
2020-12-24 11:24:26 +01:00
Jimmy CaiandGitHub 3326cf886a fix: dark mode toggle inconsistent positioning (#89) 2020-12-24 11:06:58 +01:00
Jimmy CaiandGitHub de79b8a470 fix(list): add missing object-fit property to compact list (#87) 2020-12-24 10:43:09 +01:00
Jimmy CaiandGitHub 358e63e799 feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle

* fix(darkmode): add svg icons

* feat(darkmode): dispatch onColorSchemeChange event

* add head/darkmode

* feat(darkmode); add colorScheme config

* style: remove empty line

* refactor(darkmode): simplify code

* style: add comment for darkmode config

* i18n support for dark mode toggle

* Some renaming
2020-12-23 19:03:40 +01:00
Jimmy CaiandGitHub 7d841cf237 feat(list): add subsection support (#81)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/48
2020-12-22 21:14:50 +01:00
Jimmy Cai efa7ff14b7 refactor(search): remove .search-result--title style 2020-11-06 12:13:12 +01:00
Jimmy CaiandGitHub b3df22940d Merge branch 'master' into template-search 2020-10-31 23:37:36 +01:00
Jimmy Cai be416830ad feat: add support for custom SCSS
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/43
2020-10-31 23:36:16 +01:00
Jimmy CaiandGitHub c666c79800 Merge branch 'master' into template-search 2020-10-17 10:45:17 +02:00
Jimmy Cai 5c55bd2d33 feat(widget): new archive widget style 2020-10-17 10:34:36 +02:00
Jimmy CaiandGitHub 49e568faac refactor: add .section-title (#36)
For the small title before the card

Remove .widget-title, .archive-date, .taxonomy-type from SCSS, as they all share the same style.
2020-10-12 20:49:56 +02:00
Jimmy CaiandGitHub c266204f98 Merge branch 'master' into template-search 2020-10-10 10:05:31 +02:00
Jimmy Cai 0c5e6af9d3 refactor(article): remove uppercase style of tags 2020-10-10 09:14:27 +02:00
Jimmy Cai b027cbf5aa Merge branch 'master' into template-search 2020-10-04 16:05:02 +02:00
Jimmy Cai 1749a9168f feat: style adjustment 2020-10-04 15:58:32 +02:00
Jimmy Cai e5f96c8762 feat: add search template 2020-09-26 11:40:33 +02:00
Jimmy Cai 12578a5769 fix(widgets): add margin bottom for last widget 2020-09-25 23:19:21 +02:00
Jimmy Cai 0e8083e7d0 feat(widget/archives): padding adjustment 2020-09-25 23:18:21 +02:00
Jimmy Cai 5a7c9b6783 feat(article): style improvement 2020-09-25 11:07:49 +02:00
Jimmy Cai 96897be941 feat(article list): article clickable and equal height 2020-09-24 23:59:00 +02:00
Jimmy Cai a2a49e7537 refactor(scss): remove alert style and script
It is not used in this theme
2020-09-23 13:22:03 +02:00
Jimmy Cai 26acceb37d feat(scss): improve 2 column style 2020-09-23 13:20:18 +02:00
Jimmy Cai 02f2badffc refactor(scss): rename --content-padding to --card-padding
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/16
2020-09-20 19:03:41 +02:00
Jimmy Cai 841508f491 fix(menu): use <ol> to wrap menu items 2020-09-14 13:38:24 +02:00
Jimmy Cai 7379bbe412 refactor: rename archive -> archives 2020-09-13 11:22:47 +02:00
Jimmy Cai e91f99421a style(scss): move --small-card-padding to it's category 2020-09-12 13:19:49 +02:00
Jimmy Cai ed91cb7629 refactor(layouts): move layout HTML to baseof.html
For better maintainability
2020-09-12 10:33:53 +02:00
Jimmy Cai cca10c7947 refactor(scss): split CSS variables into different sections 2020-09-11 23:30:11 +02:00
Jimmy Cai da112157cf feat(scss): make hyperlink style available outside .article-content 2020-09-09 17:22:19 +02:00
Jimmy Cai 98804e578d refactor: add copyright info in CSS and JS 2020-09-09 16:28:38 +02:00
Jimmy Cai 7e701c0239 refactor(scss): remove comments scss folder. Include style of each comment system inside their HTML template 2020-09-09 16:19:37 +02:00
Jimmy Cai 9e42d8cd35 refactor(scss): remove helper/shadow. Expose shadow style in CSS variables 2020-09-09 16:14:30 +02:00
Jimmy Cai 190475dbad refactor(scss): create breakpoints.scss 2020-09-09 16:03:09 +02:00
Jimmy Cai 4fc5b7467f fix: add margin-top to site footer 2020-09-09 11:37:43 +02:00
Jimmy Cai 652caeabb1 feat(article): adjust blockquote background color 2020-09-09 00:28:50 +02:00
Jimmy Cai 2912b7e2f0 fix(comments): remove div.comments-container, apply card style depending on comment system 2020-09-09 00:24:17 +02:00
Jimmy Cai c546964ce4 feat(comments): prepare for more third party comments system integration 2020-09-08 23:30:15 +02:00
Jimmy Cai 44dadd7893 fix(article): add margin for ordered list 2020-09-08 13:31:18 +02:00
Jimmy Cai 18cd83125d feat(scss): improve blockquote style 2020-09-08 13:01:27 +02:00
Jimmy Cai 0e0f5edbec feat(scss): add table style
Style taken from: https://github.com/lepture/yue.css

closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/3
2020-09-08 12:48:34 +02:00
Jimmy Cai fd816ca9ef fix(article): fix article tag overflow
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/4
2020-09-08 12:09:03 +02:00
Jimmy Cai 199517d988 feat: add hover effect to article list card, tag cloud and archive list 2020-09-07 17:28:22 +02:00
Jimmy Cai 334e918bc3 fix(article): fix top padding 2020-09-07 11:49:33 +02:00