From 2153acbfed89d97ad7ef74765a5b70b83cf5ef57 Mon Sep 17 00:00:00 2001 From: nat3yice Date: Wed, 7 Mar 2018 15:05:17 +0100 Subject: [PATCH] login page, hitting enter = submits form; red map icon; smooth scrolling for iOS --- img-vid/mapicon.svg | 14 -------------- rsvp.css | 1 + savethedate.css | 26 +++++++++++++++++++++++--- savethedate.html | 8 ++++---- 4 files changed, 28 insertions(+), 21 deletions(-) delete mode 100644 img-vid/mapicon.svg diff --git a/img-vid/mapicon.svg b/img-vid/mapicon.svg deleted file mode 100644 index d034d2a..0000000 --- a/img-vid/mapicon.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - Maps Icon I - Created with Sketch. - - - - - - - - - \ No newline at end of file diff --git a/rsvp.css b/rsvp.css index 92b2c5e..3f77c65 100644 --- a/rsvp.css +++ b/rsvp.css @@ -4,6 +4,7 @@ padding : 0; font-family: 'Glass Antiqua', cursive; color: #4A4A4A; + -webkit-overflow-scrolling: touch; } diff --git a/savethedate.css b/savethedate.css index ac64fa6..5fe5204 100644 --- a/savethedate.css +++ b/savethedate.css @@ -162,7 +162,8 @@ img { } .overlay-content { position: relative; - top: 25%; + top: 25vh; + bottom: 75vh; width: 100%; text-align: center; margin-top: 30px; @@ -207,10 +208,8 @@ img { margin-top: 1em; } .overlay div { - background-color: pink; } - #take-me-in-btn { display : flex; width : 262px; @@ -248,6 +247,7 @@ img { font-size: 24px; color: #F8E6C1; letter-spacing: 2px; + line-height: normal; } ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ @@ -288,6 +288,11 @@ input:focus {outline:0;} @media only screen and (max-width : 330px) { + + body { + position: fixed; + } + #names { width : 140px; margin-bottom : 2.5em; @@ -352,6 +357,11 @@ input:focus {outline:0;} only screen and (min-width : 331px) and (max-width : 375px) { + + body { + position: fixed; + } + #names { width : 140px; margin-bottom : 1.3em; @@ -418,6 +428,11 @@ input:focus {outline:0;} only screen and (min-width : 376px) and (max-width : 766px) { + +body { + position: fixed; +} + #names { width : 400px; margin-bottom : 3em; @@ -484,6 +499,11 @@ input:focus {outline:0;} only screen and (min-width : 767px) and (max-width : 1024px) { + + body { + position: fixed; + } + #names { margin-bottom : .6em; font-size : 90px; diff --git a/savethedate.html b/savethedate.html index 64eec10..f10c3ff 100644 --- a/savethedate.html +++ b/savethedate.html @@ -127,7 +127,7 @@

Oldehove

The Netherlands map pin drop icon

+ src='img-vid/mapicon-red.svg' alt='map pin drop icon'>

@@ -139,7 +139,7 @@
× -
+

@@ -148,8 +148,8 @@
Hmm.. that didn't work
Please make sure to use your invitation email and code we sent
- -
+ +