[CSS] background
[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:#1a0583;
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 }
39
40 html {
41 line-height: 1;
42 }
43
44 ol, ul {
45 list-style: none;
46 }
47
48 table {
49 border-collapse: collapse;
50 border-spacing: 0;
51 }
52
53 caption, th, td {
54 text-align: left;
55 font-weight: normal;
56 vertical-align: middle;
57 }
58
59 q, blockquote {
60 quotes: none;
61 }
62 q:before, q:after, blockquote:before, blockquote:after {
63 content: "";
64 content: none;
65 }
66
67 a img {
68 border: none;
69 }
70
71 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
72 display: block;
73 }
74
75 *{
76 -moz-box-sizing: border-box;
77 -webkit-box-sizing: border-box;
78 box-sizing:border-box;
79 }
80
81 body{
82 margin:0;
83 padding:0;
84 }
85
86 header{
87 margin:0 auto;
88 width:1200px;
89
90 }
91
92 header .spip_logos{
93 margin-left: 10px;
94 position:absolute;
95 }
96
97
98 #wrap{
99 padding-top:130px;
100 width:1200px;
101 margin:0 auto;
102 }
103 a{
104 text-decoration:none;
105 }
106
107 a:focus, a:hover, a:active{
108 background:none;
109 color:#1a0583;
110 }
111
112 h1{
113 margin: 0;
114 padding:0;
115 padding-top:15px;
116 padding-left:15px;
117 font-size:1.9em;
118 display:inline-block;
119 }
120
121 h2{
122 margin: 15px 15px;
123 font-size:1.3em;
124 display:inline-block;
125 }
126
127 h3{
128 margin:15px;
129 display:inline-block;
130 }
131
132 p{
133 margin:0 15px;
134 text-decoration:none;
135 text-align: justify;
136 }
137
138 /*1ERE COLONNE*/
139
140
141 #ateliers{
142 margin:0 10px;
143 }
144
145 #ateliers:after {
146 content: ""; /* Important, sinon l'élément n'est pas généré. */
147 display: table;
148 clear: both;
149 }
150
151 #ateliers ul{
152 padding:0;
153 margin:0;
154 list-style-type:none;
155 }
156
157 #ateliers ul li{
158 height: 300px;
159 margin-bottom:15px;
160 background-color: #2bc7cd;
161 }
162
163 #ateliers p{
164 margin: 15px 15px 0 15px;
165 font-size:1.3em;
166 font-weight: bold;
167 text-align: left;
168 }
169
170 #ateliers p:nth-child(2){
171 margin:0px 15px 15px 15px;
172 }
173
174
175 /*2EME COLONNE*/
176
177
178 #news{
179 margin:0 10px 10px 10px;
180 overflow: hidden;
181 }
182
183 #news img{
184 height:350px;
185 }
186
187 .article{
188 background-color:#ffaa7f;
189
190 }
191
192
193
194
195 /*3EME COLONNE*/
196
197
198
199 .map{
200 background-color:#6059d2;
201 height: 300px;
202 margin:0 0 15px 10px;
203 }
204
205 .agenda{
206 background-color: #3ee88d;
207 height:500px;
208 margin:0 0 0px 10px;
209 padding-right: 10px;
210 }
211
212 .agenda p{
213 line-height: 120%;
214 }
215
216 .agenda ul{
217 list-style-type:none;
218 padding:0;
219 margin:0;
220 padding-top:15px;
221 }
222
223 .date{
224 float:left;
225 font-size: 1.7em;
226
227 }
228
229 /*RESPONSIVE*/
230
231 .col-2,
232 .col-4,
233 .col-6,
234 .col-8,
235 .col-10,
236 .col-12{
237 float:left;
238 position:relative;
239
240
241 }
242
243 .row:before, .row:after{
244 content: "";
245 display:table;
246 }
247
248 .row:after{
249 clear:both;
250 }
251
252
253 .row{
254 margin: 0 -10px;
255 zoom: 1;
256 }
257
258
259
260 .col-1{
261 width:8.33333%;
262 }
263
264 .col-2{
265 width:16.66667%;
266 }
267
268 .col-3{
269 width:25%;
270 }
271
272
273 .col-4{
274 width:33.33333%;
275 }
276
277 .col-5{
278 width:41.66667%;
279 }
280
281 .col-6{
282 width:50%;
283 }
284
285 .col-7{
286 width:58.33333%;
287 }
288
289 .col-8{
290 width:66.66666%;
291 }
292
293 .col-9{
294 width:75%;
295 }
296
297 .col-10{
298 width:83.33333%;
299 }
300
301 .col-11{
302 width:91.66667%;
303 }
304
305 .col-12{
306 width:100%;
307 }
308
309
310
311
312 @media only screen and (min-width:640px) {
313
314 .col-m-1{
315 width:8.33333%;
316 }
317
318 .col-m-2{
319 width:16.66667%;
320 }
321
322 .col-m-3{
323 width:25%;
324 }
325
326
327 .col-m-4{
328 width:33.33333%;
329 }
330
331 .col-m-5{
332 width:41.66667%;
333 }
334
335 .col-m-6{
336 width:50%;
337 }
338
339 .col-m-7{
340 width:58.33333%;
341 }
342
343 .col-m-8{
344 width:66.66666%;
345 }
346
347 .col-m-9{
348 width:75%;
349 }
350
351 .col-m-10{
352 width:83.33333%;
353 }
354
355 .col-m-11{
356 width:91.66667%;
357 }
358
359 .col-m-12{
360 width:100%;
361 }
362
363 }
364
365
366
367
368
369
370 @media only screen and (min-width:1024px) {
371
372 .col-l-1{
373 width:8.33333%;
374 }
375
376 .col-l-2{
377 width:16.66667%;
378 }
379
380 .col-l-3{
381 width:25%;
382 }
383
384
385 .col-l-4{
386 width:33.33333%;
387 }
388
389 .col-l-5{
390 width:41.66667%;
391 }
392
393 .col-l-6{
394 width:50%;
395 }
396
397 .col-l-7{
398 width:58.33333%;
399 }
400
401 .col-l-8{
402 width:66.66666%;
403 }
404
405 .col-l-9{
406 width:75%;
407 }
408
409 .col-l-10{
410 width:83.33333%;
411 }
412
413 .col-l-11{
414 width:91.66667%;
415 }
416
417 .col-l-12{
418 width:100%;
419 }
420 }
421
422 /*FOOTER*/
423
424 footer{
425 clear:both;
426 height:200px;
427 width:100%;
428 background-color: #ffaa7f;
429
430 }
431
432 footer ul {
433 padding:0;
434 margin:0;
435 list-style-type:none;
436 padding-top:70px;
437 margin-left:100px;
438
439 }
440 footer li {
441 margin-left:2px;
442 float:left; /*pour IE*/
443 }
444 footer ul li a {
445 display:block;
446 float:left;
447 text-decoration:none;
448 }
449 footer ul li a:hover {
450 border-bottom: solid #1d0b78;
451 }
452