mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-22 16:01:28 +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{
|
.homebrewAdmin{
|
||||||
|
|
||||||
table{
|
table{
|
||||||
max-height: 800px;
|
overflow-y : scroll;
|
||||||
overflow-y: scroll;
|
max-height : 800px;
|
||||||
th{
|
th{
|
||||||
font-weight: 800;
|
padding : 10px;
|
||||||
padding: 10px;
|
font-weight : 800;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr:nth-child(even){
|
tr:nth-child(even){
|
||||||
background-color: fade(@green, 10%);
|
background-color : fade(@green, 10%);
|
||||||
}
|
}
|
||||||
tr.isEmpty{
|
tr.isEmpty{
|
||||||
background-color: fade(@red, 30%);
|
background-color : fade(@red, 30%);
|
||||||
}
|
}
|
||||||
td{
|
td{
|
||||||
min-width: 100px;
|
min-width : 100px;
|
||||||
text-align: center;
|
padding : 10px;
|
||||||
padding: 10px;
|
text-align : center;
|
||||||
|
|
||||||
&.preview{
|
&.preview{
|
||||||
position: relative;
|
position : relative;
|
||||||
|
|
||||||
&:hover{
|
&:hover{
|
||||||
.content{
|
.content{
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.content{
|
.content{
|
||||||
font-family: monospace;
|
position : absolute;
|
||||||
text-align: left;
|
display : none;
|
||||||
padding : 30px;
|
top : 100%;
|
||||||
display: none;
|
left : 0px;
|
||||||
position: absolute;
|
z-index : 1000;
|
||||||
top : 100%;
|
max-height : 500px;
|
||||||
left: 0px;
|
width : 300px;
|
||||||
width : 300px;
|
padding : 30px;
|
||||||
max-height : 500px;
|
background-color : white;
|
||||||
background-color: white;
|
font-family : monospace;
|
||||||
z-index : 1000;
|
text-align : left;
|
||||||
pointer-events: none;
|
pointer-events : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -56,7 +56,7 @@ module.exports = function(classname){
|
|||||||
var slots = 2;
|
var slots = 2;
|
||||||
return "##### The " + classname + "\n" +
|
return "##### The " + classname + "\n" +
|
||||||
"___\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" +
|
"|:---:|:---:|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\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){
|
_.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 = [
|
var res = [
|
||||||
|
|||||||
@@ -161,6 +161,9 @@
|
|||||||
font-weight : 800;
|
font-weight : 800;
|
||||||
th{
|
th{
|
||||||
padding-bottom : 0.3em;
|
padding-bottom : 0.3em;
|
||||||
|
padding-right: 0.1em;
|
||||||
|
padding-left: 0.1em;
|
||||||
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tbody{
|
tbody{
|
||||||
|
|||||||
Reference in New Issue
Block a user