Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
AgeCommit message (Collapse)Author
2021-07-06chore: add toggleEl type (#256)WingLim
2021-06-25fix(article): add `white-space: nowrap` to back button text (#245)zhixuan
2021-06-21feat: Table of Contents (#232)Jimmy Cai
Currently, the new table of contents is disabled by default. I will change that after several versions. ------------- * feat: Table of Content (WIP) * fix: set scratch inside define block * fix(toc): darkmode text color * feat: unify page layout, and add config to disable toc * feat: add scroll-behavior: smooth to html * fix: use <ol> for TOC. And Disable TOC by default for now * refactor: use css flexbox for article page with toc enable toc for example site * feat(i18n): add i18n entry for "Back" and "Table of Contents" * style: remove unused `keep-sidebar` class * doc: add table of contents as feature
2021-06-20feat: change the page vertical scrollbar styles (#227)k
* fix: take out [data-scheme="dark"] from :root Taking out the [data-scheme="dark"] from :root allows us to fix the precedence of CSS when the [data-scheme="dark"] is placed in the <html> tag. This is needed in order to make the dark styles accesible from the <html> elment, this will allow us to change the vertical scrollbar styles following the dark and light schemes. * change document.body.dataset.scheme to document.documentElement.dataset.scheme When the dark mode is on or when the light mode is on, the [data-scheme="light"] or [data-scheme="dark"], respectively, will be placed in the <html> tag. Allowing us to access the dark and light color schemes from the <html> to change the vertical scrollbar styles according to the current color scheme. * feat: change the page vertical scrollbar styles This change will make the vertical scrollbar styles to follow the dark and light color scheme modes. Also, this change will make the vertical scrollbar to look consistent in both, Chromium and Firefox. * make the scrollbar-track background-color transparent The body has this transition: 'transition: background-color 0.3s ease 0s'. Making the scrollbar-track background-color transparent allow us to appreciate that transition in the scrollbar-track when switching the background-color. * Move [data-scheme=dark] back to :root block * fix(comment/waline): detect dark mode from html tag * feat: apply custom scrollbar style to all elements Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2021-06-20refactor: rewrite grid system & style changes (#231)Jimmy Cai
* refactor(WIP): add new SCSS mixin `respond` Theme's stylesheet mixes the use of max-width and min-width for responsive design, and it's horrible. * refactor: update variable.scss to use @mixin respond * refactor(grid): adjust sidebar max-width * refactor(partials/article.scss): use `@include respond` * refactor(layout/article.scss): delete unused SCSS and migrate to `@include respond` * Adjust left sidebar max-width on xl screen * fix: right sidebar not sticky * refactor(breakpoint): simplify `@mixin respond` * refactor(breakpoints): improve warning message * fix(breakpoint): return only the requested breakpoint * fix: add missing padding to .article-details
2021-06-19fix: set the scrollbar-track background to transparent (#228)k
The body has this transition: 'transition: background-color 0.3s ease 0s'. Setting the scrollbar-track's background-color of the horizontal scrollbar of the Archives page to transparent will make us to appreciate that transition when switching the background-color.
2021-06-12feat: change horizontal scrollbar styles (#211)k
* 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-03-07refactor(article): add default padding (#166)Jimmy Cai
* 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-06fix(article): also define the padding for div under .article-content (#162)Yihui Xie
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-02-17fix(scss): remove unnecessary import (#146)Jimmy Cai
2021-02-11fix(article): code background (#139)Jimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/126
2021-02-11fix: remove word-wrap property for Safari (#131)Junwoo Hwang
2021-02-11assets: fix font-family fallback (#130)Akatsuki Rui
If not have monospace, fonts will fallback to sans-serif when these fonts not available.
2021-01-04fix(colorScheme): dispatch onColorSchemeChange at page load (#118)Jimmy Cai
2020-12-25refactor(article): improve category tag style (#94)Jimmy Cai
2020-12-24fix(article): twitter_simple shortcode text color (#90)Jimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/85
2020-12-24fix: dark mode toggle inconsistent positioning (#89)Jimmy Cai
2020-12-24fix(list): add missing object-fit property to compact list (#87)Jimmy Cai
2020-12-23feat(darkmode): dark mode toggle (#82)Jimmy Cai
* 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-22feat(list): add subsection support (#81)Jimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/48
2020-12-22refactor(article): remove color tag & add custom category color (#75)Jimmy Cai
closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/71
2020-12-22 refactor(gallery): rewrite gallery (#79)Jimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/70
2020-12-22refactor(ts): import script using new Hugo Module logic (#77)Jimmy Cai
Allows user to overwrite a specific script. Note: The required version of Hugo might bump up.
2020-11-06refactor(search): remove .search-result--title styleJimmy Cai
2020-11-06feat(search): i18n supportJimmy Cai
2020-11-06refactor(search): create Search classJimmy Cai
2020-11-06style: remove empty line in main.tsJimmy Cai
2020-11-06refactor: create createElement.tsJimmy Cai
2020-11-01Merge branch 'master' into template-searchJimmy Cai
2020-11-01feat: add support for custom SCSSJimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/43
2020-10-17Merge branch 'master' into template-searchJimmy Cai
2020-10-17feat(widget): new archive widget styleJimmy Cai
2020-10-12refactor: add .section-title (#36)Jimmy Cai
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-10Merge branch 'master' into template-searchJimmy Cai
2020-10-10refactor(article): remove uppercase style of tagsJimmy Cai
2020-10-04Merge branch 'master' into template-searchJimmy Cai
2020-10-04feat(gallery): load PhotoSwipe lib from JSDelivrJimmy Cai
2020-10-04feat: style adjustmentJimmy Cai
2020-10-04feat(search): return results at typingJimmy Cai
2020-09-26fix(search): HTML escape issueJimmy Cai
2020-09-26feat: add search iconJimmy Cai
2020-09-26feat: add search templateJimmy Cai
2020-09-26fix(widgets): add margin bottom for last widgetJimmy Cai
2020-09-26feat(widget/archives): padding adjustmentJimmy Cai
2020-09-25feat(article): style improvementJimmy Cai
2020-09-25feat(article list): article clickable and equal heightJimmy Cai
2020-09-23refactor(scss): remove alert style and scriptJimmy Cai
It is not used in this theme
2020-09-23feat(scss): improve 2 column styleJimmy Cai
2020-09-20refactor(scss): rename --content-padding to --card-paddingJimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/16
2020-09-17feat(article): better syntax highlight styleJimmy Cai
Adapt to light & dark mode