New background

This commit is contained in:
Tracker-Friendly 2024-03-14 16:56:03 +00:00
parent c8c79f402e
commit cfaca88498
4 changed files with 11 additions and 23 deletions

View File

@ -9,17 +9,6 @@
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
<script src="../static/js/hash-wasm.js"></script>
<link rel="icon" href="../static/svg/favicon.svg">
<style>
body {
background-color: #d9d9d9;
background-image: url("/static/svg/grid.svg");
background-repeat: repeat;
background-size: 312px;
}
.inoutdiv {
border-radius: 8px;
}
</style>
<script>
if (window.location.href.endsWith('/index.html')) {
if (window.location.origin !== null) {
@ -32,6 +21,7 @@
</head>
<body>
<img src="/static/img/background.jpg" class="background">
<div class="inoutdiv">
<h2 class="w300">Login</h2>
<p id="statusBox"></p>

View File

@ -9,17 +9,6 @@
<link rel="stylesheet" type="text/css" href="../static/css/style.css" />
<script src="../static/js/hash-wasm.js"></script>
<link rel="icon" href="../static/svg/favicon.svg">
<style>
body {
background-color: #d9d9d9;
background-image: url("/static/svg/grid.svg");
background-repeat: repeat;
background-size: 312px;
}
.inoutdiv {
border-radius: 8px;
}
</style>
<script>
if (window.location.href.endsWith('/index.html')) {
if (window.location.origin !== null) {
@ -32,6 +21,7 @@
</head>
<body>
<img src="/static/img/background.jpg" class="background">
<div class="inoutdiv">
<h2 class="w300">Signup</h2>
<p>Signup for a Burgernotes account</p>

View File

@ -516,9 +516,9 @@ body {
/* Sign up/log in div */
.inoutdiv {
border-radius: 8px;
margin: 10%;
padding: 30px;
border-radius: 25px;
border: solid 1px var(--border-color);
background-color: var(--bar);
}
@ -557,6 +557,14 @@ body {
text-align: center;
}
.background {
position: fixed;
z-index: -1;
top: 0;
width: 100%;
min-height: 100%;
}
.hidden {
display: none !important;
}

BIN
static/img/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB