[CSS] + boucles responsive
[lhc/web/clavettes.git] / css / habillage.css
index 016d3a8..0136a1f 100644 (file)
@@ -33,10 +33,11 @@ table, caption, tbody, tfoot, thead, tr, th, td,
 article, aside, canvas, details, embed,
 figure, figcaption, hgroup,
 menu, nav, output, ruby, summary, mark, audio, video {
-  background-color: #ffffff; }
+  background-color: #ffffff;
+  background: none; }
 
 html {
-  line-height: 1; }
+  line-height: 1.1; }
 
 ol, ul {
   list-style: none; }
@@ -82,7 +83,7 @@ header .spip_logos {
 
 #wrap {
   padding-top: 130px;
-  width: 1200px;
+  width: 100%;
   margin: 0 auto; }
 
 a {
@@ -98,7 +99,8 @@ h1 {
   padding-top: 15px;
   padding-left: 15px;
   font-size: 1.9em;
-  display: inline-block; }
+  display: inline-block;
+  font-weight: bold; }
 
 h2 {
   margin: 15px 15px;
@@ -111,6 +113,7 @@ h3 {
 
 p {
   margin: 0 15px;
+  padding-bottom: 15px;
   text-decoration: none;
   text-align: justify; }
 
@@ -130,14 +133,11 @@ p {
   list-style-type: none; }
 
 #ateliers ul li {
-  height: 300px;
-  margin-bottom: 15px;
-  background-color: #2bc7cd; }
+  margin-bottom: 15px; }
 
 #ateliers p {
-  margin: 15px 15px 0 15px;
-  font-size: 1.3em;
-  font-weight: bold;
+  margin: 15px 15px 0 0;
+  font-size: 1.0em;
   text-align: left; }
 
 #ateliers p:nth-child(2) {
@@ -145,25 +145,28 @@ p {
 
 /*2EME COLONNE*/
 #news {
-  margin: 0 10px 10px 10px;
   overflow: hidden; }
 
 #news img {
   height: 350px; }
 
 .article {
-  background-color: #ffaa7f; }
+  background-color: #ffaa7f;
+  margin: 0 10px 15px 10px; }
 
 /*3EME COLONNE*/
 .map {
   background-color: #6059d2;
   height: 300px;
-  margin: 0 0 15px 10px; }
+  margin: 0 10px 15px 10px; }
+
+.leaflet-control-attribution leaflet-control {
+  z-index: 999; }
 
 .agenda {
   background-color: #3ee88d;
   height: 500px;
-  margin: 0 0 0px 10px;
+  margin: 0 10px 0px 10px;
   padding-right: 10px; }
 
 .agenda p {
@@ -177,29 +180,17 @@ p {
 
 .date {
   float: left;
-  font-size: 1.7em; }
+  font-size: 1.7em;
+  clear: both; }
+
+.horaire {
+  font-size: 0.8em; }
 
 /*RESPONSIVE*/
-.col-2,
-.col-4,
-.col-6,
-.col-8,
-.col-10,
-.col-12 {
+.col-1, .col-m-1, .col-l-1, .col-2, .col-m-2, .col-l-2, .col-3, .col-m-3, .col-l-3, .col-4, .col-m-4, .col-l-4, .col-5, .col-m-5, .col-l-5, .col-6, .col-m-6, .col-l-6, .col-7, .col-m-7, .col-l-7, .col-8, .col-m-8, .col-l-8, .col-9, .col-m-9, .col-l-9, .col-10, .col-m-10, .col-l-10, .col-11, .col-m-11, .col-l-11, .col-12, .col-m-12, .col-l-12 {
   float: left;
   position: relative; }
 
-.row:before, .row:after {
-  content: "";
-  display: table; }
-
-.row:after {
-  clear: both; }
-
-.row {
-  margin: 0 -10px;
-  zoom: 1; }
-
 .col-1 {
   width: 8.33333%; }
 
@@ -222,7 +213,7 @@ p {
   width: 58.33333%; }
 
 .col-8 {
-  width: 66.66666%; }
+  width: 66.66667%; }
 
 .col-9 {
   width: 75%; }
@@ -236,7 +227,7 @@ p {
 .col-12 {
   width: 100%; }
 
-@media only screen and (min-width: 640px) {
+@media only screen and (min-width: 650px) {
   .col-m-1 {
     width: 8.33333%; }
 
@@ -259,7 +250,7 @@ p {
     width: 58.33333%; }
 
   .col-m-8 {
-    width: 66.66666%; }
+    width: 66.66667%; }
 
   .col-m-9 {
     width: 75%; }
@@ -272,7 +263,7 @@ p {
 
   .col-m-12 {
     width: 100%; } }
-@media only screen and (min-width: 1024px) {
+@media only screen and (min-width: 1200px) {
   .col-l-1 {
     width: 8.33333%; }
 
@@ -295,7 +286,7 @@ p {
     width: 58.33333%; }
 
   .col-l-8 {
-    width: 66.66666%; }
+    width: 66.66667%; }
 
   .col-l-9 {
     width: 75%; }
@@ -307,25 +298,44 @@ p {
     width: 91.66667%; }
 
   .col-l-12 {
-    width: 100%; } }
+    width: 100%; }
+
+  #wrap {
+    width: 1200px; }
+
+  .wrap {
+    width: auto; } }
+.row:before, .row:after {
+  content: "";
+  display: table; }
+
+.row:after {
+  clear: both; }
+
+.row {
+  margin: 0 -10px;
+  zoom: 1; }
+
 /*FOOTER*/
 footer {
   clear: both;
   height: 200px;
-  width: 100%;
   background-color: #ffaa7f; }
 
 footer ul {
   padding: 0;
-  margin: 0;
+  margin: 0 auto;
   list-style-type: none;
-  padding-top: 70px;
-  margin-left: 100px; }
+  padding-top: 70px; }
+
+.textfooter {
+  width: 500px;
+  margin: 0 auto; }
 
 footer li {
-  margin-left: 2px;
   float: left;
-  /*pour IE*/ }
+  /*pour IE*/
+  text-align: center; }
 
 footer ul li a {
   display: block;