mirror of
https://github.com/edufeed-org/polloer.git
synced 2025-12-07 23:34:31 +00:00
fancy layout
This commit is contained in:
parent
12802d3532
commit
333da0ceb6
2 changed files with 11 additions and 1 deletions
|
|
@ -61,8 +61,9 @@
|
|||
</script>
|
||||
|
||||
<div class="main-layout">
|
||||
<img src="logo.png" alt="" class="logo">
|
||||
{#if !$user}
|
||||
<button class="btn btn-success" onclick={() => login()}>Login</button>
|
||||
<div class="login"><button class="btn btn-primary" onclick={() => login()}>Login</button></div>
|
||||
{/if}
|
||||
|
||||
{#if !$questionId}
|
||||
|
|
@ -136,6 +137,15 @@
|
|||
width: 100%;
|
||||
border: 3px solid #eee;
|
||||
}
|
||||
.login {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.logo {
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
max-width: 250px;
|
||||
}
|
||||
.main-layout {
|
||||
margin: auto;
|
||||
width: 100vw;
|
||||
|
|
|
|||
BIN
static/logo.png
Normal file
BIN
static/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Loading…
Add table
Add a link
Reference in a new issue