mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-23 11:41:29 +00:00
Fixed the class table, got rid of the need for the non-breaking spaces
This commit is contained in:
@@ -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;
|
||||
position : absolute;
|
||||
display : none;
|
||||
top : 100%;
|
||||
left: 0px;
|
||||
width : 300px;
|
||||
max-height : 500px;
|
||||
background-color: white;
|
||||
left : 0px;
|
||||
z-index : 1000;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
max-height : 500px;
|
||||
width : 300px;
|
||||
padding : 30px;
|
||||
background-color : white;
|
||||
font-family : monospace;
|
||||
text-align : left;
|
||||
pointer-events : none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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 = [
|
||||
|
||||
@@ -161,6 +161,9 @@
|
||||
font-weight : 800;
|
||||
th{
|
||||
padding-bottom : 0.3em;
|
||||
padding-right: 0.1em;
|
||||
padding-left: 0.1em;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
tbody{
|
||||
|
||||
Reference in New Issue
Block a user