summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-02-15 19:08:46 +1030
committerdaniel-Jones <daniel@danieljon.es>2018-02-15 19:08:46 +1030
commit6192bae8f1a0dcbd2091dca76283fac5616ec09f (patch)
treeb9dad7af7d0e3de512cf7114eaf65de62f509b41
parent329e7731fc2b4c7566660a5ffb1cecdc66dbd811 (diff)
downloadwebsite-6192bae8f1a0dcbd2091dca76283fac5616ec09f.tar.gz
website-6192bae8f1a0dcbd2091dca76283fac5616ec09f.zip
changed margin to % over fixed pixels
-rw-r--r--template.txt2
-rw-r--r--templates/template_dark.txt2
-rw-r--r--templates/template_kawaii.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/template.txt b/template.txt
index 8eeb67f..1e37ec1 100644
--- a/template.txt
+++ b/template.txt
@@ -10,7 +10,7 @@
<link rel="icon" type="image/png" href="https://danieljon.es/favicon.png">
<title>{TITLE}</title>
<style>
-body{margin-right: 60px; margin-left: 60px; font-family: Verdana}
+body{margin-right: 5%; margin-left: 5%; 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;}
diff --git a/templates/template_dark.txt b/templates/template_dark.txt
index d2c24ca..b8ba61f 100644
--- a/templates/template_dark.txt
+++ b/templates/template_dark.txt
@@ -10,7 +10,7 @@
<link rel="icon" type="image/png" href="https://danieljon.es/favicon.png">
<title>{TITLE}</title>
<style>
-body{background-color:#222; color: #eee; margin-right: 60px; margin-left: 60px; font-family: Verdana}
+body{background-color:#222; color: #eee; margin-right: 5%; margin-left: 5%; font-family: Verdana}
div{background-color: #202020 !important}
a:link{color: #3F51B5;}
a:visited{#3F51B5;}
diff --git a/templates/template_kawaii.txt b/templates/template_kawaii.txt
index 1aee82c..732bf5b 100644
--- a/templates/template_kawaii.txt
+++ b/templates/template_kawaii.txt
@@ -10,7 +10,7 @@
<link rel="icon" type="image/png" href="https://danieljon.es/favicon.png">
<title>{TITLE}</title>
<style>
-body{background-color: #ffe6ff; margin-right: 60px; margin-left: 60px; font-family: Verdana}
+body{background-color: #ffe6ff; margin-right: 5%; margin-left: 5%; 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; overflow: auto;}
.middle{text-align: center;}