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
2022-10-21refactor(grid): avoid sidebar layout shift when main content loads slowly (#677)星の光
Co-authored-by: Luguoba <80254980+luguoba@users.noreply.github.com>
2022-10-02refactor(highlight): extract common parts of styles and keep line number ↵Allen Guan
visible when scrolling (#681) * merge highlight.scss * show line number when scroll
2022-07-28fix(article): footnote reference does not workJimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/632
2022-06-11feat(article): GitLab Snippets Shortcode (#627)rmdhnreza
2022-06-11fix(article): TOC link not working when the heading starts with digits (#603)lonzzi
2022-06-11fix(style): toc counter is incorrect when there are `<a>` in heading (#601)cubercsl
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/495, https://github.com/CaiJimmy/hugo-theme-stack/issues/589
2022-06-08fix(article): regression in article copyright link box-shadow (#611)Simon Guest
Somewhere between hugo 0.88.1 and 0.98.0, box-shadow got applied to the article copyright, which is an ugly regression.
2022-06-08feat(shortcodes): add quote shortcode, and example (#414)Simon Guest
* Add quote shortcode, and example * Use trim to improve whitespace * Allow for quote with neither author nor source * Format code and move quote.scss to article.scss This style is only used on the article page, so it makes more sense to have it there. Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-06-05refactor: rename "Related contents" to "Related content" (#567)Spence Churchill
2022-06-05feat: add `general.scss` and change link hover style (#550)Allen Guan
2022-03-20refactor(article): remove article toolbar styleJimmy Cai
2022-03-04fix: disable external image lightbox (#525)Jimmy Cai
2022-03-04feat: new left sidebar layout (#524)Jimmy Cai
* feat: more compact menu style * add compact option to sidebar * fix mobile menu style
2022-03-04feat: add RTL Support and update demo site to Show Arabic/RTL content (#519)FarisZR
* add LanguageDirection variable * add .direction-rtl and .direction-ltr clases * margin -right > margin-inline-end * keep Codeblocks LTR * switch to logical properties * left -> inset-inline-start * Add Arabic/RTL placeholder text * Add arabic language * remove space * use Html Dir instead of class * Move codeblock code to layout/article.css and fix 4 spaces codeblocks * remove unused clases
2022-03-04feat(widget): add category widget (#475)Felix Niederwanger
* Add category widget Adds the ability to add a category to the widgets. * Adapt to new widget scheme Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-03-04fix: article-details gapJimmy Cai
2022-03-04refactor: add flexbox gap to .article-detailsJimmy Cai
2022-03-04refactor: Use flexbox gap (#520)Jimmy Cai
2022-02-27feat: multilingual site switch (#512)Jimmy Cai
* feat: multilingual site switch * fix menu item margin switch to flexbox gap
2022-02-27feat(article): add link to translated content (#511)Jimmy Cai
2022-02-27feat: article page widget support (#488)Jimmy Cai
* feat: article page widget support * refactor: get rid of article toolbar Same 3 column layout for article page and homepage * add missing space
2022-02-12fix: check if paragraph exists before accessing it's textContentJimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/490
2022-02-11fix(article): code block background style in light themeJimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/489, https://github.com/CaiJimmy/hugo-theme-stack/issues/492
2022-02-06fix: copy code button does not work when line number is enabled (#487)Jimmy Cai
* fix: copy code button does not work when line number is enabled * fix pre style * Add gist shortcode to exampleSite
2022-02-06fix: hyperlinked image (#485)Jimmy Cai
* fix: hyperlinked image closes https://github.com/CaiJimmy/hugo-theme-stack/issues/410 * feat: add support to inline images * Remove unused code * Remove data-alt-html
2022-01-30fix: disqus dark mode (#478)Jimmy Cai
* fix: disqus dark mode * remove color-scheme add custom chrome scrollbar style (removed in https://github.com/CaiJimmy/hugo-theme-stack/pull/428)
2022-01-22feat(article): Scrollspy for the table of contents (#425)Zoroark
* Add first try at scrollspy (broken right now) * Scrollspy actually works now * Fix VS Code errors by setting JS version * Recompute offsets when window size changes * Improve list compatibility for toc active selection Support up to 6 levels of indentation, properly support <ol> * Remove debug string * Add more docs in smoothAnchors * Use a map to match ids to navigation elements
2022-01-20feat(article): add scroll for table (#428)zhixuan
* feat: table can't scroll & delete scrollbar style for Chromium * Undo some line breaks * Add a table with overflow to exampleSite
2022-01-19fix(shortcode): conflict with gist shortcode (#455)zhixuan
2022-01-19refactor(search): avoid issue with one character keyword (#447)Jimmy Cai
* refactor(search): avoid issue with one character keyword closes https://github.com/CaiJimmy/hugo-theme-stack/issues/184 * Remove keyword sorts * fix typo: secion -> section * fix(search): avoid matching html entity * Use | operator to concatenate keywords Idea from https://github.com/CaiJimmy/hugo-theme-stack/pull/436 * Add missing `matchCount` * Limit preview length * Don't add ellipsis to title * add comment to `processMatches` * Initialize DOMParser only once * Remove marker function * Deal with blank search * Use const keyword for constant arrays
2021-12-28fix: add missing diff syntax highlight (#445)Jimmy Cai
closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/434
2021-10-23feat: social menu (#401)Jimmy Cai
2021-08-25refactor(article): better support for svg and external images (#326)Jimmy Cai
2021-08-15feat(comments): DisqusJS integration (#307)SSpirits
* add comment provider: DisqusJS * Simplify `if` condition, and format code * Load disqusjs.scss only when it's enabled * Use `let` instead of `var` Co-authored-by: sspirits <admin@lv5.moe> Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-08-15fix(article): change `.article-time` classname to `.article-lastmod` (#306)zhixuan
2021-08-08feat(article): copy button for highlight block (#295)Jimmy Cai
This button only shows on highlighted code blocks, because it uses the wrapper div.highlight
2021-08-08feat(article): add scrollbar to TOC (#293)Jimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/236
2021-08-08fix(article): unordered TOC style (#292)Jimmy Cai
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/283
2021-07-27feat(article): add video shortcode (#280)zhixuan
2021-07-25feat(article): use `markdownify` for licence in article (#273)Simon Guest
* Use markdownify for licence in article So we can use links, e.g. to credits for main photo. * refactor: move .article-copyright style to partials/layout/article Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-07-23feat(article): reading time (#204)Bachrul uluum
* add reading time feature * Revert change in jsconfig.json * feat: add article.readingTime param, and improve style * Revert change in jsconfig.json x2 * Remove reading time in compact layout It doesn't look right to me for now * feat: add i18n support to reading time string * Hide footer.article-time when there's not content Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-07-09fix(menu): remove horizontal menu margin on mobileJimmy Cai
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