[CSS] + footer
[lhc/web/clavettes.git] / css / habillage.scss
index 04d66fa..4cb0d63 100644 (file)
@@ -19,7 +19,7 @@ time, mark, audio, video {
   font-size: 100%;
   vertical-align: baseline;
   font-family: sans-serif;
-  color:#1a0583;
+  color:#120260;
   text-align: left;
 }
 
@@ -39,7 +39,7 @@ menu, nav, output, ruby, summary, mark, audio, video {
 }
 
 html {
-  line-height: 1;
+  line-height: 1.1;
 }
 
 ol, ul {
@@ -102,24 +102,39 @@ header .spip_logos{
        margin:0 auto;
 }
 a{
+       color:#e1702e;
        text-decoration:none;
+       -webkit-transition: all 0.3s ease 0s;
+    -moz-transition: all 0.3s ease 0s;
+    -ms-transition: all 0.3s ease 0s;
+    -o-transition: all 0.3s ease 0s;
+    transition: all 0.3s ease 0s;
 }
 
 a:focus, a:hover, a:active{
        background:none;
-       color:#1a0583;
+       color:#120260;  
+       -webkit-transition: all 0.3s ease 0s;
+    -moz-transition: all 0.3s ease 0s;
+    -ms-transition: all 0.3s ease 0s;
+    -o-transition: all 0.3s ease 0s;
+    transition: all 0.3s ease 0s;
 }
 
 h1{
        margin: 0;
        padding:0;
-       padding-top:15px;
-       padding-left:15px;
+       margin-top:15px;
+       margin-left:15px;
        font-size:1.9em;
        display:inline-block;
        font-weight: bold;
 }
 
+h1:hover{
+       text-decoration: underline;
+}
+
 h2{
        margin: 15px 15px;
        font-size:1.3em;
@@ -142,7 +157,7 @@ p{
 
 
 #ateliers{
-       margin:0 10px;          
+       margin:0 10px;
 }
 
 #ateliers:after {
@@ -158,20 +173,38 @@ p{
 }
 
 #ateliers ul li{
-       
        margin-bottom:15px;
 }
+.descriptif{
+       margin-left:15px;
+}
 
 #ateliers p{
        margin: 15px 15px 0 0;
        font-size:1.0em;
-       text-align: left;       
+       text-align: left;
 }
-
-#ateliers p:nth-child(2){
-       margin:0px 15px 15px 15px;
+#ateliers address{
+       margin:0 0 0 15px;
+       line-height: 0.6;
+}
+.horairesouvertures{
+       margin:0 0 0 15px;
+}
+.logoatelier{
+       margin:auto;
+       width: 300px;
+}
+#ateliers nav{
+       padding-top:15px;
+       clear:both;
+}
+.fa{
+       color:#e1702e;
+}
+.fa:hover{
+       color:#120260;
 }
-
 
 /*2EME COLONNE*/
 
@@ -179,17 +212,35 @@ p{
 #news{
        overflow: hidden;
 }
-
-#news img{
-       height:350px;
-}
-
 .article{
-       background-color:#ffaa7f;
+       background-color:#e8e3e1;
        margin:0 10px 15px 10px;
+       line-height: 1.3;
+}
+.spip_logo{
+       display:none;
+}
+.article .spip_logos{
+       display: none;
+}
+address{
+       padding-bottom: 10px;
+}
+address p{
+       margin:0;
+       padding:0;
+}
+.historique{
+       background-color: #ffd2a1;
+       margin:0 15px 15px 15px;
+}
+.historique h1{
+       width:100%;
 }
 
-
+#atelierdescription img{
+       width: 100%;
+}
 
 
 /*3EME COLONNE*/
@@ -197,20 +248,21 @@ p{
 
 
 .map{
-       background-color:#6059d2;
        height: 300px;
        margin:0 10px 15px 10px;
+       overflow: hidden;
 }
 
 .agenda{
-       background-color: #3ee88d;
+       background-color: #a1ffff;
        height:500px;
        margin:0 10px 0px 10px;
-       padding-right: 10px;    
+       padding-right: 10px;
+       overflow-y: scroll;
 }
 
 .agenda p{
-       line-height: 120%;      
+       padding: 0;
 }
 
 .agenda ul{
@@ -219,230 +271,100 @@ p{
        margin:0;
        padding-top:15px;
 }
-
 .date{
        float:left;
        font-size: 1.7em;
-       clear: both; 
+       clear: both;
+}
+
+.event{
+       display: block;
+       margin-bottom: 10px;
+       padding-top: 5px;
 }
 .horaire{
        font-size: 0.8em;
+       margin-bottom: 20px;
+       display: block;
 }
-
-/*RESPONSIVE*/
-
-.col-2,
-.col-4,
-.col-6,
-.col-8,
-.col-10,
-.col-12{
-       float:left;
-       position:relative;
-       
+.nature{
+       overflow-y: scroll;
+       height: 70px;
        
 }
 
-.row:before, .row:after{
-       content: "";
-       display:table;
-}
-
-.row:after{
-       clear:both;
-}
-
-
-.row{
-       margin: 0 -10px;
-       zoom: 1;
-}
-
-
-
-.col-1{
-       width:8.33333%;
-}
-
-.col-2{
-       width:16.66667%;
-}
-
-.col-3{
-       width:25%;
-}
-
-
-.col-4{
-       width:33.33333%;
-}
-
-.col-5{
-       width:41.66667%;
-}
-
-.col-6{
-       width:50%;
-}
-
-.col-7{
-       width:58.33333%;
-}
-
-.col-8{
-       width:66.66666%;
-}
-
-.col-9{
-       width:75%;
-}
-
-.col-10{
-       width:83.33333%;
-}
-
-.col-11{
-       width:91.66667%;
-}
-
-.col-12{
-       width:100%;
-}
-
-
-
 
-@media only screen and (min-width:650px) {
-
-.col-m-1{
-       width:8.33333%;
-}
-
-.col-m-2{
-       width:16.66667%;
-}
-
-.col-m-3{
-       width:25%;
-}
-
-
-.col-m-4{
-       width:33.33333%;
-}
-
-.col-m-5{
-       width:41.66667%;
-}
-
-.col-m-6{
-       width:50%;
-}
-
-.col-m-7{
-       width:58.33333%;
-}
+/*RESPONSIVE*/
 
-.col-m-8{
-       width:66.66666%;
-}
 
-.col-m-9{
-       width:75%;
-}
+$columns: 12!default;
+$medium:650px;
+$large:1200px;
 
-.col-m-10{
-       width:83.33333%;
+%col{
+       float:left;
+       position: relative;
 }
 
-.col-m-11{
-       width:91.66667%;
-}
-
-.col-m-12{
-       width:100%;
+@for $i from 1 through $columns{
+       .col-#{$i}{
+       @extend %col;
+       width:$i / $columns * 100%;}
+       .col-m-#{$i}, .col-l-#{$i}{@extend %col;} 
 }
 
+@media only screen and (min-width: $medium){
+       @for $i from 1 through $columns{
+       .col-m-#{$i}{
+       width:$i / $columns * 100%;}
+       }
+       
 }
-
-
-
-
-
-
-@media only screen and (min-width:1200px) {
-
-#wrap{
+@media only screen and (min-width: $large){
+       @for $i from 1 through $columns{
+       .col-l-#{$i}{
+       width:$i / $columns * 100%;}
+       }
+       #wrap{
        width:1200px;
 }
 
 .wrap{
        width: auto;
 }
-
-.col-l-1{
-       width:8.33333%;
-}
-
-.col-l-2{
-       width:16.66667%;
-}
-
-.col-l-3{
-       width:25%;
-}
-
-
-.col-l-4{
-       width:33.33333%;
-}
-
-.col-l-5{
-       width:41.66667%;
 }
 
-.col-l-6{
-       width:50%;
-}
 
-.col-l-7{
-       width:58.33333%;
-}
 
-.col-l-8{
-       width:66.66666%;
+.row:before, .row:after{
+       content: "";
+       display:table;
 }
 
-.col-l-9{
-       width:75%;
+.row:after{
+       clear:both;
 }
 
-.col-l-10{
-       width:83.33333%;
-}
 
-.col-l-11{
-       width:91.66667%;
+.row{
+       margin: 0 -10px;
+       zoom: 1;
 }
 
-.col-l-12{
-       width:100%;
-}
-}
 
 /*FOOTER*/
 
 footer{
        clear:both;
-       height:200px;
-       background-color: #ffaa7f;
+       height:100px;
+       background-color: #e1702e;
 }
 
 footer ul {
        padding:0;
        margin:0 auto;
        list-style-type:none;
-       padding-top:70px;
+       padding-top:30px;
 }
 .textfooter{
        width:500px;
@@ -456,6 +378,7 @@ footer ul li a {
        display:block;
        float:left;   
        text-decoration:none;
+       color: #120260;
 }
 footer ul li a:hover {
        border-bottom: solid #1d0b78;