design: move logo below header strip, scrolls with page

This commit is contained in:
2026-05-04 13:32:43 +00:00
parent 0b37d5245c
commit 16c06ac166
2 changed files with 15 additions and 3 deletions
+11
View File
@@ -41,6 +41,17 @@ body {
height: 32px; height: 32px;
width: auto; width: auto;
} }
.page-logo-wrap {
display: flex;
justify-content: center;
padding: 1.5rem 0 0.5rem;
position: relative;
z-index: 5;
}
.page-logo {
height: clamp(3rem, 8vw, 5rem);
width: auto;
}
.panel { .panel {
background: var(--card); background: var(--card);
padding: 1.25rem; padding: 1.25rem;
+4 -3
View File
@@ -32,9 +32,7 @@
</div> </div>
<header class="header"> <header class="header">
<div class="header-left"> <div class="header-left"></div>
<img src="/static/logo.png" alt="MONT" class="header-logo" />
</div>
<div class="header-right"> <div class="header-right">
<span class="header-username">{{ user.username }}</span> <span class="header-username">{{ user.username }}</span>
{% if user.is_admin %} {% if user.is_admin %}
@@ -45,6 +43,9 @@
</form> </form>
</div> </div>
</header> </header>
<div class="page-logo-wrap">
<img src="/static/logo.png" alt="MONT" class="page-logo" />
</div>
<main class="admin-layout"> <main class="admin-layout">
<section class="panel"> <section class="panel">
<div class="admin-intro">Добро пожаловать в инфраструктурную песочницу</div> <div class="admin-intro">Добро пожаловать в инфраструктурную песочницу</div>