add more Cozy Town flavour

This commit is contained in:
Vri 🌈 2023-07-30 22:31:36 +02:00
parent 0ccb9796d6
commit 28d8a54365
Signed by: vrifox
GPG key ID: D40098E5B60B2197
2 changed files with 13 additions and 15 deletions

View file

@ -12,15 +12,7 @@
</head> </head>
<body> <body>
<header class="mx_Header"> <header class="mx_Header">
{% if app_name == "Riot" %} <h1>Cozy Chat</h1>
<img src="https://riot.im/img/external/riot-logo-email.png" width="83" height="83" alt="[Riot]"/>
{% elif app_name == "Vector" %}
<img src="https://matrix.org/img/vector-logo-email.png" width="64" height="83" alt="[Vector]"/>
{% elif app_name == "Element" %}
<img src="https://static.element.io/images/email-logo.png" width="83" height="83" alt="[Element]"/>
{% else %}
<img src="https://matrix.org/img/matrix-120x51.png" width="120" height="51" alt="[matrix]"/>
{% endif %}
</header> </header>
{% block body %}{% endblock %} {% block body %}{% endblock %}

View file

@ -3,17 +3,23 @@ html {
} }
body { body {
background: #f9fafb; background: rgb(255, 255, 230);
max-width: 680px; max-width: 680px;
margin: auto; margin: auto;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: 'Lucida Console', 'Courier New', monospace;
} }
.mx_Header { .mx_Header {
border-bottom: 3px solid #ddd; background-blend-mode: initial;
margin-bottom: 1rem; background-color: var(rgb(250, 220, 120));
padding-top: 1rem; background-image: url(https://cozy.town/home-header-optimized.svg);
padding-bottom: 1rem; background-position: center;
background-size: cover;
color: rgb(50, 50, 50);
display: flex;
flex-direction: column;
height: 40vh;
justify-content: center;
text-align: center; text-align: center;
} }