X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=css%2Fhabillage.scss;h=aecc2381b6cbf40ba8c718fc1c186a707b4b2c8a;hb=faff5e85750599c201b0d44e225b819b2a0c1afd;hp=31f1dc85eb489d60c2b509cc829f5ade91d865b8;hpb=185ed2cd2b64c9200b532b2c93fc3eb9b7f5484a;p=lhc%2Fweb%2Fclavettes.git diff --git a/css/habillage.scss b/css/habillage.scss index 31f1dc8..aecc238 100644 --- a/css/habillage.scss +++ b/css/habillage.scss @@ -19,7 +19,7 @@ time, mark, audio, video { font-size: 100%; vertical-align: baseline; font-family: sans-serif; - color:#1a0583; + color:#0c0fb7; 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 { @@ -82,10 +82,12 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, body{ margin:0; padding:0; + font-size: 0.9em; + } header{ - margin:0 auto; + margin:15px auto 0 auto; width:1200px; } @@ -98,31 +100,53 @@ header .spip_logos{ #wrap{ padding-top:130px; - width:1200px; + width:100%; margin:0 auto; } a{ + color:#0fe4ab; 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:#0c0fb7; + -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:hover > i { + color : #0c0fb7 !important; + -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; - font-size:1.9em; + margin-top:15px; + margin-left:15px; + font-size:1.8em; display:inline-block; font-weight: bold; } +h1:hover{ + text-decoration: underline; +} + h2{ margin: 15px 15px; - font-size:1.3em; + font-size:1.2em; display:inline-block; } @@ -140,9 +164,19 @@ p{ /*1ERE COLONNE*/ - +.titre{ + background-color: #05ffbc; + height: 47px; + width: 100%; + color:#fff; + margin:0 0 15px 0; + padding:10px 15px; + text-transform: uppercase; + font-family: "Trebuchet MS", Helvetica, arial, sans-serif; + font-size: 1.7em; +} #ateliers{ - margin:0 10px; + margin:0 10px; } #ateliers:after { @@ -158,296 +192,280 @@ p{ } #ateliers ul li{ - margin-bottom:15px; } +.descriptif{ + margin-left:15px; +} #ateliers p{ margin: 15px 15px 0 0; - font-size:1.3em; - font-weight: bold; - text-align: left; + font-size:1.0em; + 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; +} +#ateliers nav{ + padding-top:15px; + padding-bottom: 15px; + clear:both; +} +.fa{ + color:#0fe4ab; + -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; +} +.fa:hover{ + color:#0c0fb7; +} +#atelierdescription nav{ + margin-bottom: 15px; +} +.voirenligne{ + padding:15px; + text-align: right; } - - /*2EME COLONNE*/ #news{ overflow: hidden; + margin:0 10px; } - -#news img{ - height:350px; -} - .article{ - background-color:#ffaa7f; - margin:0 10px 15px 10px; + background-color:#e8e3e1; + margin:0 0 15px 0; + line-height: 1.3; } - - - - -/*3EME COLONNE*/ - - - -.map{ - background-color:#6059d2; - height: 300px; - margin:0 0 15px 10px; +.article h1{ + font-size: 1.4em; + width:100%; } - -.agenda{ - background-color: #3ee88d; - height:500px; - margin:0 0 0px 10px; - padding-right: 10px; +.article .fa{ + width: 20px; + height: 20px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; } - -.agenda p{ - line-height: 120%; +.article .fa a{ + display: none; } - -.agenda ul{ - list-style-type:none; - padding:0; +.article img{ + width:100%; margin:0; - padding-top:15px; -} - -.date{ - float:left; - font-size: 1.7em; - -} - -/*RESPONSIVE*/ - -.col-2, -.col-4, -.col-6, -.col-8, -.col-10, -.col-12{ - float:left; - position:relative; - - } - -.row:before, .row:after{ - content: ""; - display:table; +.article ul{ + margin:0 15px; } - -.row:after{ - clear:both; +.article li{ + margin:0 15px; } - - -.row{ - margin: 0 -10px; - zoom: 1; +.article div{ + margin:0 15px; } - -.col-1{ - width:8.33333%; +.articlefull{ + background-color:#e8e3e1; + margin:0 0 15px 0; + line-height: 1.3; } - -.col-2{ - width:16.66667%; +.articlefull h1{ + font-size: 1.4em; + width:100%; } - -.col-3{ - width:25%; +.articlefull .fa{ + width: 20px; + height: 20px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; } - - -.col-4{ - width:33.33333%; +.articlefull .fa a{ + display: none; } - -.col-5{ - width:41.66667%; +.articlefull img{ + width:auto; + margin:0; } - -.col-6{ - width:50%; +.articlefull ul{ + margin:0 15px; } - -.col-7{ - width:58.33333%; +.articlefull li{ + margin:0 15px; } - -.col-8{ - width:66.66666%; +.articlefull div{ + margin:0 15px; } - -.col-9{ - width:75%; +address{ + padding-bottom: 10px; } - -.col-10{ - width:83.33333%; +address p{ + margin:0; + padding:0; } - -.col-11{ - width:91.66667%; +.historique{ + background-color: #ffd2a1; + margin:0 15px 15px 15px; } - -.col-12{ +.historique h1{ width:100%; } - - - - -@media only screen and (min-width:640px) { - -.col-m-1{ - width:8.33333%; +#atelierdescription{ + margin:0 10px; } - -.col-m-2{ - width:16.66667%; +#atelierdescription #news{ + margin:0; } - -.col-m-3{ - width:25%; +.spip_logos{ + width:auto!important; +} +.urlsites{ + padding:15px 0; } +/*3EME COLONNE*/ -.col-m-4{ - width:33.33333%; -} -.col-m-5{ - width:41.66667%; -} -.col-m-6{ - width:50%; +.map{ + height: 300px; + margin:0 10px 15px 10px; + overflow: hidden; } - -.col-m-7{ - width:58.33333%; +.agenda{ + background-color: #05ffbc; + margin:0 10px 15px 10px; + padding-right: 10px; + padding-bottom: 15px; } - -.col-m-8{ - width:66.66666%; +.agenda h1:hover{ + text-decoration: none; } - -.col-m-9{ - width:75%; +.agenda p{ + padding: 0; } - -.col-m-10{ - width:83.33333%; +.agenda ul{ + list-style-type:none; + padding:0; + margin:0; + padding-top:15px; } - -.col-m-11{ - width:91.66667%; +.date{ + float:left; + font-size: 1.7em; + clear: both; } +.event{ + display: block; + margin-bottom: 45px; + padding-top: 5px; -.col-m-12{ - width:100%; } - +.horaire{ + font-size: 0.8em; + margin-bottom: 20px; + display: block; } +/*RESPONSIVE*/ +$columns: 12!default; +$medium:650px; +$large:1200px; - -@media only screen and (min-width:1024px) { - -.col-l-1{ - width:8.33333%; +%col{ + float:left; + position: relative; } -.col-l-2{ - width:16.66667%; +@for $i from 1 through $columns{ + .col-#{$i}{ + @extend %col; + width:$i / $columns * 100%;} + .col-m-#{$i}, .col-l-#{$i}{@extend %col;} } -.col-l-3{ - width:25%; +@media only screen and (min-width: $medium){ + @for $i from 1 through $columns{ + .col-m-#{$i}{ + width:$i / $columns * 100%;} + } + } - - -.col-l-4{ - width:33.33333%; +@media only screen and (min-width: $large){ + @for $i from 1 through $columns{ + .col-l-#{$i}{ + width:$i / $columns * 100%;} + } + #wrap{ + width:1200px; } -.col-l-5{ - width:41.66667%; +.wrap{ + width: auto; } - -.col-l-6{ - width:50%; } -.col-l-7{ - width:58.33333%; -} -.col-l-8{ - width:66.66666%; -} -.col-l-9{ - width:75%; +.row:before, .row:after{ + content: ""; + display:table; } -.col-l-10{ - width:83.33333%; +.row:after{ + clear:both; } -.col-l-11{ - width:91.66667%; -} -.col-l-12{ - width:100%; -} +.row{ + margin: 0 -10px; + zoom: 1; } + /*FOOTER*/ footer{ clear:both; - height:200px; - width:100%; - background-color: #ffaa7f; - + height:100px; + background-color: #05ffbc; } footer ul { padding:0; - margin:0; + width:300px; + margin:0 auto; list-style-type:none; - padding-top:70px; - margin-left:100px; - + padding-top:30px; +} +.textfooter{ + width:500px; + margin:0 auto; } footer li { - margin-left:2px; float:left; /*pour IE*/ + text-align: center; } footer ul li a { display:block; float:left; text-decoration:none; + color: #0c0fb7; } footer ul li a:hover { - border-bottom: solid #1d0b78; + border-bottom: solid #0c0fb7; }