[CSS+SKEL] + images accueil
[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 }
251 .article .fa{
252 width: 20px;
253 height: 20px;
254 -moz-border-radius: 10px;
255 -webkit-border-radius: 10px;
256 border-radius: 10px;
257 }
258 .article .fa a{
259 display: none;
260 }
261 .article img{
262 width:100%;
263 margin:0;
264 }
265 .article ul{
266 margin:0 15px;
267 }
268 .article li{
269 margin:0 15px;
270 }
271 .article div{
272 margin:0 15px;
273 }
274
275
276 .articlefull{
277 background-color:#e8e3e1;
278 margin:0 0 15px 0;
279 line-height: 1.3;
280 }
281 .articlefull h1{
282 font-size: 1.4em;
283 }
284 .articlefull .fa{
285 width: 20px;
286 height: 20px;
287 -moz-border-radius: 10px;
288 -webkit-border-radius: 10px;
289 border-radius: 10px;
290 }
291 .articlefull .fa a{
292 display: none;
293 }
294 .articlefull img{
295 width:auto;
296 margin:0;
297 }
298 .articlefull ul{
299 margin:0 15px;
300 }
301 .articlefull li{
302 margin:0 15px;
303 }
304 .articlefull div{
305 margin:0 15px;
306 }
307 address{
308 padding-bottom: 10px;
309 }
310 address p{
311 margin:0;
312 padding:0;
313 }
314 .historique{
315 background-color: #ffd2a1;
316 margin:0 15px 15px 15px;
317 }
318 .historique h1{
319 width:100%;
320 }
321 #atelierdescription{
322 margin:0 10px;
323 }
324 #atelierdescription #news{
325 margin:0;
326 }
327 .spip_logos{
328 width:auto!important;
329 }
330 .urlsites{
331 padding:15px 0;
332 }
333
334 /*3EME COLONNE*/
335
336
337
338 .map{
339 height: 300px;
340 margin:0 10px 15px 10px;
341 overflow: hidden;
342 }
343 .agenda{
344 background-color: #05ffbc;
345 margin:0 10px 15px 10px;
346 padding-right: 10px;
347 padding-bottom: 15px;
348 }
349 .agenda h1:hover{
350 text-decoration: none;
351 }
352 .agenda p{
353 padding: 0;
354 }
355 .agenda ul{
356 list-style-type:none;
357 padding:0;
358 margin:0;
359 padding-top:15px;
360 }
361 .date{
362 float:left;
363 font-size: 1.7em;
364 clear: both;
365 }
366 .event{
367 display: block;
368 margin-bottom: 45px;
369 padding-top: 5px;
370
371 }
372 .horaire{
373 font-size: 0.8em;
374 margin-bottom: 20px;
375 display: block;
376 }
377
378
379 /*RESPONSIVE*/
380
381
382 $columns: 12!default;
383 $medium:650px;
384 $large:1200px;
385
386 %col{
387 float:left;
388 position: relative;
389 }
390
391 @for $i from 1 through $columns{
392 .col-#{$i}{
393 @extend %col;
394 width:$i / $columns * 100%;}
395 .col-m-#{$i}, .col-l-#{$i}{@extend %col;}
396 }
397
398 @media only screen and (min-width: $medium){
399 @for $i from 1 through $columns{
400 .col-m-#{$i}{
401 width:$i / $columns * 100%;}
402 }
403
404 }
405 @media only screen and (min-width: $large){
406 @for $i from 1 through $columns{
407 .col-l-#{$i}{
408 width:$i / $columns * 100%;}
409 }
410 #wrap{
411 width:1200px;
412 }
413
414 .wrap{
415 width: auto;
416 }
417 }
418
419
420
421 .row:before, .row:after{
422 content: "";
423 display:table;
424 }
425
426 .row:after{
427 clear:both;
428 }
429
430
431 .row{
432 margin: 0 -10px;
433 zoom: 1;
434 }
435
436
437 /*FOOTER*/
438
439 footer{
440 clear:both;
441 height:100px;
442 background-color: #05ffbc;
443 }
444
445 footer ul {
446 padding:0;
447 margin:0 auto;
448 list-style-type:none;
449 padding-top:30px;
450 }
451 .textfooter{
452 width:500px;
453 margin:0 auto;
454 }
455 footer li {
456 float:left; /*pour IE*/
457 text-align: center;
458 }
459 footer ul li a {
460 display:block;
461 float:left;
462 text-decoration:none;
463 color: #0c0fb7;
464 }
465 footer ul li a:hover {
466 border-bottom: solid #0c0fb7;
467 }
468