[CSS]+liens voir en ligne
[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 }
86
87 header{
88 margin:15px auto 0 auto;
89 width:1200px;
90
91 }
92
93 header .spip_logos{
94 margin-left: 10px;
95 position:absolute;
96 }
97
98
99 #wrap{
100 padding-top:130px;
101 width:100%;
102 margin:0 auto;
103 }
104 a{
105 color:#05ffbc;
106 text-decoration:none;
107 -webkit-transition: all 0.3s ease 0s;
108 -moz-transition: all 0.3s ease 0s;
109 -ms-transition: all 0.3s ease 0s;
110 -o-transition: all 0.3s ease 0s;
111 transition: all 0.3s ease 0s;
112 }
113
114 a:focus, a:hover, a:active{
115 background:none;
116 color:#0c0fb7;
117 -webkit-transition: all 0.3s ease 0s;
118 -moz-transition: all 0.3s ease 0s;
119 -ms-transition: all 0.3s ease 0s;
120 -o-transition: all 0.3s ease 0s;
121 transition: all 0.3s ease 0s;
122 }
123 a:hover > i {
124 color : #0c0fb7 !important;
125 -webkit-transition: all 0.3s ease 0s;
126 -moz-transition: all 0.3s ease 0s;
127 -ms-transition: all 0.3s ease 0s;
128 -o-transition: all 0.3s ease 0s;
129 transition: all 0.3s ease 0s;
130 }
131 h1{
132 margin: 0;
133 padding:0;
134 margin-top:15px;
135 margin-left:15px;
136 font-size:1.9em;
137 display:inline-block;
138 font-weight: bold;
139 }
140
141 h1:hover{
142 text-decoration: underline;
143 }
144
145 h2{
146 margin: 15px 15px;
147 font-size:1.3em;
148 display:inline-block;
149 }
150
151 h3{
152 margin:15px;
153 display:inline-block;
154 }
155
156 p{
157 margin:0 15px;
158 padding-bottom:15px;
159 text-decoration:none;
160 text-align: justify;
161 }
162
163 /*1ERE COLONNE*/
164
165 .titre{
166 background-color: #05ffbc;
167 height: 47px;
168 width: 100%;
169 color:#fff;
170 margin:0 0 15px 0;
171 padding:10px 15px;
172 text-transform: uppercase;
173 font-family: "Trebuchet MS", Helvetica, arial, sans-serif;
174 font-size: 1.7em;
175 -webkit-transition: all 0.3s ease 0s;
176 -moz-transition: all 0.3s ease 0s;
177 -ms-transition: all 0.3s ease 0s;
178 -o-transition: all 0.3s ease 0s;
179 transition: all 0.3s ease 0s;
180 }
181 .titre:hover{
182 background-color: #0c0fb7;
183 -webkit-transition: all 0.3s ease 0s;
184 -moz-transition: all 0.3s ease 0s;
185 -ms-transition: all 0.3s ease 0s;
186 -o-transition: all 0.3s ease 0s;
187 transition: all 0.3s ease 0s;
188 }
189 #ateliers{
190 margin:0 10px;
191 }
192
193 #ateliers:after {
194 content: ""; /* Important, sinon l'élément n'est pas généré. */
195 display: table;
196 clear: both;
197 }
198
199 #ateliers ul{
200 padding:0;
201 margin:0;
202 list-style-type:none;
203 }
204
205 #ateliers ul li{
206 margin-bottom:15px;
207 }
208 .descriptif{
209 margin-left:15px;
210 }
211
212 #ateliers p{
213 margin: 15px 15px 0 0;
214 font-size:1.0em;
215 text-align: left;
216 }
217 #ateliers address{
218 margin:0 0 0 15px;
219 line-height: 0.6;
220 }
221 .horairesouvertures{
222 margin:0 0 0 15px;
223 }
224 #ateliers nav{
225 padding-top:15px;
226 padding-bottom: 15px;
227 clear:both;
228 }
229 .fa{
230 color:#05ffbc;
231 -webkit-transition: all 0.3s ease 0s;
232 -moz-transition: all 0.3s ease 0s;
233 -ms-transition: all 0.3s ease 0s;
234 -o-transition: all 0.3s ease 0s;
235 transition: all 0.3s ease 0s;
236 }
237 .fa:hover{
238 color:#0c0fb7;
239 }
240 #atelierdescription nav{
241 margin-bottom: 15px;
242 }
243 .voirenligne{
244 padding:15px;
245 text-align: right;
246 }
247 /*2EME COLONNE*/
248
249
250 #news{
251 overflow: hidden;
252 margin:0 10px;
253 }
254 .article{
255 background-color:#e8e3e1;
256 margin:0 0 15px 0;
257 line-height: 1.3;
258 }
259 .article .fa{
260 width: 20px;
261 height: 20px;
262 -moz-border-radius: 10px;
263 -webkit-border-radius: 10px;
264 border-radius: 10px;
265 }
266 .article .fa a{
267 display: none;
268 }
269 .article img{
270 width:auto;
271 margin:0;
272 }
273 address{
274 padding-bottom: 10px;
275 }
276 address p{
277 margin:0;
278 padding:0;
279 }
280 .historique{
281 background-color: #ffd2a1;
282 margin:0 15px 15px 15px;
283 }
284 .historique h1{
285 width:100%;
286 }
287 #atelierdescription{
288 margin:0 10px;
289 }
290 #atelierdescription #news{
291 margin:0;
292 }
293 .spip_logos{
294 width:auto!important;
295 }
296
297
298 /*3EME COLONNE*/
299
300
301
302 .map{
303 height: 300px;
304 margin:0 10px 15px 10px;
305 overflow: hidden;
306 }
307
308 .agenda{
309 background-color: #05ffbc;
310 height:500px;
311 margin:0 10px 15px 10px;
312 padding-right: 10px;
313 overflow-y: scroll;
314 }
315
316 .agenda p{
317 padding: 0;
318 }
319
320 .agenda ul{
321 list-style-type:none;
322 padding:0;
323 margin:0;
324 padding-top:15px;
325 }
326 .date{
327 float:left;
328 font-size: 1.7em;
329 clear: both;
330 }
331
332 .event{
333 display: block;
334 margin-bottom: 10px;
335 padding-top: 5px;
336 }
337 .horaire{
338 font-size: 0.8em;
339 margin-bottom: 20px;
340 display: block;
341 }
342 .nature{
343 overflow-y: scroll;
344 height: 70px;
345
346 }
347
348
349 /*RESPONSIVE*/
350
351
352 $columns: 12!default;
353 $medium:650px;
354 $large:1200px;
355
356 %col{
357 float:left;
358 position: relative;
359 }
360
361 @for $i from 1 through $columns{
362 .col-#{$i}{
363 @extend %col;
364 width:$i / $columns * 100%;}
365 .col-m-#{$i}, .col-l-#{$i}{@extend %col;}
366 }
367
368 @media only screen and (min-width: $medium){
369 @for $i from 1 through $columns{
370 .col-m-#{$i}{
371 width:$i / $columns * 100%;}
372 }
373
374 }
375 @media only screen and (min-width: $large){
376 @for $i from 1 through $columns{
377 .col-l-#{$i}{
378 width:$i / $columns * 100%;}
379 }
380 #wrap{
381 width:1200px;
382 }
383
384 .wrap{
385 width: auto;
386 }
387 }
388
389
390
391 .row:before, .row:after{
392 content: "";
393 display:table;
394 }
395
396 .row:after{
397 clear:both;
398 }
399
400
401 .row{
402 margin: 0 -10px;
403 zoom: 1;
404 }
405
406
407 /*FOOTER*/
408
409 footer{
410 clear:both;
411 height:100px;
412 background-color: #05ffbc;
413 }
414
415 footer ul {
416 padding:0;
417 margin:0 auto;
418 list-style-type:none;
419 padding-top:30px;
420 }
421 .textfooter{
422 width:500px;
423 margin:0 auto;
424 }
425 footer li {
426 float:left; /*pour IE*/
427 text-align: center;
428 }
429 footer ul li a {
430 display:block;
431 float:left;
432 text-decoration:none;
433 color: #0c0fb7;
434 }
435 footer ul li a:hover {
436 border-bottom: solid #0c0fb7;
437 }
438