David Bolack
bc6b4e3bfc
Move ToC Includes Menu from styles to Table of Contents subsnippet
...
Create additional subsnippets for .tocInclude*, .tocExclude*, and move the existing depth entries to a subsnippet.
2024-09-10 14:18:36 -05:00
David Bolack
5a2e071879
Merge branch 'master' into GlobalToCToggles
2024-09-10 14:12:04 -05:00
David Bolack
59f27197f6
A few small cleanups for ToC
...
Explicitly define --TOC as included in :root so there is no doubt the default value.
Rearrange Block ToC inclusion classes for organization and comments
Add block level, single Header class exclusion convienance classes.
2024-09-10 13:34:47 -05:00
David Bolack
f8d170be87
Document level toggles need to look at pages, not page.
2024-09-10 12:15:12 -05:00
David Bolack
ed376f3154
Oy, what a typo.
2024-09-10 11:25:06 -05:00
David Bolack
930974f66d
Merge branch 'GlobalToCToggles' of github.com:dbolack-ab/homebrewery into GlobalToCToggles
2024-09-10 11:11:12 -05:00
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
David Bolack
3629292ebb
Remove
2024-09-09 17:09:24 -05: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
Trevor Buckner
f0a8bf379a
Fix non-uniform spacing/indenting
2024-09-06 16:43:44 -04:00
David Bolack
2a366c3053
Update ToC Style snippets for better specificity
2024-08-29 17:51:59 -05:00
David Bolack
de8bd67e07
Add toggles for global Toc changes.
2024-08-29 17:44:45 -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