Commit Graph

189 Commits

Author SHA1 Message Date
cb95401bcb Merge commit '7fa9253abc1e4056d425847e2eaa5a8e107fc297' into v4 2025-08-20 17:40:13 +09:00
Keisuke ANDO
e91ed6a278 feat(links): added ofm option to style unresolved or broken links differently (#1992)
* feat: add option to disable broken wikilinks

* fix(style): update hover color for broken links and introduce new class

* feat: add "disableBrokenWikilinks" option to ObsidianFlavoredMarkdown
2025-05-27 21:26:17 +02:00
Emile Bangma
8d63125eff fix(style): Katex adding scrollbars on non-overflowing content (#1989) 2025-05-23 22:05:41 -04:00
Stephen Tse
bee2fa0fe0 fix(callout): Grid-based callout collapsible animation (#1944)
* Fixed broken nested callout maxHeight calculation

* Implemented grid-based callout collapsible
2025-04-26 11:05:51 -07:00
Jacky Zhao
7016ff3262 chore(css): style tweaks for overflow 2025-04-05 11:38:50 -07:00
Emile Bangma
117e6f25df fix(style): MathJax in callouts spacing (#1892) 2025-03-31 23:14:30 +02:00
Jacky Zhao
290f067444 fix: remove redundant log and display in parent of overflow 2025-03-30 18:15:25 -07:00
Jacky Zhao
85dccb5d94 fix: overflow list bottom gradient on toc (closes #1888) 2025-03-30 17:30:01 -07:00
Emile Bangma
935b2da07a fix(style): MathJax non-inline formulae center (#1886) 2025-03-30 21:19:53 +02:00
Jacky Zhao
4439f91d55 feat: support non-singleton explorer 2025-03-10 15:13:22 -07:00
Jacky Zhao
25efe7d6b8 fix(popovers): clear id to avoid anchor jumps within popover 2025-03-10 00:08:06 -07:00
Jacky Zhao
f35321c408 perf(explorer): client side explorer (#1810)
* start work on client side explorer

* fix tests

* fmt

* generic test flag

* add prenav hook

* add highlight class

* make flex more consistent, remove transition

* open folders that are prefixes of current path

* make mobile look nice

* more style fixes
2025-03-09 14:58:26 -07:00
Anton Bulakh
e581bfc1df chore(styles): omit sass deprecation warnings (#1737)
update to newer API
2025-01-23 22:19:46 -05:00
Aaron Pham
fbb5d9f690 perf(img): lazy load chunks (#1700) 2025-01-03 11:27:43 -08:00
Jacky Zhao
2ea80e5b50 fix(css): oops fit-content not no width specification for codeblock title 2024-12-30 09:28:02 -08:00
Jacky Zhao
b2716e86c8 fix(css): allow proper width on code block title (closes #1683) 2024-12-28 15:17:58 -08:00
Jacky Zhao
c1f20fce6a feat(spa): add loading bar (#1684) 2024-12-26 22:18:17 -07:00
Aaron Bull Schaefer
530c3552f8 fix(style): ensure images have no background color when linked (#1623) 2024-12-03 01:43:22 -05:00
Emile Bangma
e87f84b328 fix(grid): $desktop variable (#1511) 2024-10-17 23:50:48 -04:00
Emile Bangma
5158ac2089 fix(layout): restore footer to the proper position (#1470)
* fix(layout): restore footer to the proper position

* align ToC scrollbar properly on short headers
2024-10-01 08:49:13 -07:00
Emile Bangma
f39efbdecd fix(layout): backlinks grid triage (#1447)
* fix: mobile backlinks orientation

* temp: hide broken list gradient

* fix: backlinks overflow
2024-09-29 22:24:15 -04:00
Emile Bangma
663f82e880 fix(layout): grid triage with backlinks (#1442) 2024-09-25 18:15:07 -04:00
Emile Bangma
bcd95fae43 fix(layout): grid triage and regression (#1440)
* fix(table of contents): multiple scrollbars (https://github.com/jackyzha0/quartz/issues/1388)

* fix(center): Main content mininum width (https://github.com/jackyzha0/quartz/issues/1439)

* fix(code block): Horizontal overflow fix (https://github.com/jackyzha0/quartz/issues/1438, https://github.com/jackyzha0/quartz/issues/1353)

* WIP fix for ul/ol .overflow

* Fix: restore former scrollbar behavior for overflow lists (https://github.com/jackyzha0/quartz/issues/1437)

* Fix: code block overflow-x

* fix: Table of Content overflow (https://github.com/jackyzha0/quartz/issues/1437)

* Address feedback

* Move max-height toggle from js to css
2024-09-25 17:20:58 -04:00
Emile Bangma
5f8ae8e232 feat: responsive design grid (#1354)
* Responsive design grid

* Addressed PR feedback

* Bump Quartz version 4.3.1 => 4.4.0

* Moved page-header into center

* Updated docs with new layouts

* Sync updated version number with package-lock

* Table of Content scrollbar auto

* Reset node_modules

* Updated layout images

* Fixed tablet layout

* Finilazed layout images
2024-09-23 13:40:12 -07:00
Jacky Zhao
dbb175f103 fix: only apply z-index on left sidebar 2024-08-28 12:50:25 -07:00
Iker Larrea
d59e3b0a46 fix: Popover z-index issue on left sidebar (#1230) 2024-08-25 19:33:34 -07:00
a20b6de67d Merge commit '4bbcc0c50aca68d470542c1af8fd5f8060d97ab8' into HEAD 2024-08-21 17:07:03 +09:00
Jacky Zhao
7ce3da18eb fix: embed pdf aspect ratio (closes #1310) 2024-08-05 19:31:54 -07:00
Jacky Zhao
7499701e99 fix: responsive youtube embed (closes #1167) 2024-08-05 19:14:14 -07:00
Jacky Zhao
d2e7a4f01e feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Peter
eb844b6dbe feat(style): Add textHighlight theme setting (#1242)
* Add textHighlight theme setting

* update docs to include textHighlight

* Remove errant `S`
2024-07-09 17:21:00 -07:00
MassiveJuice
47c5f8c588 Fix: Table overflow-wrap: anywhere breaks words on mobile (#1259)
Closes #1258
2024-07-05 09:25:29 -07:00
Jacky Zhao
3f952a930f fix: overflow fade for good (closes #1218) 2024-06-17 21:33:53 -07:00
Emile Bangma
78dec5af34 .callout-content support (#1188)
* .callout-content support

* Use BlockContent | FootnoteContent for callout body

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Refactor

* Combine child selectors

* Fix multiple callout members

* Empty check

* Replace splice

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-06-13 16:02:00 -07:00
Callum Barker
71d3a76835 fix: fix explorer view gradient positioning on mobile (fixes #906) (#1206) 2024-06-13 12:47:22 -07:00
Jacky Zhao
e4fbd50c4f simpler katex fix 2024-03-24 15:50:38 -07:00
Emile Bangma
2217159a10 fix(style): LaTex/KaTeX overflow (#1027)
* LaTex/KaTeX overflow fix

* prettier

* Add !important modifier

* Added overflow-x override

* Refactor without !important

* Refactor scss notation

* Formatting scss
2024-03-24 15:43:36 -07:00
Matt Vogel
ab5a3b930d fix(tag): move hash to sass styling only (#930) 2024-03-06 20:25:39 -05:00
Jacky Zhao
4b4943192a fix(style): bold should use semibold 2024-02-17 10:57:59 -08:00
Jacky Zhao
f34ecf9c45 fix(style): introduce semiBoldWeight and various improvements to reduce CLS 2024-02-17 10:34:51 -08:00
Aaron Pham
1bd65d9c12 fix(links): show backdrop on links highlighted in headers alias (#816)
* fix: assign specific classes based on parent node

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: use custom role for anchor icone

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: allow color on links 😄

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: unify search inner container

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

---------

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-06 02:06:19 -05:00
b472280d60 merge 2024-02-05 19:45:36 +09:00
Jacky Zhao
737cae588d fix(search): flex basis and card highlighting 2024-02-02 12:18:02 -08:00
Jacky Zhao
d6549c3a42 fix(style): prevent callout icon from shrinking on long titles (closes #792) 2024-02-02 10:23:24 -08:00
Jacky Zhao
2c75fd68d8 fix(revert): font aliasing 2024-02-02 01:15:10 -08:00
Jacky Zhao
7914d8821f fix: font smoothing defaults 2024-02-02 01:01:04 -08:00
Jacky Zhao
7f3db463fc fix: font weight consistency 2024-02-02 00:53:09 -08:00
Jacky Zhao
9b2bccf297 feat: improve search preview styling and tokenization 2024-02-01 21:19:51 -08:00
LUCASTUCIOUS
d7c2e0b310 feat: Feature/custom callout icon (#727)
* Add icons as masks

To handle a simple way to add custom icons, i made it pure css. Icon are now a mask for the callout-icon div, so they always follow the --color form the current callout.

Now to add a custom icon, you simply add

```css
.callout {
  &[data-callout="custom"] {
    --color: #customcolor;
    --border: #custombordercolor;
    --bg: #custombg;
    --callout-icon: url('data:image/svg+xml; utf8, <custom formatted svg>');

  }
```

to custom.scss

* remove now unused code

* Make callouts an enum

* docs: update instructions for custom callouts

* Prettier & run format

* dynamic matching

For maintainability, make dynamic mathching. If we or Obsidian want to support more callouts, we simply add it to the enum

* callout mapping const

Getting ride of the enum entierly as it's not worth here?

* fix callout icon styling

* Add forgotten icons

* Rebase

* harmonize callout icon and fold icon

* fix docs + prettier

* Update docs/features/callouts.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Suggestions fix

* remove unecessary rules

* comment is always nice

* Update docs/features/callouts.md

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-01-30 22:10:13 -08:00
Justin Fowler
90337aa40b fix(css): improve wrapping when right sidebar has more than two items (#762)
* improve wrapping when right sidebar has more than two items, particularly on mobile

* Adjusted min-width
2024-01-29 21:56:59 -08:00