app.ejs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <meta charset="utf-8" http-equiv="Content-Security-Policy" content="script-src 'self'"/>
  4. <title>Westeroscraft Launcher</title>
  5. <script src="./assets/js/scripts/uicore.js"></script>
  6. <script src="./assets/js/scripts/uibinder.js"></script>
  7. <link type="text/css" rel="stylesheet" href="./assets/css/launcher.css">
  8. <style>
  9. body {
  10. background: url('assets/images/backgrounds/<%=bkid%>.jpg') no-repeat center center fixed;
  11. background-size: cover;
  12. }
  13. #main {
  14. height: calc(100% - 22px);
  15. background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  16. width: 100%;
  17. position: absolute;
  18. z-index: 10;
  19. }
  20. #main[overlay] {
  21. filter: blur(3px) contrast(0.9) brightness(1.0);
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <% include frame.ejs %>
  27. <div id="main">
  28. <% include welcome.ejs %>
  29. <% include login.ejs %>
  30. <% include landing.ejs %>
  31. </div>
  32. <% include overlay.ejs %>
  33. </body>
  34. </html>