From 0ec64e6dedf7165feb7c35902c3908207f4771eb Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Sun, 19 Nov 2017 14:16:07 -0500 Subject: [PATCH] Added dynamic background, fixing menu button css --- app/assets/css/launcher.css | 35 +++++++++++++---------------------- app/index.ejs | 13 ++++++++++--- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index 045a67c..ea41846 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -9,10 +9,10 @@ body, html, div { padding: 0px; } -body { +/*body { background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed; background-size: cover; -} +}*/ #frame_bar { -webkit-app-region: drag; @@ -116,14 +116,14 @@ body { #main > #lower > #center { height: 100%; - width: 33%; + width: 34%; display: inline-flex; justify-content: center; } #main > #lower > #center #content { position: relative; - top: 25px; + top: 10px; } #main > #lower > #right { @@ -273,28 +273,19 @@ body { font-family: 'Avenir Book'; background: none; border: none; +} + +#menu_img { + height:15px; + margin-left:-2px; +} + +#menu_text { color: white; font-weight: 900; letter-spacing: 2px; text-shadow: 0px 0px 0px #bebcbb; font-size: 11px; line-height: 24px; -} - -#menu_img { - width: 20px; - height: auto; -} - -@keyframes test { - 0% { - color: #FFF; - } - 100% { - color: #000; - } -} - -.cls-1 { - animation: test 30s ease infinite; + display: flex; } \ No newline at end of file diff --git a/app/index.ejs b/app/index.ejs index 41640f6..5f1aaf5 100644 --- a/app/index.ejs +++ b/app/index.ejs @@ -4,6 +4,13 @@ Westeroscraft Launcher + <% let bkid = Math.floor((Math.random() * 5)); %> + <% include frame.ejs %> @@ -41,9 +48,9 @@