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;
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 {
background: var(--card);
padding: 1.25rem;
+4 -3
View File
@@ -32,9 +32,7 @@
</div>
<header class="header">
<div class="header-left">
<img src="/static/logo.png" alt="MONT" class="header-logo" />
</div>
<div class="header-left"></div>
<div class="header-right">
<span class="header-username">{{ user.username }}</span>
{% if user.is_admin %}
@@ -45,6 +43,9 @@
</form>
</div>
</header>
<div class="page-logo-wrap">
<img src="/static/logo.png" alt="MONT" class="page-logo" />
</div>
<main class="admin-layout">
<section class="panel">
<div class="admin-intro">Добро пожаловать в инфраструктурную песочницу</div>