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