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