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