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