bf1ec1764ba29755fef97442a3165c6f16803ca8
[lhc/web/clavettes.git] / css / habillage.scss
1 @charset "UTF-8";
2 html, body, div, span, applet, object, iframe,
3 h1, h2, h3, h4, h5, h6, h7, p, blockquote, pre,
4 a, abbr, acronym, address, big, cite, code,
5 del, dfn, em, img, ins, kbd, q, s, samp,
6 small, strike, strong, sub, sup, tt, var,
7 b, u, i, center,
8 dl, dt, dd, ol, ul, li,
9 fieldset, form, label, legend,
10 table, caption, tbody, tfoot, thead, tr, th, td,
11 article, aside, canvas, details, embed,
12 figure, figcaption, footer, header, hgroup,
13 menu, nav, output, ruby, section, summary,
14 time, mark, audio, video {
15 margin: 0;
16 padding: 0;
17 border: 0;
18 border-radius: 5px;
19 font: inherit;
20 font-size: 100%;
21 vertical-align: baseline;
22 font-family: sans-serif;
23 color: #000; /*#0c0fb7;*/
24 text-align: left;
25 }
26
27 html, body, span, applet, object, iframe,
28 blockquote, pre, section,
29 abbr, acronym, address, big, cite, code,
30 del, dfn, em, ins, kbd, q, s, samp,
31 small, strike, strong, sub, sup, tt, var,
32 dl, dt, dd, ol, ul, li,
33 fieldset, form, label, legend,
34 table, caption, tbody, tfoot, thead, tr, th, td,
35 article, aside, canvas, details, embed,
36 figure, figcaption,hgroup,
37 menu, nav, output, ruby, summary, mark, audio, video {
38 background-color: #FFFFFF;
39 background: none;
40 }
41
42 body {
43 background-color: #B3B6C7;
44 }
45
46 html {
47 line-height: 1.1;
48 }
49
50 ol, ul {
51 list-style: none;
52 }
53
54 table {
55 border-collapse: collapse;
56 border-spacing: 0;
57 }
58
59 caption, th, td {
60 text-align: left;
61 font-weight: normal;
62 vertical-align: middle;
63 }
64
65 q, blockquote {
66 quotes: none;
67 }
68 q:before, q:after, blockquote:before, blockquote:after {
69 content: "";
70 content: none;
71 }
72
73 a img {
74 border: none;
75 }
76
77 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
78 display: block;
79 }
80
81 *{
82 -moz-box-sizing: border-box;
83 -webkit-box-sizing: border-box;
84 box-sizing:border-box;
85 }
86
87 body{
88 margin:0;
89 padding:0;
90 font-size: 0.9em;
91
92 }
93
94 header{
95 margin:15px auto 0 auto;
96 width:1200px;
97 }
98
99 header .spip_logos{
100 margin-left: 10px;
101 position:absolute;
102 }
103
104
105 #wrap{
106 padding-top:130px;
107 width:100%;
108 margin:0 auto;
109 }
110 a{
111 color: #373D4E; /*#0fe4ab;*/
112 text-decoration:none;
113 -webkit-transition: all 0.3s ease 0s;
114 -moz-transition: all 0.3s ease 0s;
115 -ms-transition: all 0.3s ease 0s;
116 -o-transition: all 0.3s ease 0s;
117 transition: all 0.3s ease 0s;
118 }
119
120 a:focus, a:hover, a:active{
121 background:none;
122 color:#0c0fb7;
123 -webkit-transition: all 0.3s ease 0s;
124 -moz-transition: all 0.3s ease 0s;
125 -ms-transition: all 0.3s ease 0s;
126 -o-transition: all 0.3s ease 0s;
127 transition: all 0.3s ease 0s;
128 }
129 a:hover > i {
130 color : #0c0fb7 !important;
131 -webkit-transition: all 0.3s ease 0s;
132 -moz-transition: all 0.3s ease 0s;
133 -ms-transition: all 0.3s ease 0s;
134 -o-transition: all 0.3s ease 0s;
135 transition: all 0.3s ease 0s;
136 }
137
138 h2{
139 margin: 0;
140 padding:0;
141 margin-top:15px;
142 margin-left:15px;
143 font-size:1.8em;
144 display:inline-block;
145 font-weight: bold;
146 width: 90%;
147 }
148 h2:hover{
149 text-decoration: underline;
150 }
151
152 h3{
153 margin: 15px 15px;
154 font-size:1.2em;
155 display:inline-block;
156 width:90%;
157 }
158
159 h4{
160 margin:15px;
161 display:inline-block;
162 }
163
164 p{
165 margin:0 15px;
166 padding-bottom:15px;
167 text-decoration:none;
168 text-align: justify;
169 }
170
171 .banniere{
172 margin:0 auto;
173 width: 1100px;
174 height: 100px;
175 float: right;
176 }
177
178 /*1ERE COLONNE*/
179
180 .titre{
181 background-color: #262730;
182 height: 47px;
183 width: 100%;
184 color:#B7CEBF;
185 margin:0 0 15px 0;
186 padding:10px 15px;
187 text-transform: uppercase;
188 font-family: "Trebuchet MS", Helvetica, arial, sans-serif;
189 font-size: 1.7em;
190 font-weight: normal;
191 }
192 .titre:hover{
193 text-decoration: none;
194 font-weight: normal;
195 }
196 #ateliers h3{
197 margin: 15px 15px;
198 font-size:1.2em;
199 display:inline-block;
200 text-decoration: none;
201 }
202 #ateliers{
203 margin:0 10px;
204 }
205
206 #ateliers:after {
207 content: ""; /* Important, sinon l'élément n'est pas généré. */
208 display: table;
209 clear: both;
210 }
211
212 #ateliers ul{
213 padding:0;
214 margin:0;
215 list-style-type:none;
216 }
217
218 #ateliers ul li{
219 margin-bottom:15px;
220 }
221 .descriptif{
222 margin-left:15px;
223 }
224
225 #ateliers p{
226 margin: 15px 15px 0 0;
227 font-size:1.0em;
228 text-align: left;
229 }
230 #ateliers address{
231 margin:0 0 0 15px;
232 line-height: 0.6;
233 }
234 .horairesouvertures{
235 margin:0 0 0 15px;
236 }
237 #ateliers nav{
238 padding-top:15px;
239 padding-bottom: 15px;
240 clear:both;
241 }
242 .fa{
243 color: #373D4E; /*#0fe4ab;*/
244 -webkit-transition: all 0.3s ease 0s;
245 -moz-transition: all 0.3s ease 0s;
246 -ms-transition: all 0.3s ease 0s;
247 -o-transition: all 0.3s ease 0s;
248 transition: all 0.3s ease 0s;
249 }
250 .fa:hover{
251 color:#0c0fb7;
252 }
253 #atelierdescription nav{
254 margin-bottom: 15px;
255 }
256 .voirenligne{
257 padding:15px;
258 text-align: right;
259 }
260
261
262 .logoatelier{
263 text-align: center;
264 }
265
266
267 /*2EME COLONNE*/
268
269
270 #news{
271 margin:0 10px;
272 }
273 .article{
274 background-color:#e8e3e1;
275 margin:0 0 15px 0;
276 line-height: 1.3;
277 }
278 .article h1{
279 font-size: 1.4em;
280 width:100%;
281 }
282 .article .fa{
283 width: 20px;
284 height: 20px;
285 -moz-border-radius: 10px;
286 -webkit-border-radius: 10px;
287 border-radius: 10px;
288 }
289 .article .fa a{
290 display: none;
291 }
292 .article img{
293 width:100%;
294 height:auto;
295 margin:0;
296 }
297 .article ul{
298 margin:0 15px;
299 }
300 .article li{
301 margin:0 15px;
302 }
303 .article div{
304 margin:0 15px;
305 }
306
307
308 .articlefull{
309 background-color:#e8e3e1;
310 margin:0 0 15px 0;
311 line-height: 1.3;
312 }
313 .articlefull h1{
314 font-size: 1.4em;
315 width:100%;
316 }
317 .articlefull .fa{
318 width: 20px;
319 height: 20px;
320 -moz-border-radius: 10px;
321 -webkit-border-radius: 10px;
322 border-radius: 10px;
323 }
324 .articlefull .fa a{
325 display: none;
326 }
327 .articlefull img{
328 width:auto;
329 margin:0;
330 }
331 .articlefull ul{
332 margin:0 15px;
333 }
334 .articlefull li{
335 margin:0 15px;
336 }
337 .articlefull div{
338 margin:0 15px;
339 }
340 address{
341 padding-bottom: 10px;
342 }
343 address p{
344 margin:0;
345 padding:0;
346 }
347 .historique{
348 background-color: #ffd2a1;
349 margin:0 15px 15px 15px;
350 }
351 .historique h1{
352 width:100%;
353 }
354 #atelierdescription{
355 margin:0 10px;
356 }
357 #atelierdescription #news{
358 margin:0;
359 }
360 .spip_logos{
361 width:auto!important;
362 }
363
364
365 .logoatelier{
366 width: 200px;
367 height: 200px;
368 margin: 15px 15px 15px 15px;
369 text-align: center;
370 }
371
372
373
374 .urlsites{
375 padding:15px 0;
376 }
377
378 /*3EME COLONNE */
379
380
381
382 .map{
383 height: 300px;
384 margin:0 10px 15px 10px;
385 overflow: hidden;
386 }
387 .agenda{
388 background-color: #262730;
389 margin:0 10px 15px 10px;
390 padding-right: 10px;
391 padding-bottom: 15px;
392
393 }
394
395
396 .agenda h2:hover{
397 text-decoration: none;
398 color: #ffffff;
399 }
400 .agenda h2{
401 color: #B7CEBF;
402 }
403 .agenda p{
404 padding: 0;
405 color: #B7CEBF;
406 }
407 .agenda ul{
408 list-style-type:none;
409 padding:0;
410 margin:0;
411 padding-top:15px;
412 }
413 .date{
414 float:left;
415 font-size: 1.7em;
416 clear: both;
417 }
418 .event{
419 display: block;
420 margin-bottom: 45px;
421 padding-top: 5px;
422
423 }
424 .horaire{
425 font-size: 0.8em;
426 margin-bottom: 20px;
427 display: block;
428 }
429
430
431 /*RESPONSIVE*/
432
433
434 $columns: 12!default;
435 $medium:650px;
436 $large:1200px;
437
438 %col{
439 float:left;
440 position: relative;
441 }
442
443 @for $i from 1 through $columns{
444 .col-#{$i}{
445 @extend %col;
446 width:$i / $columns * 100%;}
447 .col-m-#{$i}, .col-l-#{$i}{@extend %col;}
448 }
449
450 @media only screen and (min-width: $medium){
451 @for $i from 1 through $columns{
452 .col-m-#{$i}{
453 width:$i / $columns * 100%;}
454 }
455
456 }
457 @media only screen and (min-width: $large){
458 @for $i from 1 through $columns{
459 .col-l-#{$i}{
460 width:$i / $columns * 100%;}
461 }
462 #wrap{
463 width:1200px;
464 }
465
466 .wrap{
467 width: auto;
468 }
469 }
470
471
472
473 .row:before, .row:after{
474 content: "";
475 display:table;
476 }
477
478 .row:after{
479 clear:both;
480 }
481
482
483 .row{
484 margin: 0 -10px;
485 zoom: 1;
486 }
487
488
489 /*FOOTER*/
490
491 footer{
492 clear:both;
493 height:125px;
494 background-color: #262730;
495 }
496
497 footer ul {
498 width:1000px;
499 margin: 0px auto;
500 padding:30px 0 0;
501 list-style-type:none;
502 }
503
504 footer li {
505 float:left; /*pour IE*/
506
507 }
508 footer ul li a {
509 text-align: right;
510 display:block;
511 text-decoration:none;
512 color: #B7CEBF;
513 }
514 footer ul li a:hover {
515 border-bottom: solid #0c0fb7;
516 }
517