From e458878eb1b5bd91bc64b73d033ac1f7843d3fc6 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Mon, 23 Mar 2015 02:07:00 -0400 Subject: CSS cleaning --- static/banner2.jpg | Bin 0 -> 60771 bytes static/wedding.css | 40 ++++++++++++++++++++++++++++++++++++++++ templates/en/main.htm | 19 ++++++++----------- templates/en/rsvp.htm | 36 ++++++++++++++++++------------------ templates/layout.htm | 14 +++++++------- 5 files changed, 73 insertions(+), 36 deletions(-) create mode 100644 static/banner2.jpg diff --git a/static/banner2.jpg b/static/banner2.jpg new file mode 100644 index 0000000..2b52af0 Binary files /dev/null and b/static/banner2.jpg differ diff --git a/static/wedding.css b/static/wedding.css index fb72463..2b302af 100644 --- a/static/wedding.css +++ b/static/wedding.css @@ -1,3 +1,28 @@ +html { + background-color: #E4EDE6; +} + +body { + font-size: 16px; + font-family: "Open Sans", Verdana; + line-height: 150%; + margin: 0 auto; + max-width: 1150px; + border: 1px solid #D1D1D1; +} + +header { + border-color: 1px solid #D1D1D1; +} + +.row { + margin: 0; +} + +.main { + padding: 1em 0; +} + #login { margin: 1.5em auto; width: 50%; @@ -12,3 +37,18 @@ img { width: 80%; margin: 1.5em auto } + +.info { + text-align: center; + font-style: italic; + margin: 2em 0; +} + +#banner { + width: 100%; +} + +h3 { + margin-bottom: 1em; + text-align: center; +} diff --git a/templates/en/main.htm b/templates/en/main.htm index c0da84c..0e6add6 100644 --- a/templates/en/main.htm +++ b/templates/en/main.htm @@ -1,25 +1,22 @@ {%extends 'layout.htm' %} {%block content%} -

+

Welcome to the homepage of
- Iva and Guillaume's -
- wedding! + Iva and Guillaume’s wedding!

-

+

The wedding will take place
- Friday September 4th, 2015 + Friday September 4th, 2015
in Le Lavandou, France.

-

+

This website will be updated periodically to include more - information. For now we just ask you to complete the RSVP + information. For now we just ask you to complete the RSVP form. Please let us know if you have any questions.

-

- We are looking forward to sharing this experience with you! -

+

+ We are looking forward to sharing this experience with you! {% endblock %} diff --git a/templates/en/rsvp.htm b/templates/en/rsvp.htm index b190ffc..5871b2b 100644 --- a/templates/en/rsvp.htm +++ b/templates/en/rsvp.htm @@ -14,24 +14,24 @@ {% endif %} {% endwith %}

- +

{{form['user_name']}}

- +
-

+

Will you be able to make it to our wedding?

- -
+ +
- +
- +
-

+

Will you be accompanied by a plus one?

- -
+ +
- +
-

+

Will you be coming with kids?

- -
+ +
- +
-

+

Please let us know if you have any dietary restrictions or comments:

- +
-
+
diff --git a/templates/layout.htm b/templates/layout.htm index 4dd7690..e42c48e 100644 --- a/templates/layout.htm +++ b/templates/layout.htm @@ -18,12 +18,12 @@ -
- banner -
-
-
-