added 5 new mods, power up display, game balance

This commit is contained in:
landgreen
2019-12-01 18:22:50 -08:00
parent 927933a754
commit 65977ce5aa
10 changed files with 524 additions and 397 deletions

113
style.css
View File

@@ -1,7 +1,7 @@
body {
font-family: "Helvetica", "Arial", sans-serif;
margin: 0;
overflow: hidden;
/* overflow: hidden; */
background-color: #fff;
user-select: none;
/*cursor: crosshair;*/
@@ -35,10 +35,78 @@ table {
/* background-color: #ddd; */
}
th {
text-align: left;
}
summary {
font-size: 1.2em;
}
#build-button {
position: absolute;
bottom: 0px;
right: 1px;
z-index: 12;
font-size: 1.3em;
}
#build-grid {
padding: 10px;
margin: 0px;
border: 0px;
/* border-radius: 8px; */
background-color: #b6bfca;
display: none;
/* display: grid; */
grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
grid-auto-rows: minmax(auto, auto);
grid-gap: 15px;
position: relative;
bottom: 0px;
/* left: 0px; */
z-index: 12;
font-size: 1.3em;
}
.build-grid-module {
/* box-shadow: 0px 1px 4px #234; */
padding: 7px;
/* margin: 4px; */
line-height: 150%;
border-radius: 6px;
background: #eee;
font-size: 0.65em;
/* display: flex; */
}
.build-grid-module:hover {
background-color: #fff;
}
.gun-module {
background: #d5dde5;
}
.field-module {
background: #bde;
}
.mod-module {
background: #fdf;
}
/* #build {
position: absolute;
bottom: 0px;
right: 1px;
z-index: 12;
font-size: 1.3em;
} */
#controls {
position: absolute;
bottom: 0px;
@@ -49,14 +117,6 @@ summary {
/* border-radius: 5px; */
}
#settings {
position: absolute;
bottom: 0px;
right: 1px;
z-index: 12;
font-size: 1.3em;
}
#details-div {
padding: 10px;
border-radius: 8px;
@@ -214,36 +274,28 @@ em {
.color-f {
color: #0cf;
}
.color-b {
color: #024;
letter-spacing: 1px;
}
.color-d {
color: #f05;
}
.color-l {
color: #f0f;
color: #f03;
letter-spacing: 1px;
}
.color-h {
color: #0d9;
color: #0c8;
letter-spacing: 1px;
}
.color-e {
color: #a10;
}
.color-m {
color: #536;
color: #e50;
letter-spacing: 1px;
}
.color-s {
color: #066;
font-weight: 900;
letter-spacing: 2px;
letter-spacing: 1px;
}
.faded {
@@ -256,6 +308,15 @@ em {
height: 20px;
border-radius: 50%;
display: inline-block;
margin-bottom: -2px;
}
.circle-grid {
width: 20px;
height: 20px;
border-radius: 50%;
display: inline-block;
margin-bottom: -4px;
}
.field {
@@ -268,12 +329,10 @@ em {
.gun {
background: #149;
margin-bottom: -2px;
}
.heal {
background: #0d9;
margin-bottom: -2px;
}
.box {