0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 04:38:11 +00:00

credits to alt text

This commit is contained in:
Víctor Losada Hernández
2026-03-18 12:15:28 +01:00
parent 8e3c6054ad
commit 309c67a660
3 changed files with 7 additions and 14 deletions

View File

@@ -97,8 +97,7 @@ export default {
${_.sample(footnote)}
}}
![background image](${domain}/assets/the_departure.webp){position:absolute,bottom:0,right:-400px,height:100%}
<!-- ARt: The Departure, 1837, by Thomas Cole -->
![The Departure, 1837, by Thomas Cole](${domain}/assets/the_departure.webp){position:absolute,bottom:0,right:-400px,height:100%}
\page`;
},
@@ -112,9 +111,8 @@ export default {
___
{{imageMaskCenter${_.random(1, 16)},--offsetX:0%,--offsetY:0%,--rotation:0
![background image](${domain}/assets/the_spirit_of_war.webp){position:absolute,bottom:100px,right:70px,height:70%}
![The Spirit of War, 1851, by Jasper Francis Cropsey](${domain}/assets/the_spirit_of_war.webp){position:absolute,bottom:100px,right:70px,height:70%}
}}
<!-- Art: The Spirit of War, 1851, by Jasper Francis Cropsey -->
{{logo ![](${domain}/assets/naturalCritLogoRed.svg)}}
@@ -129,9 +127,8 @@ export default {
## ${_.sample(subtitles)}
{{imageMaskEdge${_.random(1, 8)},--offset:10cm,--rotation:180
![Background image](${domain}/assets/frigate.webp){position:absolute,bottom:0,right:0,height:100%}
![The United States Frigate "President" Engaging the British Squadron, 1815, 1850, by Fitz Henry Lane](${domain}/assets/frigate.webp){position:absolute,bottom:0,right:0,height:100%}
}}
<!-- Art: The United States Frigate "President" Engaging the British Squadron, 1815, 1850, by Fitz Henry Lane -->
\page`;
},
@@ -147,8 +144,7 @@ export default {
For use with any fantasy roleplaying ruleset. Play the best game of your life!
![background image](${domain}/assets/ruined_tower.webp){position:absolute,bottom:0,right:-250px,height:100%}
<!-- Art: Italian Coast Scene with Ruined Tower, 1838, by Thomas Cole -->
![Italian Coast Scene with Ruined Tower, 1838, by Thomas Cole](${domain}/assets/ruined_tower.webp){position:absolute,bottom:0,right:-250px,height:100%}
{{logo
![](${domain}/assets/naturalCritLogoWhite.svg)

View File

@@ -646,8 +646,7 @@ export default [
name : 'Image',
icon : 'fas fa-image',
gen : dedent`
![bird](${domain}/assets/bird.webp) {width:325px}
<!-- Bird with autumn foliage by L. Prang & Co.-->`
![Bird with autumn foliage by L. Prang & Co.](${domain}/assets/bird.webp) {width:325px}`
},
{
name : 'Image Wrap Left',

View File

@@ -37,8 +37,7 @@ export default {
}[side];
return dedent`
{{imageMaskEdge${_.random(1, 8)},--offset:10%,--rotation:${rotation}
![image description](${domain}/assets/roman_theatre.webp)${styles()}
<!-- Art: The Roman Theater at Taormina, 1828, by Louise-Joséphine sarazin de Belmont -->
![The Roman Theater at Taormina, 1828, by Louise-Joséphine sarazin de Belmont](${domain}/assets/roman_theatre.webp)${styles()}
}}
<!-- Use --offset to shift the mask away from page center (can use cm instead of %)
Use --rotation to set rotation angle in degrees. -->\n\n`;
@@ -49,8 +48,7 @@ export default {
const offsetY = (y == 'top' ? '50%' : '-50%');
return dedent`
{{imageMaskCorner${_.random(1, 37)},--offsetX:${offsetX},--offsetY:${offsetY},--rotation:0
![image description](${domain}/assets/roman_theatre.webp){height:100%}
<!-- Art: The Roman Theater at Taormina, 1828, by Louise-Joséphine sarazin de Belmont -->
![The Roman Theater at Taormina, 1828, by Louise-Joséphine sarazin de Belmont](${domain}/assets/roman_theatre.webp){height:100%}
}}
<!-- Use --offsetX to shift the mask left or right (can use cm instead of %)
Use --offsetY to shift the mask up or down