]> nos-oignons.net Git - website.git/blobdiff - local.css
Ajout min-width pour le fix du precedent commit.
[website.git] / local.css
index a53aa293918c6c44a30f5fb7f96427ca7c9c7e5d..c7c2ebc86093621cac82afd9626cc3b7e3e5f16e 100644 (file)
--- a/local.css
+++ b/local.css
@@ -100,9 +100,9 @@ thead td {
     padding: 1em 0;
     border-bottom: solid 1px #ccc;
 }
-@media screen and (min-width: 400px) {
+@media screen and (min-width: 390px) {
   .body-wrapper > header {
-    background: url("assets/filet.png") no-repeat scroll 99% 80% #FFF;
+    background: url("assets/filet.png") no-repeat scroll 99% 105px #FFF;
   }
 }
 
@@ -110,7 +110,7 @@ thead td {
 #logo {
     display: block;
        width: 394px; /* same as .pageheader .header:margin-left */
-       height: 100px;
+       height: 104px;
   max-width: 100%;
        background: url(assets/logo-nos-oignons-blanc.png) no-repeat top left;
   background-size: 100%;
@@ -357,22 +357,28 @@ main .header a {
 }
 
 main .feedlink a {
-       text-decoration: none;
+  text-decoration: none;
+  /*color: #ffa430;*/
 }
 
 main .feedlink {
-       text-align: right;
-       margin-top: -2.8em;
-       min-height: 2.8em;
+  float: right;
+       text-align: left;
+  margin-top: -3.5em;
+}
+@media screen and (max-width: 400px) {
+  main .feedlink {
+    float: none;
+    margin-top: -2em;
+    margin-bottom: 2em;
+  }
 }
 main .feedlink .feedbutton {
        font-size: 0.8em;
-       color: #57075f !important;
        background: transparent;
        border: none;
 }
 main .feedlink .feedbutton:hover {
-       color: #57075f !important;
        background: transparent;
        text-decoration: underline;
 }
@@ -435,8 +441,9 @@ main .footnotes {
 .progress-bar-wrapper {
   margin: 2em auto;
   height: 85px;
-  width: 600px;
+  max-width: 600px;
   background: lightGrey url(assets/progress_bar.png) top left repeat-x;
+  background-size: 16.666667% 300%;
   border: 1px solid #ccc;
   border-bottom: 0;
   position: relative;
@@ -445,6 +452,7 @@ main .footnotes {
     position: absolute;
     height: 85px;
     background: grey url(assets/progress_bar.png) left -85px repeat-x;
+    background-size: 16.666667% 300%;
     z-index: 2;
     /* animate progress bar */
     -webkit-animation: progress-bar 1.5s;
@@ -452,7 +460,7 @@ main .footnotes {
     animation: progress-bar 1.5s;
   }
   .progress-bar-wrapper .progress-bar-promises {
-    background: grey url(assets/progress_bar.png) left bottom repeat-x;
+    background-position: left bottom;
     z-index: 1;
   }
 
@@ -578,18 +586,26 @@ main .footnotes {
 
 /* {{{ #footer */
 #footer {
-       margin: 0;
-       padding: 0.5em 0;
-       text-align: center;
-       color: white;
-       background: #57075f;
+  margin: 0;
+  padding: 0.5em 0;
+  text-align: center;
+  color: white;
+  background: #57075f;
+  font-size: 0.85em;
 }
-@media screen and (max-width: 400px) {
+@media screen and (max-width: 45em) {
   #footer {
-    font-size: 0.85em;
+    text-align: left;
     padding: 0.5em 1em;
+    font-size: 0.8em;
   }
 }
+@media screen and (max-width: 480px) {
+  #footer .pagecopyright span {
+    display: block;
+  }
+}
+
 #footer > div {
     margin-top: 1em;
 }