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