Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<head profile="http://www.w3.org/2005/10/profile">
<title>Factorio Planner</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="style.css"/>
<script type="text/javascript" src="factorio.js"></script>
</head>
Expand Down
34 changes: 31 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

::-moz-selection {
background: #dddddd;
}
::selection {
background: #dddddd;
}

a {
color: #80aaff;
text-decoration: none;
}
a:hover, a:active, a:focus {
color: #80aaff;
text-decoration: underline;
}

p {
line-height: 1.5;
}
Expand All @@ -22,6 +38,10 @@ button.setvisible, a.button {
cursor: pointer;
}

button.setvisible:hover, a.button:hover {
background-color: #333;
}

a.button {
width: 100px;
text-decoration: none;
Expand All @@ -30,6 +50,8 @@ a.button {

.count {
width: 3em;
border: 0;
padding: 0.5em;
}

.resourceinput {
Expand Down Expand Up @@ -68,7 +90,7 @@ a.button {
}

.setting {
margin: 0.5em 0
margin: 0.5em 0;
}

.setting input[type=checkbox] {
Expand Down Expand Up @@ -122,6 +144,7 @@ a.button {
.outputh1 {
margin-bottom: 1em;
font-size: large;
color: #666;
}

.goals > .goal {
Expand All @@ -145,6 +168,11 @@ a.button {
.icon {
vertical-align: middle;
width: 32px;
margin-left: 0.5em;
}

.icon:hover {
opacity: 0.8;
}

.warning {
Expand All @@ -157,6 +185,6 @@ a.button {

.resource_category {
font-weight: bold;
margin-top: 0.2em;
margin-bottom: 0;
margin-top: 0.5em;
margin-bottom: 0.2em;
}