Commit Graph
49 Commits
Author SHA1 Message Date
58e8fadafe feat: change horizontal scrollbar styles (#211)
* feat: change horizontal scrollbar styles

Change the horizontal scrollbar styles in Archives page following the
dark and light themes styles.  This horizontal scrollbar is at the top
of the Archives page. When I visit this page, the scrollbar stole my
attention. Unfortunately, it's the client (our browser) who decides its
styles;  this change is introduced to avoid that situation.

Co-authored-by: Miguel Angel <man98@me.com>

* remove scrollbar height and border-radius

In order to match the theme presentation
(https://i.imgur.com/cCiHOGS.jpg), the previous defined `height: 7px` and
`border-radius: 10px` for the scrollbar have been deleted.

* fix: set the horizontal scrollbar's height and width to `auto`

In Firefox the horizontal scrollbar looks very small. With a width set
to `auto`, it looks bigger and better. In Chromium, without an automatic
height, the new color changes do not appear.

Now the horizontal scrollbar looks consistent in both chromium and firefox.

* style: format list.scss

Co-authored-by: Miguel Angel <man98@me.com>
Co-authored-by: Jimmy Cai <github@jimmycai.com>
Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2021-06-12 11:32:54 +02:00
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
Junwoo HwangandGitHub 9914bba42c fix: remove word-wrap property for Safari (#131) 2021-02-11 19:05:12 +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 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 c666c79800 Merge branch 'master' into template-search 2020-10-17 10:45:17 +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 e5f96c8762 feat: add search template 2020-09-26 11:40:33 +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 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 7379bbe412 refactor: rename archive -> archives 2020-09-13 11:22:47 +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 da112157cf feat(scss): make hyperlink style available outside .article-content 2020-09-09 17:22:19 +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 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 334e918bc3 fix(article): fix top padding 2020-09-07 11:49:33 +02:00
Jimmy Cai 634e6ce96b feat: improve top padding and article toolbar style 2020-09-07 11:34:28 +02:00
Jimmy Cai 829678936b feat(article): change article toolbar style 2020-09-07 11:27:40 +02:00
Jimmy Cai 17b2224b1f refactor(scss): remove some unused style 2020-09-06 21:14:10 +02:00
Jimmy Cai 0cac2218e3 feat(article): display last updated time of a post 2020-09-06 20:26:18 +02:00
Jimmy Cai 6cdb4b05ad feat(article): change article-title font size 2020-09-05 01:09:46 +02:00
Jimmy Cai 799f0ac479 feat(archive): style improvement 2020-09-05 00:51:01 +02:00
Jimmy Cai 99eb6cdfd0 feat(article/related contents): style change 2020-09-05 00:50:08 +02:00
Jimmy Cai bbe7e4b73d feat(style): improve typography styles 2020-09-03 23:32:28 +02:00
Jimmy Cai 4bf9d82961 feat: style improvement 2020-09-03 11:42:01 +02:00
Jimmy Cai ffcb975e82 refactor(css): rename --pre-background to --pre-background-color 2020-08-25 23:19:57 +02:00
Jimmy Cai f5e0b098c1 feat(article content): improve code tag style 2020-08-25 23:18:40 +02:00
Jimmy Cai 39eb9bdfb3 feat(css): add --pre-background and --pre-text-color variables 2020-08-24 23:32:24 +02:00
Jimmy Cai 3c803ebd5c feat(scss); add --article-font-size and --article-line-height variables 2020-08-24 20:45:26 +02:00
Jimmy Cai 4e9a6f1421 refactor(scss): add --section-separation and --small-card-padding variables 2020-08-24 20:28:17 +02:00
Jimmy Cai 28e4e01fae fix(article): fix ul and footer style 2020-08-24 13:28:32 +02:00
Jimmy Cai 6028eb5c2d feat(article): improve link style 2020-08-24 13:09:20 +02:00
Jimmy Cai dedb859ecc refactor(article): --content-side-padding -> --content-padding 2020-08-24 12:26:27 +02:00
Jimmy Cai 36f53f592b refactor(article): use var(--content-side-padding) in more places 2020-08-24 12:17:43 +02:00
Jimmy Cai a1250ee75f feat(article): add render-link hook 2020-08-24 12:07:58 +02:00
Jimmy Cai a4d388c0f0 feat(article): improve article content style 2020-08-24 12:05:15 +02:00
Jimmy Cai 2ec4cd3f69 refactor(scss): add css variables for font families 2020-08-24 11:52:12 +02:00
Jimmy Cai 6f5093a93d style(article content): improve link styling 2020-08-22 23:11:34 +02:00
Jimmy Cai 35ce4cb0ce style(article): change figcaption style 2020-08-22 20:44:27 +02:00
Jimmy Cai c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00