Víctor Losada Hernández
3672285e92
additional linting pass through themes
2025-03-24 13:09:56 +01:00
Víctor Losada Hernández
ea4dd5defd
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into SnippetsReorg
2025-03-24 13:07:16 +01:00
David Bolack
712ee111d4
Move Dropcap settings back to PHB
2025-03-23 20:48:30 -05:00
Víctor Losada Hernández
163e3927b5
style lint
2025-03-18 19:38:58 +01:00
G.Ambatte
a44056a64b
Restore blank styling
2025-03-18 10:02:29 +13:00
Trevor Buckner
8093380e0c
.frontCover and .insideCover to position : absolute
...
.partCover and .backCover are already position : absolute.
2025-03-10 19:15:16 -04:00
Murdo B. Maclachlan
477f706eb9
Fix formatting inconsistencies in 5ePHB monster stat block
...
Closes #4073 . Fixes minor formatting inconsistencies in the monster stat block between the 5ePHB theme and actual 5e manuals.
2025-03-05 13:01:31 +00:00
Víctor Losada Hernández
5b7d5bee24
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-snippet-styling
2025-02-20 20:44:18 +01:00
Trevor Buckner
fc065d250b
Fix useSansSerif() case (monster stat blocks, descriptiven note, etc.)
...
Removed line-height value that affects only <br> height. Doesn't impact anywhere else because they all have their own explicit line-heights already.
2025-02-17 16:27:22 -05:00
Trevor Buckner
01d93b98d5
Remove LESS styling for .blank
2025-02-17 15:09:04 -05:00
David Bolack
3ffdb34312
Tweaks in response to CC comments
2025-02-11 14:45:39 -06:00
David Bolack
dc8d0e9483
Restore .monster
2025-02-11 14:37:25 -06:00
David Bolack
0a86990bdf
Merge branch 'master' into SnippetsReorg
2025-02-07 19:02:28 -06:00
Víctor Losada Hernández
8eef810f3f
backcover logo width
2025-02-01 20:30:54 +01:00
Víctor Losada Hernández
a04df0fdfc
small adjustements
2025-02-01 19:27:55 +01:00
Trevor Buckner
d53a271c9f
Change to .page and tweak spacing/newlines to match other snippets
...
All of our "global" style snippets are just set at `.page`, not `.pages`. This still applies globally but is consistent with our current approach.
2024-10-18 10:53:16 -04:00
Trevor Buckner
9d81f50b60
Remove disabled = false
...
Don't need that tag at all when it's false.
2024-10-18 10:46:59 -04:00
David Bolack
631ef795b7
Fix .tocGlobalH?
...
Based on OH DEAR GOD THE LAG! discoveries related to the global toggles, these are being moved from a markup tag to a styles tab insert.
2024-10-17 18:30:31 -05:00
Trevor Buckner
f2f06b23fd
Disable Global ToC Snippet
2024-10-17 16:42:57 -04:00
Trevor Buckner
a866b45c55
Merge branch 'master' into GlobalToCToggles
2024-09-16 09:45:35 -04:00
Trevor Buckner
63675a46e0
Lint more things
2024-09-16 01:42:21 -04:00
David Bolack
3ad0755c36
Correct ToC Global toggles subsnippets
...
The snippets incorrectedly reflected their previous incarnation as part of the Styles tab menus.
2024-09-15 18:33:14 -05:00
David Bolack
7c59f56fb2
Explode tocInclude and tocExclude snippet menus to match tocGlobal and tocDepth pattern.
2024-09-10 20:22:50 -05:00
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
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
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
a3c01305df
Revert "Move Page styles ( cover Page, etc ) to Blank from 5ePHB"
...
This reverts commit ad1dfc8e2b .
2024-08-25 19:15:57 -05:00
David Bolack
ad1dfc8e2b
Move Page styles ( cover Page, etc ) to Blank from 5ePHB
2024-08-23 16:52:35 -05:00
David Bolack
2c573bfef5
Failed to save one file's changes.
2024-08-23 14:18:58 -05:00
David Bolack
fd5ff2c61a
Relocate more general purposes snippets from 5ePHB to Blank
...
Should include all supporting style content.
2024-08-23 14:04:04 -05: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