[HTML+CSS]
[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 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
168 #ateliers p{
169 margin: 15px 15px 0 0;
170 font-size:1.0em;
171 text-align: left;
172 }
173 #ateliers address{
174 margin: 0 0 0 15px;
175 line-height: 0.6;
176
177 }
178 #ateliers p:nth-child(2){
179 margin:0px 15px 15px 15px;
180 }
181
182
183 /*2EME COLONNE*/
184
185
186 #news{
187 overflow: hidden;
188 }
189
190 .article{
191 background-color:#ffd7b7;
192 margin:0 10px 15px 10px;
193 line-height: 1.3;
194 }
195 .spip_logo{
196 display:none;
197 }
198 .article .spip_logos{
199
200 }
201
202
203
204 /*3EME COLONNE*/
205
206
207
208 .map{
209 height: 300px;
210 margin:0 10px 15px 10px;
211 overflow: hidden;
212 }
213
214 .agenda{
215 background-color: #a1ffff;
216 height:500px;
217 margin:0 10px 0px 10px;
218 padding-right: 10px;
219 overflow-y: scroll;
220 }
221
222 .agenda p{
223 padding: 0;
224 }
225
226 .agenda ul{
227 list-style-type:none;
228 padding:0;
229 margin:0;
230 padding-top:15px;
231 }
232 .date{
233 float:left;
234 font-size: 1.7em;
235 clear: both;
236 }
237
238 .event{
239 display: block;
240 margin-bottom: 10px;
241 padding-top: 5px;
242 }
243 .horaire{
244 font-size: 0.8em;
245 margin-bottom: 20px;
246 display: block;
247 }
248 .nature{
249 overflow-y: scroll;
250 height: 70px;
251
252 }
253
254
255 /*RESPONSIVE*/
256
257
258 $columns: 12!default;
259 $medium:650px;
260 $large:1200px;
261
262 %col{
263 float:left;
264 position: relative;
265 }
266
267 @for $i from 1 through $columns{
268 .col-#{$i}{
269 @extend %col;
270 width:$i / $columns * 100%;}
271 .col-m-#{$i}, .col-l-#{$i}{@extend %col;}
272 }
273
274 @media only screen and (min-width: $medium){
275 @for $i from 1 through $columns{
276 .col-m-#{$i}{
277 width:$i / $columns * 100%;}
278 }
279
280 }
281 @media only screen and (min-width: $large){
282 @for $i from 1 through $columns{
283 .col-l-#{$i}{
284 width:$i / $columns * 100%;}
285 }
286 #wrap{
287 width:1200px;
288 }
289
290 .wrap{
291 width: auto;
292 }
293 }
294
295
296
297 .row:before, .row:after{
298 content: "";
299 display:table;
300 }
301
302 .row:after{
303 clear:both;
304 }
305
306
307 .row{
308 margin: 0 -10px;
309 zoom: 1;
310 }
311
312
313 /*FOOTER*/
314
315 footer{
316 clear:both;
317 height:100px;
318 background-color: #ffaa7f;
319 }
320
321 footer ul {
322 padding:0;
323 margin:0 auto;
324 list-style-type:none;
325 padding-top:30px;
326 }
327 .textfooter{
328 width:500px;
329 margin:0 auto;
330 }
331 footer li {
332 float:left; /*pour IE*/
333 text-align: center;
334 }
335 footer ul li a {
336 display:block;
337 float:left;
338 text-decoration:none;
339 }
340 footer ul li a:hover {
341 border-bottom: solid #1d0b78;
342 }
343