summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/template.txt b/template.txt
index d2dca2b..7a2e2d7 100644
--- a/template.txt
+++ b/template.txt
@@ -10,7 +10,15 @@
<link rel="icon" type="image/png" href="https://danieljon.es/favicon.png">
<title>{TITLE}</title>
<style>
-body{margin-right: 5%; margin-left: 5%; font-family: Verdana}
+body
+{
+ max-width: 45rem;
+ padding-left: 1rem;
+ padding-right: 1rem;
+ margin-right: auto;
+ margin-left: auto;
+ font-family: Verdana
+}
img{max-width: 100%; max-height: 100%; overflow: hidden;}
pre{padding-top: 5px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; background: #d9d9ce; overflow: auto;}
.middle{text-align: center;}