Browse Source

Merci Anna.

opi 10 years ago
parent
commit
cd39c16625
2 changed files with 34 additions and 1 deletions
  1. BIN
      assets/img/background_main.jpg
  2. 34 1
      assets/main.css

BIN
assets/img/background_main.jpg


+ 34 - 1
assets/main.css

@@ -9,7 +9,37 @@
     display: inline-block;
     margin-bottom: 30px;
 }
+html {
+  min-height: 100%;
+}
+
+body {
+  background-image: url("img/background_main.jpg");
+  background-repeat: no-repeat;
+  background-position: 50% 35px;
+  position: relative;
+  min-height: 700px;
+  padding-bottom: 200px;
+}
+
+
+body > .jumbotron {
+  background-color: transparent;
+  padding: 2em;
+}
 
+body > section {
+  background-color: #eee;
+  padding-bottom: 2em;
+}
+
+body.form > section {background-color: transparent;}
+
+body.form section header {
+  margin-top: 365px;
+  margin-bottom: 70px;
+  background-color: rgba(250,250,250,0.5);
+}
 
 body > footer {
     /* See jumbotron */
@@ -17,6 +47,9 @@ body > footer {
     padding: 48px 0;
     background-color: #eee;
     text-align: center;
+
+    position: absolute;
+    bottom: 0;left: 0;right: 0;top: auto;
 }
 
 /** Form **/
@@ -66,4 +99,4 @@ form > h2:first-child {
 .results .leaflet-popup-content ul {
     margin: 0.5em 0;
     padding-left: 1.5em;
-}
+}