feat: moved the logo to the right side

fix: fixed coloring in bg on mobile

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-13 15:03:29 +02:00
parent 4b84ce8986
commit c20c5c9343
5 changed files with 40 additions and 11 deletions

View file

@ -40,6 +40,7 @@
<br/> <br/>
<br/> <br/>
<a href="/sys/logout">[Logout]</a> <a href="/sys/logout">[Logout]</a>
</Authorized> </Authorized>
<NotAuthorized> <NotAuthorized>
<span>You are not logged in.</span> <span>You are not logged in.</span>

View file

@ -13,9 +13,13 @@
<article class="content px-4"> <article class="content px-4">
@Body @Body
</article> </article>
<br/>
<br/>
<br/>
</main> </main>
</div> </div>
@code @code
{ {

View file

@ -3,12 +3,12 @@
@inject NavigationManager navManager @inject NavigationManager navManager
<div class="top-row ps-3 navbar navbar-dark"> <div class="top-row ps-3 navbar navbar-dark">
<div class="container-fluid">
<img src="img/static/logo_trans.png" width="32" height="32" alt="Logo"/>
<a class="navbar-brand" href="/">BulletBoard</a>
<button title="Navigation menu" class="navbar-toggler" @onclick="ToggleNavMenu"> <button title="Navigation menu" class="navbar-toggler" @onclick="ToggleNavMenu">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="container-fluid" id="maintitle" href="/">
<img src="img/static/logo_trans.png" width="32" height="32" alt="Logo"/>
<a class="navbar-brand" id="logo" href="/">BulletBoard</a>
</div> </div>
</div> </div>

View file

@ -9,9 +9,23 @@
.navbar-brand { .navbar-brand {
font-size: 1.1rem; font-size: 1.1rem;
horiz-align: center; horiz-align: left;
} }
#maintitle {
!important;
display: flex;
justify-content: right;
padding: 5px;
flex: 50%;
}
#logo {
!important;
padding: 6px 6px 6px;
}
.oi { .oi {
width: 2rem; width: 2rem;
font-size: 1.1rem; font-size: 1.1rem;
@ -78,4 +92,12 @@
.account { .account {
position: fixed; position: fixed;
} }
#maintitle {
!important;
display: flex;
justify-content: left;
padding: 5px;
flex: 50%;
}
} }

View file

@ -1,7 +1,9 @@
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); @import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
html, body { html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #181223;
} }
h1:focus { h1:focus {