Skip to content

Commit

Permalink
Improve signin/signup page design
Browse files Browse the repository at this point in the history
  • Loading branch information
lbirkert committed Aug 31, 2023
1 parent 9a55629 commit 31c1ead
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 16 deletions.
14 changes: 5 additions & 9 deletions qb-frontend/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ p {
}

button {
font-size: 18px;
display: inline-block;
padding: 0.4em 0.8em;
border-radius: 0.6em;
text-decoration: none;
padding: 10px 15px;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
background-color: transparent;
background-color: #55f;
Expand All @@ -45,11 +44,6 @@ button:hover, button:active {
background-color: #66f;
}

input:focus {
outline: 0.2em solid rgba(0, 0, 255, 0.2);
animation: 3s outline linear infinite;
}

button:focus {
outline: 0.2em solid rgba(0, 0, 255, 0.2);
animation: 3s outline linear infinite;
Expand Down Expand Up @@ -124,6 +118,8 @@ input {
}

input:focus {
outline: 0.2em solid rgba(0, 0, 255, 0.2);
animation: 3s outline linear infinite;
border-color: rgba(100, 100, 255, 0.8);
}

Expand Down
11 changes: 10 additions & 1 deletion qb-frontend/src/routes/signin/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,18 @@
background-size: 180px;
}
br {
margin: 10px 0;
}
button {
margin-top: 10px;
}
form {
display: flex;
flex-direction: column;
row-gap: 20px;
row-gap: 10px;
width: 100%;
max-width: 450px;
padding: 40px 60px;
Expand All @@ -83,6 +91,7 @@
main {
background-image: none;
align-items: start;
padding: 60px 0;
}
}
</style>
11 changes: 10 additions & 1 deletion qb-frontend/src/routes/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,18 @@
background-size: 180px;
}
br {
margin: 10px 0;
}
button {
margin-top: 10px;
}
form {
display: flex;
flex-direction: column;
row-gap: 20px;
row-gap: 10px;
width: 100%;
max-width: 450px;
padding: 40px 60px;
Expand All @@ -94,6 +102,7 @@
main {
background-image: none;
align-items: start;
padding: 60px 0;
}
}
</style>
6 changes: 1 addition & 5 deletions qb-proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@ http {

root /usr/share/nginx/html/;
index index.html;
error_page 404 = @404;
error_page 404 = /404.html;
gzip_static on;

location @404 {
alias /usr/share/nginx/html/404.html;
}

include backend.conf;
}
}

0 comments on commit 31c1ead

Please sign in to comment.