add more Cozy Town flavour
This commit is contained in:
parent
0ccb9796d6
commit
28d8a54365
2 changed files with 13 additions and 15 deletions
10
_base.html
10
_base.html
|
@ -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 %}
|
||||
|
|
18
style.css
18
style.css
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue