X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=css%2Fhabillage.scss;h=e919e0e168c3f0256941e4ff1c7508dfd320250f;hb=feeff5c42bdc5503ce843c74d0424567dca69993;hp=74cf4f331db69beae96ffc01f76e958e40c9e1ba;hpb=8a6fb72aa0504e7fb177147c60bed90d37515825;p=lhc%2Fweb%2Fclavettes.git diff --git a/css/habillage.scss b/css/habillage.scss index 74cf4f3..e919e0e 100644 --- a/css/habillage.scss +++ b/css/habillage.scss @@ -1,3 +1,83 @@ +@charset "UTF-8"; +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, h7, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + border-radius: 5px; + font: inherit; + font-size: 100%; + vertical-align: baseline; + font-family: sans-serif; + color: #000; /*#0c0fb7;*/ + text-align: left; +} + +html, body, span, applet, object, iframe, +blockquote, pre, section, +abbr, acronym, address, big, cite, code, +del, dfn, em, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +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: none; +} + +body { + background-color: #B3B6C7; +} + +html { + line-height: 1.1; +} + +ol, ul { + list-style: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +caption, th, td { + text-align: left; + font-weight: normal; + vertical-align: middle; +} + +q, blockquote { + quotes: none; +} +q:before, q:after, blockquote:before, blockquote:after { + content: ""; + content: none; +} + +a img { + border: none; +} + +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { + display: block; +} + *{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; @@ -7,62 +87,120 @@ body{ margin:0; padding:0; - font-family: sans-serif; + font-size: 0.9em; + } header{ - margin:0 auto; - width:100%; + margin: 15px auto 0 auto; + width:1200px; } -header img{ - margin-left:120px; +header .spip_logos{ + margin-left: 30px; + position:absolute; } + #wrap{ - padding-top:20px; - width:1100px; + padding-top:130px; + width:100%; margin:0 auto; } a{ + color: #373D4E; /*#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:#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: 15px -15px 5px 15px; +h2{ + margin: 0; padding:0; - font-size:2.0em; - color:#1d0b78; + margin-top:15px; + margin-left:15px; + font-size:1.8em; display:inline-block; + font-weight: bold; + width: 90%; +} +h2:hover{ + text-decoration: underline; } -h2{ +h3{ margin: 15px 15px; - font-size:1.3em; - color:#1d0b78; + font-size:1.2em; display:inline-block; - + width:90%; } -h3{ +h4{ margin:15px; display:inline-block; - color:#1d0b78; } p{ margin:0 15px; - color:#1d0b78; + padding-bottom:15px; text-decoration:none; + text-align: justify; } -/*1ERE COLONNE*/ +.banniere{ + margin:0 auto; + width: 1100px; + height: 100px; + float: right; +} +/*1ERE COLONNE*/ +.titre{ + background-color: #262730; + height: 47px; + width: 100%; + color:#B7CEBF; + margin:0 0 15px 0; + padding:10px 15px; + text-transform: uppercase; + font-family: "Trebuchet MS", Helvetica, arial, sans-serif; + font-size: 1.7em; + font-weight: normal; +} +.titre:hover{ + text-decoration: none; + font-weight: normal; +} +#ateliers h3{ + margin: 15px 15px; + font-size:1.2em; + display:inline-block; + text-decoration: none; +} #ateliers{ margin:0 10px; - overflow: hidden; - } #ateliers:after { @@ -75,251 +213,315 @@ p{ padding:0; margin:0; list-style-type:none; - } #ateliers ul li{ - height: 300px; margin-bottom:15px; - background-color: #2bc7cd; - } - - -/*2EME COLONNE*/ - - -#news{ - background-color:#a51616; - margin:0 10px 10px 10px; - overflow: hidden; - +.descriptif{ + margin-left:15px; } -#news img{ - height:350px; +#ateliers p{ + margin: 15px 15px 0 0; + font-size:1.0em; + text-align: left; } - -.article1, -.article2, -.article3, -.article4{ - background-color:#ffaa7f; - +#ateliers address{ + margin:0 0 0 15px; + line-height: 0.6; } - -.suite{ - text-align:right; +.horairesouvertures{ + margin:0 0 0 15px; +} +#ateliers nav{ + padding-top:15px; + padding-bottom: 15px; + clear:both; +} +.fa{ + color: #373D4E; /*#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; } +.logoatelier{ + text-align: center; +} -/*3EME COLONNE*/ +/*2EME COLONNE*/ -.map{ - background-color:#6059d2; - height: 300px; - margin:0 0 15px 10px; +#news{ + margin:0 10px; } - -.agenda{ - background-color: #ca52ae; - height: 300px; - margin:0 0 0px 10px; +.article, .auteur{ + background-color:#e8e3e1; + margin:0 0 15px 0; + line-height: 1.3; } - -/*RESPONSIVE*/ - -.col-2, -.col-4, -.col-6, -.col-8, -.col-10, -.col-12{ - float:left; - position:relative; - - +.auteur ul { + margin: 15px 0 0 15px; } - -.row:before, .row:after{ - content: ""; - display:table; +.auteur .submit { + margin: 15px; } - -.row:after{ - clear:both; +.article h1{ + font-size: 1.4em; + width:100%; } - - -.row{ - margin: 0 -10px; - zoom: 1; +.article .fa{ + width: 20px; + height: 20px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; } - - - -.col-1{ - width:8.33333%; +.article .fa a{ + display: none; } - -.col-2{ - width:16.66667%; +.article img{ + width:100%; + height:auto; + margin:0; } - -.col-3{ - width:25%; +.article ul{ + margin:0 15px; +} +.article li{ + margin:0 15px; +} +.article div{ + margin:0 15px; } -.col-4{ - width:33.33333%; +.articlefull,.auteurfull{ + background-color:#e8e3e1; + margin:0 0 15px 0; + line-height: 1.3; } - -.col-5{ - width:41.66667%; +.articlefull h1{ + font-size: 1.4em; + width:100%; } - -.col-6{ - width:50%; +.articlefull .fa{ + width: 20px; + height: 20px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; } - -.col-7{ - width:58.33333%; +.articlefull .fa a{ + display: none; } - -.col-8{ - width:66.66666%; +.articlefull img{ + width:auto; + margin:0; } - -.col-9{ - width:75%; +.articlefull ul{ + margin:0 15px; } - -.col-10{ - width:83.33333%; +.articlefull li{ + margin:0 15px; } - -.col-11{ - width:91.66667%; +.articlefull div{ + margin:0 15px; } - -.col-12{ +address{ + padding-bottom: 10px; +} +address p{ + margin:0; + padding:0; +} +.historique{ + background-color: #ffd2a1; + margin:0 15px 15px 15px; +} +.historique h1{ width:100%; } +#atelierdescription{ + margin:0 10px; +} +#atelierdescription #news{ + margin:0; +} +.spip_logos{ + width:auto!important; +} +.logoatelier{ + width: 200px; + height: 200px; + margin: 15px 15px 15px 15px; + text-align: center; +} -@media only screen and (min-width:640px) { -.col-m-1{ - width:8.33333%; +.urlsites{ + padding:15px 0; } -.col-m-2{ - width:16.66667%; -} +/*3EME COLONNE */ -.col-m-3{ - width:25%; -} -.col-m-4{ - width:33.33333%; +.map{ + height: 300px; + margin:0 10px 15px 10px; + overflow: hidden; } +.agenda{ + background-color: #262730; + margin:0 10px 15px 10px; + padding-right: 10px; + padding-bottom: 15px; -.col-m-5{ - width:41.66667%; } -.col-m-6{ - width:50%; -} -.col-m-7{ - width:58.33333%; +.agenda h2:hover{ + text-decoration: none; + color: #ffffff; } - -.col-m-8{ - width:66.66666%; +.agenda h2{ + color: #B7CEBF; } - -.col-m-9{ - width:75%; +.agenda p{ + padding: 0; + color: #B7CEBF; } - -.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; + color: #B7CEBF; +} +time{ + color: #B7CEBF; } +/*RESPONSIVE*/ +$columns: 12!default; +$medium:650px; +$large:1200px; +%col{ + float:left; + position: relative; +} -@media only screen and (min-width:1024px) { - -.col-l-1{ - width:8.33333%; +@for $i from 1 through $columns{ + .col-#{$i}{ + @extend %col; + width:$i / $columns * 100%;} + .col-m-#{$i}, .col-l-#{$i}{@extend %col;} } -.col-l-2{ - width:16.66667%; +@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: $large){ + @for $i from 1 through $columns{ + .col-l-#{$i}{ + width:$i / $columns * 100%;} + } + #wrap{ + width:1200px; } -.col-l-3{ - width:25%; +.wrap{ + width: auto; +} } -.col-l-4{ - width:33.33333%; -} -.col-l-5{ - width:41.66667%; +.row:before, .row:after{ + content: ""; + display:table; } -.col-l-6{ - width:50%; +.row:after{ + clear:both; } -.col-l-7{ - width:58.33333%; -} -.col-l-8{ - width:66.66666%; +.row{ + margin: 0 -10px; + zoom: 1; } -.col-l-9{ - width:75%; -} -.col-l-10{ - width:83.33333%; +/*FOOTER*/ + +footer{ + clear:both; + height:125px; + background-color: #262730; } -.col-l-11{ - width:91.66667%; +footer ul { + width:1000px; + margin: 0px auto; + padding:30px 0 0; + list-style-type:none; } -.col-l-12{ - width:100%; +footer li { + float:left; /*pour IE*/ + } +footer ul li a { + text-align: right; + display:block; + text-decoration:none; + color: #B7CEBF; } +footer ul li a:hover { + border-bottom: solid #0c0fb7; +}