diff --git a/client/admin/homebrewAdmin/homebrewAdmin.less b/client/admin/homebrewAdmin/homebrewAdmin.less index 4b58e0a..a1a28bd 100644 --- a/client/admin/homebrewAdmin/homebrewAdmin.less +++ b/client/admin/homebrewAdmin/homebrewAdmin.less @@ -1,53 +1,44 @@ + .homebrewAdmin{ - table{ - max-height: 800px; - overflow-y: scroll; + overflow-y : scroll; + max-height : 800px; th{ - font-weight: 800; - padding: 10px; + padding : 10px; + font-weight : 800; } - tr:nth-child(even){ - background-color: fade(@green, 10%); + background-color : fade(@green, 10%); } tr.isEmpty{ - background-color: fade(@red, 30%); + background-color : fade(@red, 30%); } td{ - min-width: 100px; - text-align: center; - padding: 10px; - + min-width : 100px; + padding : 10px; + text-align : center; &.preview{ - position: relative; - + position : relative; &:hover{ .content{ - display: block; + display : block; } } - - .content{ - font-family: monospace; - text-align: left; - padding : 30px; - display: none; - position: absolute; - top : 100%; - left: 0px; - width : 300px; - max-height : 500px; - background-color: white; - z-index : 1000; - pointer-events: none; + position : absolute; + display : none; + top : 100%; + left : 0px; + z-index : 1000; + max-height : 500px; + width : 300px; + padding : 30px; + background-color : white; + font-family : monospace; + text-align : left; + pointer-events : none; } - - - } } } - } \ No newline at end of file diff --git a/client/homebrew/editor/snippets/classtable.gen.js b/client/homebrew/editor/snippets/classtable.gen.js index b54c08f..b07097f 100644 --- a/client/homebrew/editor/snippets/classtable.gen.js +++ b/client/homebrew/editor/snippets/classtable.gen.js @@ -56,7 +56,7 @@ module.exports = function(classname){ var slots = 2; return "##### The " + classname + "\n" + "___\n" + - "| Level | Proficiency Bonus | Features | Cantrips Known | Spells Known |   1st   |   2nd   |   3 rd   |   4th   |   5th   |   6th   |   7th   |   8th   |   9th   |\n"+ + "| Level | Proficiency Bonus | Features | Cantrips Known | Spells Known | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th |\n"+ "|:---:|:---:|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n" + _.map(["1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", "20th"],function(levelName, level){ var res = [ diff --git a/client/homebrew/phb/phb.less b/client/homebrew/phb/phb.less index 7fce057..3f7f781 100644 --- a/client/homebrew/phb/phb.less +++ b/client/homebrew/phb/phb.less @@ -161,6 +161,9 @@ font-weight : 800; th{ padding-bottom : 0.3em; + padding-right: 0.1em; + padding-left: 0.1em; + vertical-align: bottom; } } tbody{