Skip to content
Snippets Groups Projects
Commit 46b5547a authored by David Baker's avatar David Baker
Browse files

Some basic css to make it halfway legible

parent 36bb5c23
No related branches found
No related tags found
No related merge requests found
body {
font-family: "Open Sans", Helvetica, Arial, sans-serif;
font-size: 12pt;
margin: 1em;
}
#page {
margin: auto;
width: 640px;
padding: 1em;
border: 1px solid #76cfa6;
border-radius: 5px;
}
.room_avatar {
width: 48px;
height: 48px;
float: left;
}
.room_content {
clear: left;
}
.historical {
color: #888;
}
.sender_name {
display: inline;
}
.message_time {
display: inline;
}
<!doctype html>
<html lang="en">
<head>
<style type="text/css">
{% include 'mail.css' without context %}
</style>
</head>
<body>
<div className="salutation">Hi {{ user_display_name }},</div>
<div className="summarytext">{{ summary_text }}</div>
<div class="content">
{% for room in rooms %}
{% include 'room.html' with context %}
{% endfor %}
</div>
<div class="footer">
<a href="{{ unsubscribe_link }}">Unsubscribe</a>
<div id="page">
<div className="salutation">Hi {{ user_display_name }},</div>
<div className="summarytext">{{ summary_text }}</div>
<div class="content">
{% for room in rooms %}
{% include 'room.html' with context %}
{% endfor %}
</div>
<div class="footer">
<a href="{{ unsubscribe_link }}">Unsubscribe</a>
</div>
</div>
</body>
</html>
<div class="room">
<h2>{{ room.title }}</h2>
<div class="room_avatar">
{% if room.avatar_url %}
<img src="{{ room.avatar_url|mxc_to_http(48,48) }}" />
......@@ -13,13 +12,14 @@
{% endif %}
{% endif %}
</div>
{% if room.invite %}
<a href="{{ room.link }}">Join the conversation.</a>
{% else %}
<div>
<h2>{{ room.title }}</h2>
<div class="room_content">
{% if room.invite %}
<a href="{{ room.link }}">Join the conversation.</a>
{% else %}
{% for notif in room.notifs %}
{% include 'notif.html' with context %}
{% endfor %}
</div>
{% endif %}
{% endif %}
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment