naturalcrit / homebrewery

Create authentic looking D&D homebrews using only markdown
https://homebrewery.naturalcrit.com
MIT License
1.03k stars 316 forks source link

[FEATURE]: Add default page size setting #3498

Open 5e-Cleric opened 4 weeks ago

5e-Cleric commented 4 weeks ago

Opened this as an upstream PR by a miss click, but shouldn't be a difference

This feature does not check for account, unlike the default save location, because it is not deemed so important.

Checks the new page style code for a page size, if a page size is already defined, it doesn't add anything. if there isn't and the default is A4, adds the A4 snippet via simple concatenation.

5e-Cleric commented 4 weeks ago

To test:

5e-Cleric commented 4 weeks ago

Thinking about it, i probably should insert the snippet at the end of the CSS code, otherwise, @import won't work.