]> nos-oignons.net Git - website.git/blobdiff - local.css
Traduction don Framasoft en anglais
[website.git] / local.css
index df8babbc357e806ce62d8336e944256ea12b505c..ba0db98c77bfb0d435b5ecb0dff18eae1fcf2797 100644 (file)
--- a/local.css
+++ b/local.css
@@ -100,20 +100,28 @@ 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;
   }
 }
 
+
 #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%;
 }
+@media screen and (max-width: 390px) {
+  #logo {
+    background-image: url(assets/logo-nos-oignons-blanc-small.png);
+    background-position: left center;
+    height: 100px;
+  }
+}
 
 #logo span {
        display: none;
@@ -121,11 +129,14 @@ thead td {
 
 /* {{{ .actions */
 .actions {
-       font-size: 80%;
+       font-size: 0.8em;
        text-align: right;
 }
 .actions ul {
+  margin: 0;
+  padding: 0.5em;
   height: auto;
+  list-style-type: none;
 }
 
 .breadcrumb,
@@ -153,6 +164,11 @@ thead td {
   float: right;
   font-size: 0.9em;
 }
+.translationstatus,
+.langstatus {display: none;}
+@media screen and (max-width: 400px) {
+#otherlanguages {float: none;}
+}
 #otherlanguages,
 #otherlanguages a {
        color: #b3b3b3;
@@ -164,6 +180,8 @@ thead td {
 
 #otherlanguages ul {
   padding: 0;
+  margin: 0;
+  list-style: none;
 }
 #otherlanguages ul li {
        /*margin-left: 1em;*/
@@ -216,17 +234,33 @@ main {
        padding: 0.3em 0.5em;
        text-decoration: none;
        border: 1px solid #f5f5f5;
-       color: #a756af;
-       background: transparent;
-       font-weight: normal;
-       font-size: 100%;
+  color: #a756af;
+  background: transparent;
+  font-weight: normal;
+  font-size: 1em;
 }
 
 
 .menu a:hover {
-       color: #57075f;
-       background: #eeeeee;
-       text-decoration: none;
+  color: #57075f;
+  background: #eeeeee;
+  text-decoration: none;
+}
+
+.menu select {
+  margin: 0.5em 2%;
+  width: 94%;
+  max-width: 94%;
+  background: #fff;
+  border: 1px solid #ccc;
+       color: #57075F;
+  font-size: 1.2em;
+  display: none;
+}
+
+@media screen and (max-width: 45em) {
+  .js .menu ul {display: none;}
+  .js .menu select {display: block;}
 }
 
 
@@ -246,6 +280,9 @@ main a:hover {
 main p {
        margin: 1em 0 1em 0;
 }
+main li p {
+  margin-top: 0;
+}
 
 main hr {
        border: none;
@@ -254,15 +291,20 @@ main hr {
 }
 
 main h1 {
-       font-size: 180%;
+       font-size: 1.8em;
        font-weight: bold;
+  /*text-shadow: 2px 2px 1px #444;*/
+  color: #57075F;
+}
+main h1.title {
+  margin-top: 0em;
+  font-size: 2em;
        color: #ffa430;
-       /*text-shadow: 2px 2px 1px #444;*/
 }
-main h1.title {margin-top: 0.5em;}
 
 main h2 {
-  color: #ffa430
+  /*color: #ffa430*/
+  color: #57075F;
 }
 main h3 {
   color: #57075F;
@@ -270,7 +312,7 @@ main h3 {
 
 main h2,
 main .header {
-       font-size: 140%;
+       font-size: 1.4em;
        font-weight: bold;
 }
 
@@ -279,7 +321,7 @@ main h2 + p {
 }
 
 main h3 {
-       font-size: 120%;
+       font-size: 1.2em;
        font-weight: bold;
        margin-bottom: 0;
        padding-bottom: 0;
@@ -325,28 +367,34 @@ 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: 80%;
-       color: #57075f !important;
+       font-size: 0.8em;
        background: transparent;
        border: none;
 }
 main .feedlink .feedbutton:hover {
-       color: #57075f !important;
        background: transparent;
        text-decoration: underline;
 }
 
 main .footnotes {
-       font-size: 80%;
+       font-size: 0.8em;
 }
 
 .half-section {
@@ -367,8 +415,8 @@ main .footnotes {
   text-align: center;
 }
 
-#bandwidth {text-align: center;}
-#bandwidth svg {text-align: left;}
+#bandwidth, #weights {text-align: center;}
+#bandwidth svg, #weights svg {text-align: left;}
 
 /* Tor nodes table */
 .tor-nodes {}
@@ -404,7 +452,7 @@ main .footnotes {
   margin: 2em auto;
   height: 85px;
   width: 600px;
-  background: lightGrey url(assets/progress_bar.png) top left repeat-x;
+  background: url(assets/progress_bar.png) top left repeat-x;
   border: 1px solid #ccc;
   border-bottom: 0;
   position: relative;
@@ -412,7 +460,7 @@ main .footnotes {
   .progress-bar-wrapper .progress-bar {
     position: absolute;
     height: 85px;
-    background: grey url(assets/progress_bar.png) left -85px repeat-x;
+    background: url(assets/progress_bar.png) left -85px repeat-x;
     z-index: 2;
     /* animate progress bar */
     -webkit-animation: progress-bar 1.5s;
@@ -420,7 +468,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;
   }
 
@@ -537,7 +585,7 @@ main .footnotes {
 
 .inlinepage .inlineheader .pagedate {
        margin-top: 0;
-       font-size: 80%;
+       font-size: 0.8em;
        font-style: normal;
        color: #666;
 }
@@ -546,12 +594,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: 45em) {
+  #footer {
+    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;
 }
@@ -567,12 +629,12 @@ main .footnotes {
 }
 
 #backlinks {
-       font-size: 80%;
+       font-size: 0.8em;
        margin-top: 0;
 }
 
 #footer #pageinfo div {
-       font-size: 80%;
+       font-size: 0.8em;
        margin-top: 0;
        margin-bottom: 0;
 }