Center vertically logo

This commit is contained in:
Hans5958 2022-04-28 21:32:58 +07:00
parent 473ac2c341
commit a7793a24ec
3 changed files with 9 additions and 3 deletions

View file

@ -63,7 +63,7 @@ @supports (backdrop-filter: blur()) or (-webkit-backdrop-filter: blur()) {
}
#offcanvasList, #offcanvasDraw {
top: 3.75rem;
top: 3.70rem;
}
body[data-mode]:not([data-mode="draw"]) #drawNavButtons, [data-mode="draw"] #defaultNavButtons {
@ -419,4 +419,10 @@ @media (prefers-reduced-motion: reduce) {
#bottomBar {
transition: none !important;
}
}
.navbar-brand img {
height: 2rem;
width: 2rem;
vertical-align: -0.5rem;
}

View file

@ -41,7 +41,7 @@
<a class="navbar-brand text-body" href="./">
<picture>
<source srcset="./_img/favicon-dark.svg" media="(prefers-color-scheme: dark)">
<img class="d-inline-block align-text-top me-2" src="./_img/favicon.svg" height="32" width="32" alt="">
<img class="d-inline-block me-2" src="./_img/favicon.svg" alt="">
</picture>
The 2022 r/place Atlas
</a>

View file

@ -117,7 +117,7 @@
<a class="navbar-brand text-body" href="./">
<picture>
<source srcset="./_img/favicon-dark.svg" media="(prefers-color-scheme: dark)">
<img class="d-inline-block align-text-top me-2" src="./_img/favicon.svg" height="32" width="32" alt="">
<img class="d-inline-block me-2" src="./_img/favicon.svg" alt="">
</picture>
The 2022 r/place Atlas
<span class="badge bg-warning text-dark d-none d-md-inline-block">Beta</span>