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