From ffee939ae69ef129fdd7b27bd66b1e20f05adc99 Mon Sep 17 00:00:00 2001 From: "James@STCH" Date: Wed, 1 Jun 2022 13:08:15 +0200 Subject: [PATCH] Added customization --- James' Things/foundry patches/loginpage.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/James' Things/foundry patches/loginpage.sh b/James' Things/foundry patches/loginpage.sh index 4a16ae6..2aacff1 100644 --- a/James' Things/foundry patches/loginpage.sh +++ b/James' Things/foundry patches/loginpage.sh @@ -7,5 +7,15 @@ wget https://raw.githubusercontent.com/TheEpicSnowWolf/Foundry-VTT-Prettier-Logi # Replace the BASE64 Data with the DND Logo sed -i -e 's+url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=)+url("https://static.dnd.theepicsnowwolf.com/naoulan/foundry/dnd_logo.svg")+g' ./foundry_login.css +# Replace Red with James' Blue +sed -i -e 's+rgb(150, 12, 16)+rgb(0, 150, 136)+g' ./foundry_login.css +sed -i -e 's+rgb(228, 9, 19)+rgb(0, 188, 170)+g' ./foundry_login.css + +# Make the Width responsive +sed -i -e 's+width: 400px !important;+width: 90% !important;+g' ./foundry_login.css + # Append to the Foundry Style.css cat ./foundry_login.css >> /home/foundry/resources/app/public/css/style.css + +# Note: this is how dockerized Foundry likes to handle the sed... or linux... whatever it's a note, don't read into it +#sed -i -e 's+A+B+g' ./foundry_login.css