feat: replace static logo with dynamic header text block in app layout

- Split header padding into individual properties (top, left, right) in base.css
- Reduce logo font size from 1.5em to 1.2em in base.css
- Hide static "Snek" logo div with inline display:none in app.html
- Add new logo div with block header_text template block in app.html
- Move chat header h2 from web.html into the new header_text block in app.html
This commit is contained in:
2025-03-17 16:01:01 +00:00
parent 37105cbe9d
commit ff34706546
3 changed files with 12 additions and 7 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
{% extends "app.html" %}
{% block header_text %}<h2>{{ name }}</h2>{% endblock %}
{% block main %}
<section class="chat-area" id="chat">
<div class="chat-header">
<h2>{{ name }}</h2>
</div>
<div class="chat-messages">
{% for message in messages %}
{% autoescape false %}