aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/static/style.css10
-rw-r--r--apioforum/templates/base.html2
2 files changed, 10 insertions, 2 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css
index f96c494..9650598 100644
--- a/apioforum/static/style.css
+++ b/apioforum/static/style.css
@@ -1,4 +1,10 @@
-body { font-family: sans-serif; word-wrap: break-word; }
+body {
+ margin: 0;
+ padding: 8px;
+ font-family: sans-serif;
+ word-wrap: break-word;
+ min-width: 400px;
+}
:root {
--alternating-colour-even: hsl(0, 0%, 96%);
@@ -294,6 +300,8 @@ nav#pages .pageno { align-self: center; }
/* small screens */
@media not all and (min-width: 600px) {
+ body { padding: 2px; }
+ .listing { padding: 4px; }
.thread-listing-creation { font-size: small; }
.thread-listing-creator {
max-width: 75px;
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index ed0a195..974ac08 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -4,7 +4,7 @@
<html>
<head>
<title>{%block title %}{% endblock %}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="viewport" content="width=device-width, initial-scale=0.9">
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/md-colors.css">
<link rel="icon" href="//gh0.pw/i/a.ico">