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