From d1280657f8a137240201193ab9e85a7fa38d3767 Mon Sep 17 00:00:00 2001 From: Batorian <53831711+Batorian@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:22:20 +0100 Subject: [PATCH] genesis: updated css (#1360) --- public/static/src/en/genesis/customCSS.css | 36 ---------------------- src/plugins/english/genesis.ts | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/public/static/src/en/genesis/customCSS.css b/public/static/src/en/genesis/customCSS.css index 42ebf48..c03768e 100644 --- a/public/static/src/en/genesis/customCSS.css +++ b/public/static/src/en/genesis/customCSS.css @@ -40,8 +40,6 @@ display:flex; flex-direction:column; justify-content:center; - min-width:250px; - max-width:500px!important; box-sizing:content-box; width:auto; margin:15px auto; @@ -49,20 +47,17 @@ border-radius:5px; background-color:#000; padding:20px; - font-size:25px; color:#fff; font-family: Oswald Variable, serif } .blue-box div { text-indent:0; - max-width:500px!important } .blue-box p { text-align:center; text-indent:0; margin-bottom:.75rem; margin-top:.75rem; - max-width:500px!important } .blue-title { display:flex; @@ -78,7 +73,6 @@ border-bottom:3px solid #fff; padding-bottom:15px; margin-bottom:15px; - max-width:500px!important } .blue-text { display:flex; @@ -87,7 +81,6 @@ justify-content:center; text-shadow:-1px 5px 13px #004fff,-1px 0 10px #002775; font-weight:400; - max-width:500px!important; font-family: Quattrocento, serif } .blue-text p { @@ -95,14 +88,11 @@ text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .red-box { display:flex; flex-direction:column; justify-content:center; - min-width:250px; - max-width:500px!important; padding:20px; box-sizing:content-box; width:auto; @@ -111,20 +101,17 @@ box-shadow:0 0 20px 3px #750b0070; border-radius:5px; background-color:#000; - font-size:25px; color:#fff; font-family: Oswald Variable, serif } .red-box div { text-indent:0; - max-width:500px!important } .red-box p { text-align:center; text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .red-title { display:flex; @@ -140,7 +127,6 @@ border-bottom:3px solid #fff; padding-bottom:15px; margin-bottom:15px; - max-width:500px!important } .red-text { display:flex; @@ -149,7 +135,6 @@ justify-content:center; text-shadow:-1px 5px 13px #ff230c,-1px 0px 10px #750b00; font-weight:400; - max-width:500px!important; margin-left:auto; margin-right:auto; font-family: Quattrocento, serif @@ -159,13 +144,11 @@ text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .gold-box { display:flex; flex-direction:column; justify-content:center; - min-width:250px; padding:20px; box-sizing:content-box; width:auto; @@ -174,21 +157,17 @@ box-shadow:0 0 10px 1px #e0cc00; border-radius:5px; background-color:#000; - font-size:25px; color:#fff; font-family: Oswald Variable, serif; - max-width:500px!important } .gold-box div { text-indent:0; - max-width:500px!important } .gold-box p { text-align:center; text-indent:0; margin-bottom:.75rem; margin-top:.75rem; - max-width:500px!important } .gold-title { display:flex; @@ -204,7 +183,6 @@ border-bottom:3px solid #fff; padding-bottom:15px; margin-bottom:15px; - max-width:500px!important } .gold-text { display:flex; @@ -215,7 +193,6 @@ text-shadow:-1px 5px 13px #e0cc00,-1px 0 10px #e0cc00; row-gap:1.5rem; font-weight:400; - max-width:500px!important; font-family: Quattrocento, serif } .gold-text p { @@ -223,7 +200,6 @@ text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .gold-letter { display:flex; @@ -234,7 +210,6 @@ row-gap:1.5rem; font-weight:700; font-family: Amita, serif; - max-width:500px!important; margin-left:auto; margin-right:auto } @@ -243,13 +218,11 @@ text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .silver-box { display:flex; flex-direction:column; justify-content:center; - min-width:250px; padding:20px; box-sizing:content-box; width:auto; @@ -258,21 +231,17 @@ box-shadow:0 0 10px 1px #737373; border-radius:5px; background-color:#000; - font-size:25px; color:#fff; font-family: Oswald Variable, serif; - max-width:500px!important } .silver-box div { text-indent:0; - max-width:500px!important } .silver-box p { text-align:center; text-indent:0; margin-bottom:.75rem; margin-top:.75rem; - max-width:500px!important } .silver-title { display:flex; @@ -288,7 +257,6 @@ border-bottom:3px solid #fff; padding-bottom:15px; margin-bottom:15px; - max-width:500px!important } .silver-text { display:flex; @@ -298,7 +266,6 @@ text-shadow:-1px 5px 13px #b4b4b4,-1px 0 10px #737373; row-gap:1.5rem; font-weight:400; - max-width:500px!important; margin: 2rem auto; font-family: Quattrocento, serif } @@ -307,7 +274,6 @@ text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .silver-letter { display:flex; @@ -318,7 +284,6 @@ text-shadow:-1px 5px 13px #b4b4b4,-1px 0 10px #737373; row-gap:1.5rem; font-weight:700; - max-width:500px!important; margin: 2rem auto; font-family: MedievalSharp, serif } @@ -327,7 +292,6 @@ text-indent:0; margin-bottom:.25rem; margin-top:.25rem; - max-width:500px!important } .blue-text, .gold-text, diff --git a/src/plugins/english/genesis.ts b/src/plugins/english/genesis.ts index 8422b4d..64c3920 100644 --- a/src/plugins/english/genesis.ts +++ b/src/plugins/english/genesis.ts @@ -18,7 +18,7 @@ class Genesis implements Plugin.PluginBase { icon = 'src/en/genesis/icon.png'; customCSS = 'src/en/genesis/customCSS.css'; site = 'https://genesistudio.com'; - version = '1.0.5'; + version = '1.0.6'; imageRequestInit?: Plugin.ImageRequestInit | undefined = { headers: {