diff options
author | hardythe1 | 2015-07-07 16:53:35 +0530 |
---|---|---|
committer | hardythe1 | 2015-07-07 16:53:35 +0530 |
commit | 4fabeb0b92daae2bc2c93069cf14ba1703cbe3c9 (patch) | |
tree | 33ed1851a932f8866f1c213a9625cdce07c506bf | |
parent | b0c2040b9ba06543c65acb593507c3a7192516f8 (diff) | |
download | SciPy2015-4fabeb0b92daae2bc2c93069cf14ba1703cbe3c9.tar.gz SciPy2015-4fabeb0b92daae2bc2c93069cf14ba1703cbe3c9.tar.bz2 SciPy2015-4fabeb0b92daae2bc2c93069cf14ba1703cbe3c9.zip |
proposal form styling & footer to center
-rw-r--r-- | website/static/css/bootstrap.css | 6 | ||||
-rw-r--r-- | website/static/css/main.css | 26 | ||||
-rw-r--r-- | website/templates/base.html | 2 | ||||
-rw-r--r-- | website/templates/submit-cfp.html | 8 |
4 files changed, 33 insertions, 9 deletions
diff --git a/website/static/css/bootstrap.css b/website/static/css/bootstrap.css index ea91a3d..5fd35bb 100644 --- a/website/static/css/bootstrap.css +++ b/website/static/css/bootstrap.css @@ -287,6 +287,9 @@ textarea { font-size: inherit; line-height: inherit; } +textarea { + height: 150px; +} a { color: #428bca; text-decoration: none; @@ -1651,6 +1654,8 @@ label { display: inline-block; margin-bottom: 5px; font-weight: bold; + float:left; + margin-right: -90px; } input[type="search"] { -webkit-box-sizing: border-box; @@ -1666,6 +1671,7 @@ input[type="checkbox"] { } input[type="file"] { display: block; + margin-left: 30%; } input[type="range"] { display: block; diff --git a/website/static/css/main.css b/website/static/css/main.css index 4aa9c42..e46e71d 100644 --- a/website/static/css/main.css +++ b/website/static/css/main.css @@ -1,6 +1,3 @@ -html, button, input, select, textarea {
- color: #222;
-}
body {
font-size: 1em;
line-height: 1.4;
@@ -529,3 +526,26 @@ body .header { line-height: 38px;
}
}
+
+.row1 {
+ width:80%;
+ margin-left: 5%;
+
+}
+
+.row1 textarea {
+ height: 150px;
+ width: 350px;
+}
+
+.row1 label {
+ display: inline-block;
+ margin-bottom: 5px;
+ font-weight: bold;
+ min-width: 300px;
+ float: left;
+}
+
+.row1 input {
+ width: 350px;
+}
diff --git a/website/templates/base.html b/website/templates/base.html index 633a129..8d72bde 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -228,7 +228,7 @@ <div id="footerwrap"> <div class="container"> <div class="row"> - <div class="col-md-8"> + <div class="col-md-12"> <img src="{% static 'img/fossee.png' %}" width=100 height=40> <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /> diff --git a/website/templates/submit-cfp.html b/website/templates/submit-cfp.html index d5b19f9..8316761 100644 --- a/website/templates/submit-cfp.html +++ b/website/templates/submit-cfp.html @@ -35,19 +35,17 @@ <h2 class="centered">Submit a Talk</h2> <hr> </div> - <div class="row"> <div class="col-lg-8 col-lg-offset-2 centered"> - <form id="contact" action="" class="form" role="form" method=POST enctype="multipart/form-data"> - <div class="row"> + <form id="contact" action="" method=POST enctype="multipart/form-data"> + <div class="row1"> {{ proposal_form.as_p }} {{ proposal_form.erros }} </div> {% csrf_token %} - <button class="btn btn btn-lg" type="submit">Submit</button> + <center><button class="btn btn btn-lg" type="submit">Submit</button></center> </form> <!-- form --> </div> - </div> <!-- row --> </div> </div> |