diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-15 22:15:40 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-15 22:15:40 -0400 |
| commit | 51a4cec8acec036d94236fc007cae1bfa8e0c997 (patch) | |
| tree | c3674fd0499de61be7e27436219a742d58e65d24 | |
| parent | 9d8189dfc51cb374b8ecc4c3478f9c52ea88b69e (diff) | |
| download | wedding-website-51a4cec8acec036d94236fc007cae1bfa8e0c997.tar.gz | |
change top margin
| -rw-r--r-- | static/wedding.css | 6 | ||||
| -rw-r--r-- | templates/login.htm | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/static/wedding.css b/static/wedding.css index af9f924..fb72463 100644 --- a/static/wedding.css +++ b/static/wedding.css @@ -1,14 +1,14 @@ -.login { +#login { margin: 1.5em auto; width: 50%; - } img { max-width: 100%; height: auto; } + .container { width: 80%; - margin: 0 auto + margin: 1.5em auto } diff --git a/templates/login.htm b/templates/login.htm index 3d55ef6..69f056c 100644 --- a/templates/login.htm +++ b/templates/login.htm @@ -9,11 +9,10 @@ <link href="{{url_for('static', filename='wedding.css')}}" rel="stylesheet"> </head> <body> - <div class="container"> <div class="row"> <img class="center-block" src="{{url_for('static', filename='banner1.jpg')}}" alt="banner"> </div> - <div class="login row"> + <div id="login" class="row"> <form id = "connection" action="/login/" role="form" class="form-horizontal" method="post"> <div class="form-group"> |
