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