summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2017-09-10 17:18:56 +0930
committerdaniel-Jones <daniel@danieljon.es>2017-09-10 17:18:56 +0930
commit0c41ff1395cbbcc13618985f54b3f2e570af7167 (patch)
tree1354d262302e4b6dfdbae60698e70149ad2f21d1
parent32f211876da794180fd2c5994306a846fdc294ce (diff)
downloadwebsite-0c41ff1395cbbcc13618985f54b3f2e570af7167.tar.gz
website-0c41ff1395cbbcc13618985f54b3f2e570af7167.zip
added max width and height to images preventing overflow on smaller screens
-rw-r--r--template.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/template.txt b/template.txt
index 2e8b62a..2a8299a 100644
--- a/template.txt
+++ b/template.txt
@@ -7,6 +7,14 @@
<meta name="author" content="Daniel Jones">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{TITLE}</title>
+<style>
+img
+{
+ max-width: 100%;
+ max-height: 100%;
+ overflow: hidden;
+}
+</style>
</head>
<body bgcolor="#222" text="#eee" link="#3F51B5" vlink="#3F51B5">