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>
<body>
<header class="mx_Header">
{% if app_name == "Riot" %}
<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 %}
<h1>Cozy Chat</h1>
</header>
{% block body %}{% endblock %}

View file

@ -3,17 +3,23 @@ html {
}
body {
background: #f9fafb;
background: rgb(255, 255, 230);
max-width: 680px;
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 {
border-bottom: 3px solid #ddd;
margin-bottom: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
background-blend-mode: initial;
background-color: var(rgb(250, 220, 120));
background-image: url(https://cozy.town/home-header-optimized.svg);
background-position: center;
background-size: cover;
color: rgb(50, 50, 50);
display: flex;
flex-direction: column;
height: 40vh;
justify-content: center;
text-align: center;
}