Browse Source

Improve CSS readability

Mathieu 6 years ago
parent
commit
55ea4dd1ad
1 changed files with 7 additions and 6 deletions
  1. 7 6
      wifiwithme/static/main.css

+ 7 - 6
wifiwithme/static/main.css

@@ -31,7 +31,7 @@ body > .jumbotron {
 
 body > section {
   background-color: #eee;
-  background-color: rgba(250,250,250,0.7);
+  background-color: rgba(250,250,250,0.9);
   padding-bottom: 2em;
 }
 
@@ -41,13 +41,14 @@ body.home > section {
 }
 
 body.form section header {
-  margin-top: 365px;
+  /* margin-top: 365px; */
 }
 
+body section section,
 body.form section header,
 body.home section header {
   margin-bottom: 70px;
-  background-color: rgba(250,250,250,0.5);
+  background-color: rgba(250,250,250,0.9);
 }
 
 body.home section header {
@@ -133,7 +134,7 @@ form > h2:first-child {
 @media (min-width: 0px) {
     h1 {
         max-width: 500px;
-        background-color: rgba(250, 250, 250, 0.5);
+        background-color: rgba(250, 250, 250, 0.9);
     }
     body.form section header,
     body.home section header,{
@@ -165,7 +166,7 @@ form > h2:first-child {
     }
     body.form section header,
     body.home section header {
-        margin-top: 265px
+        /* margin-top: 265px */
     }
     body {
         background-image: url("img/background_main.jpg");
@@ -180,6 +181,6 @@ form > h2:first-child {
     }
     body.form section header,
     body.home section header {
-        margin-top: 250px
+        /* margin-top: 250px */
     }
 }