Housekeeping

This commit is contained in:
Danielv123 committed 2017-05-26 21:17:24 +02:00
1 parent 844bfebcd7
commit 21d87a8cd1
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
function copyChildren(d){ var copyChildren = function(d){
var copied = clone(d); var copied = clone(d);
copy = []; copy = [];
if(copied.children){ if(copied.children){
+5 -1
View File
@@ -3,7 +3,8 @@
color: #FFF; color: #FFF;
} }
body { body {
background-color: #242B30; /* same as http://www.lua-api.factorio.com/latest */
background-color: rgb(38, 38, 38);
} }
button { button {
border-radius: 0; border-radius: 0;
@@ -23,6 +24,7 @@ button {
background-color:black; background-color:black;
width:300px; width:300px;
} }
/* Navbar on the right */
#sidenav { #sidenav {
position:fixed; position:fixed;
left:0px; left:0px;
@@ -44,12 +46,14 @@ a {
a:hover { a:hover {
color: #FFF; color: #FFF;
} }
/* ensure body does not overlap navbar on the right */
#body { #body {
margin-left:200px; margin-left:200px;
} }
#body > #production { #body > #production {
display:block; display:block;
} }
/* Inventory display table */
#contents { #contents {
width:300px; width:300px;
} }