From 22eb7de7eaf8e8f516feabbd04a0167e52d0c686 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Thu, 29 Jul 2021 17:47:29 -0500 Subject: [PATCH 1/4] Create userPage3D.css --- client/homebrew/pages/userPage/userPage3D.css | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 client/homebrew/pages/userPage/userPage3D.css diff --git a/client/homebrew/pages/userPage/userPage3D.css b/client/homebrew/pages/userPage/userPage3D.css new file mode 100644 index 000000000..f7809d868 --- /dev/null +++ b/client/homebrew/pages/userPage/userPage3D.css @@ -0,0 +1,80 @@ + +.phb { + background:transparent; + width:100%; +} + +.phb > div > h1 { + color:white; + background:linear-gradient(150deg, red, orange); + margin:10px; + border-radius:5px; + border:1px outset black; + filter:drop-shadow(3px 3px 8px black); + padding:10px; + font-family:codebold; + font-size: .705cm; +} + +.phb > div:nth-child(2) > h1 { + background:linear-gradient(150deg, blue, purple); +} + +.phb > div { + display: flex; + flex-wrap: wrap; + justify-content:center; + padding:20px; + gap:15px; + border:6px solid #333333; + border-radius:10px; + margin-bottom:20px; +} + +.phb div:first-child h1 { + flex: 1 0 100%; + margin:0 0 10px 0; +} + +.phb div:nth-child(2) h1 { + flex: 1 0 100%; +} + +.phb .brewItem { + background:linear-gradient(150deg, red, orange); + flex: 1 1 content; + margin:unset; + height: 150px; + border:1px outset black; + filter:drop-shadow(3px 3px 8px black); + color:white; + display:flex; + flex-direction:column; +} + +.phb div:nth-child(2) .brewItem { + background:linear-gradient(150deg, blue, purple); +} + +.phb .brewItem h2 { + font-family:CodeBold; + color:white; + /* width:max(90%,300px); */ + flex:0 0 auto; +} + +.phb .brewItem .description { + /* width:clamp(200px,100%,300px); */ + flex:1 1 auto; +} + +.phb .brewItem .info { + all:unset; + /* width:clamp(200px,100%,300px); */ + flex:0 0 20px; + opacity:30% +} + +.phb .brewItem:hover .info { + opacity:unset; +} From e6ebdd5be35027fd0f7ab33491a051cef48ff4db Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Thu, 29 Jul 2021 17:59:55 -0500 Subject: [PATCH 2/4] Update userPage3D.css --- client/homebrew/pages/userPage/userPage3D.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/homebrew/pages/userPage/userPage3D.css b/client/homebrew/pages/userPage/userPage3D.css index f7809d868..291c9fe70 100644 --- a/client/homebrew/pages/userPage/userPage3D.css +++ b/client/homebrew/pages/userPage/userPage3D.css @@ -26,9 +26,6 @@ justify-content:center; padding:20px; gap:15px; - border:6px solid #333333; - border-radius:10px; - margin-bottom:20px; } .phb div:first-child h1 { @@ -52,6 +49,10 @@ flex-direction:column; } +.phb .brewItem:active { + transform:scale(.99); +} + .phb div:nth-child(2) .brewItem { background:linear-gradient(150deg, blue, purple); } From 4c389a4077fde8949046d6f22bd1d1688c258e2b Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Thu, 29 Jul 2021 19:15:09 -0500 Subject: [PATCH 3/4] Delete userPage3D.css --- client/homebrew/pages/userPage/userPage3D.css | 81 ------------------- 1 file changed, 81 deletions(-) delete mode 100644 client/homebrew/pages/userPage/userPage3D.css diff --git a/client/homebrew/pages/userPage/userPage3D.css b/client/homebrew/pages/userPage/userPage3D.css deleted file mode 100644 index 291c9fe70..000000000 --- a/client/homebrew/pages/userPage/userPage3D.css +++ /dev/null @@ -1,81 +0,0 @@ - -.phb { - background:transparent; - width:100%; -} - -.phb > div > h1 { - color:white; - background:linear-gradient(150deg, red, orange); - margin:10px; - border-radius:5px; - border:1px outset black; - filter:drop-shadow(3px 3px 8px black); - padding:10px; - font-family:codebold; - font-size: .705cm; -} - -.phb > div:nth-child(2) > h1 { - background:linear-gradient(150deg, blue, purple); -} - -.phb > div { - display: flex; - flex-wrap: wrap; - justify-content:center; - padding:20px; - gap:15px; -} - -.phb div:first-child h1 { - flex: 1 0 100%; - margin:0 0 10px 0; -} - -.phb div:nth-child(2) h1 { - flex: 1 0 100%; -} - -.phb .brewItem { - background:linear-gradient(150deg, red, orange); - flex: 1 1 content; - margin:unset; - height: 150px; - border:1px outset black; - filter:drop-shadow(3px 3px 8px black); - color:white; - display:flex; - flex-direction:column; -} - -.phb .brewItem:active { - transform:scale(.99); -} - -.phb div:nth-child(2) .brewItem { - background:linear-gradient(150deg, blue, purple); -} - -.phb .brewItem h2 { - font-family:CodeBold; - color:white; - /* width:max(90%,300px); */ - flex:0 0 auto; -} - -.phb .brewItem .description { - /* width:clamp(200px,100%,300px); */ - flex:1 1 auto; -} - -.phb .brewItem .info { - all:unset; - /* width:clamp(200px,100%,300px); */ - flex:0 0 20px; - opacity:30% -} - -.phb .brewItem:hover .info { - opacity:unset; -} From 4d61670f384fde9e4b52a87022b7c0a02f895308 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Sat, 31 Jul 2021 07:19:42 -0500 Subject: [PATCH 4/4] add 1st Level spell to spell list - legacy --- client/homebrew/editor/snippetbar/snippetsLegacy/magic.gen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippetsLegacy/magic.gen.js b/client/homebrew/editor/snippetbar/snippetsLegacy/magic.gen.js index 14dd5bd20..010ec9e9f 100644 --- a/client/homebrew/editor/snippetbar/snippetsLegacy/magic.gen.js +++ b/client/homebrew/editor/snippetbar/snippetsLegacy/magic.gen.js @@ -51,7 +51,7 @@ const spellNames = [ module.exports = { spellList : function(){ - const levels = ['Cantrips (0 Level)', '2nd Level', '3rd Level', '4th Level', '5th Level', '6th Level', '7th Level', '8th Level', '9th Level']; + const levels = ['Cantrips (0 Level)', '1st Level', '2nd Level', '3rd Level', '4th Level', '5th Level', '6th Level', '7th Level', '8th Level', '9th Level']; const content = _.map(levels, (level)=>{ const spells = _.map(_.sampleSize(spellNames, _.random(5, 15)), (spell)=>{ @@ -88,4 +88,4 @@ module.exports = { '\n\n\n' ].join('\n'); } -}; \ No newline at end of file +};