style change to ID updates
This commit is contained in:
parent
217ffb3f2a
commit
b12592ce1b
3 changed files with 13 additions and 4 deletions
5
craft.js
5
craft.js
|
@ -141,6 +141,11 @@ class Craft{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//apply material tiers - the good thing is that this should be symmetric.
|
||||||
|
for (const mat of this.mat_tiers) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
//apply ingredient effectivness - on ids, and reqs (itemIDs). NOT on durability, duration, or charges.
|
//apply ingredient effectivness - on ids, and reqs (itemIDs). NOT on durability, duration, or charges.
|
||||||
let eff_flat = eff.flat();
|
let eff_flat = eff.flat();
|
||||||
//console.log(eff_flat);
|
//console.log(eff_flat);
|
||||||
|
|
|
@ -108,7 +108,7 @@ function calculateCraft() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mat_tiers.length < i) { //defualt to t3
|
if (mat_tiers.length < i) { //default to t3
|
||||||
mat_tiers.push(3);
|
mat_tiers.push(3);
|
||||||
document.getElementById("mat-"+i+"-3").classList.add("toggleOn");
|
document.getElementById("mat-"+i+"-3").classList.add("toggleOn");
|
||||||
}
|
}
|
||||||
|
|
10
styles.css
10
styles.css
|
@ -31,7 +31,7 @@ div {
|
||||||
grid-template-rows: min-content min-content auto;
|
grid-template-rows: min-content min-content auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.skillpoints, .id-edit1 {
|
.skillpoints{
|
||||||
padding: 0% 4% 2%;
|
padding: 0% 4% 2%;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(5, 1fr);
|
grid-template-columns: repeat(5, 1fr);
|
||||||
|
@ -39,6 +39,7 @@ div {
|
||||||
grid-auto-rows: minmax(60px, auto);
|
grid-auto-rows: minmax(60px, auto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.id-edit2 {
|
.id-edit2 {
|
||||||
padding: 0% 4% 2%;
|
padding: 0% 4% 2%;
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -89,8 +90,11 @@ table.center{
|
||||||
.right {
|
.right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.idLeft {
|
||||||
.left {
|
text-align: left;
|
||||||
|
margin-left: 2px;
|
||||||
|
}
|
||||||
|
.left{
|
||||||
margin: 2px 2%;
|
margin: 2px 2%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue