0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 20:48:39 +00:00
Commit Graph

542 Commits

Author SHA1 Message Date
Trevor Buckner 5c906ee722 Logic rewrite
Realized we don't need to build a whole descendency tree of all the headers. We can just track the current indendation level and what headers are at each indent. This removes about 1/4 of the code, and lets us put all of the exit conditions (no title, no showPage, ToCExclude) in one place to easily see what is being excluded and what not.
2024-09-09 23:16:56 -04:00
Trevor Buckner 2284f15876 Update tableOfContents.gen.js 2024-09-09 11:11:40 -04:00
Trevor Buckner bfcb904ab7 Merge branch 'master' into skipCountingSnippet 2024-09-09 11:10:47 -04:00
David Bolack 3b4dd7dd61 Merge branch 'actualPageNumber' of github.com:dbolack-ab/homebrewery into actualPageNumber 2024-09-08 15:27:43 -05:00
David Bolack 4bc957159d Move a couple of variables back out of the global space because that was bad. 2024-09-08 15:23:03 -05:00
Trevor Buckner 7881d4b4a2 Small logic cleanup and renaming 2024-09-08 16:22:58 -04:00
David Bolack be70b9e67d Regroup page numbering snippets, update icons 2024-09-07 20:50:18 -05:00
David Bolack 758c2799a1 That was the wrong way. Lets try this ugly fix. 2024-09-07 20:40:29 -05:00
David Bolack b0dffc6df1 Drop empty entries 2024-09-07 20:35:43 -05:00
David Bolack 6ea724bb16 Start skipping .skipCount in ToC 2024-09-07 20:30:16 -05:00
David Bolack b58688bd62 Stop comparing lengths, dude. 2024-09-07 20:19:56 -05:00
David Bolack 0f8461ced6 Not a collection. 2024-09-07 20:16:16 -05:00
David Bolack 3b0028da69 Move some of thos variables back. 2024-09-07 20:12:05 -05:00
David Bolack 049b64cd41 Remove unneeded variable 2024-09-07 19:54:52 -05:00
David Bolack dcc7a22272 First pass at code fixes.
Move functions out of function
Use querySelector instead of querySelectorAll
Flip skip and reset counter order.
2024-09-07 19:47:16 -05:00
David Bolack 03f8fc83ee Add snippets for page Numbering updates
Adds options to add skipCounting and ResetCounting classes
2024-08-28 21:33:32 -05:00
David Bolack 089dcb942b Merge branch 'master' into actualPageNumber 2024-08-28 21:23:22 -05:00
Víctor Losada Hernández 5e69718f4f Merge branch 'master' into imageWrappin 2024-08-23 23:30:37 +02:00
Trevor Buckner dc7d877e6f Add snippets and icons 2024-08-22 16:35:48 -04:00
Trevor Buckner 8dea2ca9fb wrapLeft and wrapRight classes to automatically apply wrapping 2024-08-22 12:47:26 -04:00
G.Ambatte 8a8cd3fb18 Change order of operations in mask img transform 2024-08-17 10:54:02 +12:00
David Bolack 51f758bf47 Rework page counters for skipping and resets.
Solves #513

This adds the .skipCounting and .resetCounting classes for causing
a page number to not be incremented or to reset the number at 1.

The ToC Snippet is corrected to match the displayed page numbers
while correctly tracking the page ids.
2024-08-15 17:15:49 -05:00
Víctor Losada Hernández 4337c67f69 Merge branch 'master' into Issue_2563 2024-08-01 23:37:43 +02:00
Trevor Buckner 84d0d15c5a Merge branch 'master' into fix-background-monster-in-safari 2024-08-01 17:07:18 -04:00
Trevor Buckner b185fe8e35 Move Monster block changes under main monster block stuff 2024-08-01 17:06:18 -04:00
David Bolack 342963dae6 Merge branch 'master' into Issue_2563 2024-08-01 10:33:34 -05:00
Trevor Buckner a4f17259e1 Merge branch 'master' into Issue_2688 2024-08-01 00:58:06 -04:00
Trevor Buckner d797333b97 Merge branch 'master' into fixInkFriendlySnippet-#3563 2024-08-01 00:48:14 -04:00
Trevor Buckner c77395149b Tweak shadow values to match 5ePHB
box-shadows are a little smaller than drop-shadow. This just uses the same values we already found previously so the shadow size is not affected.
2024-08-01 00:46:08 -04:00
G.Ambatte 8b68f24135 Merge branch 'master' into fixInkFriendlySnippet-#3563 2024-08-01 12:43:20 +12:00
G.Ambatte e32ae9a792 Merge branch 'master' into fixToCUpperCasing-#3572 2024-08-01 12:42:08 +12:00
David Bolack 29bbf3fef9 Merge branch 'master' into Issue_2563 2024-07-30 10:59:43 -05:00
Víctor Losada Hernández 270aa9e0f9 Merge branch 'master' into brew_themes_user_selection 2024-07-22 22:46:12 +02:00
G.Ambatte f830104531 Use textContent instead of innerText 2024-07-17 13:59:00 +12:00
Trevor Buckner c209a86f90 Merge branch 'master' into fixInkFriendlySnippet-#3563 2024-07-11 09:47:54 -04:00
G.Ambatte 23fd70e3c3 Add additional style to existing SolberaImitation 2024-07-11 18:10:26 +12:00
Trevor Buckner 27aebf0e3b Give 5ePHB and Journal themes a baseTheme of "Blank" 2024-07-10 17:15:45 -04:00
G.Ambatte 7b9bd70554 Change filter to box-shadow 2024-07-08 19:57:21 +00:00
David Bolack a413dc8d4f Merge branch 'master' into Issue_2563 2024-07-08 10:14:06 -05:00
David Bolack 74ee09397e Merge branch 'master' into Issue_2688 2024-07-08 10:08:54 -05:00
G.Ambatte 7c60fbe655 Remove page + 1 from ToC generator snippet 2024-07-02 20:46:01 +12:00
Trevor Buckner 179e21755c Unify some emoji CSS across fonts 2024-06-28 22:01:55 -04:00
Trevor Buckner 9886200fa9 Fix partCover H1 inclusion rule 2024-06-28 09:39:49 -04:00
Trevor Buckner 9a1070bb06 Merge branch 'master' into issue_2994_css_style 2024-06-27 17:22:23 -04:00
David Bolack 4564066c63 Merge branch 'master' into Issue_2563 2024-06-27 10:44:32 -05:00
David Bolack 8a10fac81e Update Style based on suggestions. 2024-06-19 19:16:19 -05:00
David Bolack 7f1949a7f4 Merge branch 'master' into Issue_2688 2024-06-19 19:16:12 -05:00
Víctor Losada Hernández 65d6eb11dd suggested changes 2024-06-10 22:09:25 +02:00
Víctor Losada Hernández a591763d10 "Moved iOS-specific styles from .monster.frame to a separate @supports block" 2024-06-09 00:43:11 +02:00
Víctor Losada Hernández 62bf982a73 change to browser-specific solution 2024-06-08 23:40:11 +02:00