commit 6b464c9b98e393f2a5fe870586daea3fc594c18f
parent 1f252219813d1cce3630d3f89bf1ef83ddaa684a
Author: alex wennerberg <alex@alexwennerberg.com>
Date: Thu, 23 Apr 2020 21:04:58 -0500
Improve mobile readability
Diffstat:
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/static/css/style.css b/static/css/style.css
@@ -1,3 +1,4 @@
+
.inline {
display: inline;
}
@@ -120,4 +121,13 @@ a:link, a:visited {
body {
background-color: #006994;
font-size: 18px;
+ word-wrap: break-word;
+
+}
+
+@media only screen and (max-width: 600px) {
+ body{
+ background-color: #006994;
+ font-size: 18px;
+ }
}
diff --git a/templates/base.html b/templates/base.html
@@ -4,6 +4,7 @@
<title>🐟{{global.title}}</title>
<link rel="stylesheet" type="text/css" href="../static/css/style.css">
<meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"/>
<script>
function reply(note_id)
{
diff --git a/templates/server_info.html b/templates/server_info.html
@@ -8,6 +8,6 @@
<br>
This instance is invite-only. Contact me to get an invite URL if you want to invite someone. Posts are not visible except to users on this instance.
<br>
- Contact email: <a href="mailto:alex@alexwennerberg.com">alex@alexwennerberg.com</a> or <a href="/users/alex">message me</a> on Gourami.
+ Contact email: <a href="mailto:alex@alexwennerberg.com">alex@alexwennerberg.com</a> or <a href="/user/alex">message me</a> on Gourami.
</div>
{% endblock %}