diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-06 00:09:31 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-06 00:09:31 -0400 |
| commit | 169cc74a8f74b8db91f8bb46527d3d5f5e2b3093 (patch) | |
| tree | 90f061b46fa23399821d27e012c349b033582883 | |
| parent | 68300e4e5e9812db97551705241ccae078f3425c (diff) | |
photo page css
| -rw-r--r-- | templates/photo.liquid | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/templates/photo.liquid b/templates/photo.liquid index 088403b..b609516 100644 --- a/templates/photo.liquid +++ b/templates/photo.liquid @@ -145,6 +145,18 @@ a { color: white; text-decoration: underline; } +#container { + width: 100%; + overflow-y: scroll; + overflow-x: hidden; + text-align: center; +} +#container img { + max-height: 100%; + max-width: 100%; + display: block; + margin: 0 auto; +} </style> </head> <body class='vbox viewport'> @@ -157,22 +169,21 @@ a { </section> <footer> <aside> - <a href='/page/terms'>Terms and Conditions</a> + <a href='/page/privacy'>Privacy</a> </aside> <aside> <a href='http://armoryonpark.org/'><img src='/assets/img/armory.png' id='armory'></a> </aside> <aside> - <a href='/page/privacy'>Privacy Policy</a> + <a href='/page/credits'>Credits</a> </aside> </footer> </body> <script> var hash = document.location.pathname.replace('/photo/','').replace(/\/.*/,'') -console.log(hash) +image(hash, 'plain') image(hash, 'dots') image(hash, 'lines') -image(hash, 'plain') function image(hash, type) { var img = new Image img.src = 'https://marsupial.s3.amazonaws.com/armory/mail/' + hash + '-' + type + '.jpg' |
