From fbfbbd4013530bb0af80635fface782e3311fc09 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Fri, 29 Sep 2017 01:30:43 +0200 Subject: [PATCH] [fix] update encrypt theme --- .../themes/exposure/static/css/style-page.css | 71 ++++++++++- .../themes/exposure/templates/encrypted.html | 110 +----------------- 2 files changed, 76 insertions(+), 105 deletions(-) diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 4a533b1..db06902 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -129,9 +129,12 @@ a { } footer { + position: relative; + right: 0; + bottom: 0; + left: 0; margin-top: 6em; text-align: center; - position: relative; font-family: 'crimson', serif; font-size: 11px; color: #555; @@ -517,3 +520,69 @@ span.left img, span.right img { .clear { clear: both; } + +.staticrypt-hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eee; +} + +.staticrypt-page { + width: 360px; + padding: 8% 0 0; + margin: auto; + box-sizing: border-box; +} + +.staticrypt-form { + position: relative; + z-index: 1; + background: #FFFFFF; + max-width: 360px; + margin: 0 auto 100px; + padding: 45px; + text-align: center; + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); +} + +.staticrypt-form input { + outline: 0; + background: #292525; + width: 100%; + border: 0; + margin: 0 0 15px; + padding: 15px; + box-sizing: border-box; + font-size: 14px; +} + +.staticrypt-form .staticrypt-decrypt-button { + text-transform: uppercase; + outline: 0; + background: #91C25F; + width: 100%; + border: 0; + padding: 15px; + color: #FFFFFF; + font-size: 14px; + cursor: pointer; +} + +.staticrypt-html { + height: 100%; +} + +.staticrypt-body { + background: #FFF; /* fallback for old browsers */ + font-family: "Arial", sans-serif; +} + +.staticrypt-instructions { + margin-top: -1em; + margin-bottom: 1em; +} + +.staticrypt-title { + font-size: 1.5em; +} diff --git a/prosopopee/themes/exposure/templates/encrypted.html b/prosopopee/themes/exposure/templates/encrypted.html index 1bea17a..8dd4f6a 100644 --- a/prosopopee/themes/exposure/templates/encrypted.html +++ b/prosopopee/themes/exposure/templates/encrypted.html @@ -11,118 +11,21 @@ - - +
+

{{ gallery.title }}


+
-