Skip to content

Commit

Permalink
added background image
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Dodge committed Dec 15, 2017
1 parent 2aa7a43 commit 373625f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Binary file added bdo-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>

<div class="wrap">
<div class="wrap panel">
<h1>Black Desert Online Recipe Calculator</h1>
<h2>Select the recipe, the ingredient that you have the most of, and the amount.</h2>
<h4>The calculator will tell you how many of the other ingredients you need and how many times you can complete the recipe.</h4>
Expand Down Expand Up @@ -46,8 +46,9 @@ <h4>The calculator will tell you how many of the other ingredients you need and
</tbody>
</table>
<h1 id="completed"></h1>
</div>
</div>
</div>
<div style="color: white;"><p>Background Image Credit: <a href="https://www.reddit.com/user/PUSClFER">/u/PUSC1FER</a></p></div>

<!-- JavaScript Files -->
<script src="app.js"></script>
Expand Down
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
body {
font-family: 'Spectral SC', serif;
background-color: #000;
background-image: url("bdo-background.png");
}
.wrap {
min-width: 85%;
Expand All @@ -12,4 +14,10 @@ body {
border: 1px solid #000;
min-width: 200px;
text-align: center;
}

.panel {
padding: 2rem;
background-color: rgba(255, 255, 255, .90);
border-radius: 4px;
}

0 comments on commit 373625f

Please sign in to comment.