Optimizations for dynamic background, pinned background to image 0 for development of the UI, tweaked menu button css.
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
<title>Westeroscraft Launcher</title>
|
||||
<script src="./assets/js/script.js"></script>
|
||||
<link type="text/css" rel="stylesheet" href="./assets/css/launcher.css">
|
||||
<% let bkid = Math.floor((Math.random() * 5)); %>
|
||||
<style>
|
||||
body {
|
||||
background: url('assets/images/backgrounds/<%=bkid%>.jpg') no-repeat center center fixed;
|
||||
background: url('assets/images/backgrounds/<%=0%>.jpg') no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
</style>
|
||||
@@ -48,7 +47,6 @@
|
||||
<div class="bot_wrapper">
|
||||
<div id="content">
|
||||
<button id="menu_button">
|
||||
<!--<% include assets/images/icons/arrow.svg %>-->
|
||||
<img src="assets/images/icons/arrow.svg" id="menu_img"/>
|
||||
<span id="menu_text">MENU</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user