1 | /* Less Framework 4
|
---|
2 | http://lessframework.com
|
---|
3 | by Joni Korpi
|
---|
4 | License: http://opensource.org/licenses/mit-license.php */
|
---|
5 |
|
---|
6 |
|
---|
7 | /*
|
---|
8 |
|
---|
9 |
|
---|
10 |
|
---|
11 | /* Default Layout: 992px.
|
---|
12 | Gutters: 24px.
|
---|
13 | Outer margins: 48px.
|
---|
14 | Leftover space for scrollbars @1024px: 32px.
|
---|
15 | -------------------------------------------------------------------------------
|
---|
16 | cols 1 2 3 4 5 6 7 8 9 10
|
---|
17 | px 68 160 252 344 436 528 620 712 804 896 */
|
---|
18 |
|
---|
19 |
|
---|
20 | @import "palette.less";
|
---|
21 |
|
---|
22 |
|
---|
23 |
|
---|
24 | /* Default General ----------------------------------------------------*/
|
---|
25 |
|
---|
26 | .wrapper{
|
---|
27 | width: 940px;
|
---|
28 | }
|
---|
29 |
|
---|
30 | /* Defaul tNav ----------------------------------------------------*/
|
---|
31 |
|
---|
32 | #comboNav{ display: none; }
|
---|
33 | #nav{ display: block; }
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | /* Tablet Layout: 768px.
|
---|
39 | Gutters: 24px.
|
---|
40 | Outer margins: 28px.
|
---|
41 | Inherits styles from: Default Layout.
|
---|
42 | -----------------------------------------------------------------
|
---|
43 | cols 1 2 3 4 5 6 7 8
|
---|
44 | px 68 160 252 344 436 528 620 712 */
|
---|
45 |
|
---|
46 | @media only screen and (min-width: 768px) and (max-width: 991px) {
|
---|
47 |
|
---|
48 | /* TABLET GENERAL ----------------------------------------------------*/
|
---|
49 |
|
---|
50 |
|
---|
51 | .wrapper{ width: 712px; }
|
---|
52 |
|
---|
53 |
|
---|
54 | /* TABLET NAV ----------------------------------------------------*/
|
---|
55 |
|
---|
56 | #nav{ display: block; }
|
---|
57 | #comboNav{ display: none; }
|
---|
58 | #nav{
|
---|
59 |
|
---|
60 | li{
|
---|
61 | word-spacing: -.1em;
|
---|
62 | font-size: 16px;
|
---|
63 | }
|
---|
64 | }
|
---|
65 |
|
---|
66 | /* TABLE ISOTOPE ----------------------------------------------------*/
|
---|
67 |
|
---|
68 |
|
---|
69 | .feature{
|
---|
70 | width: 732px; /* 712 + 20 gap */
|
---|
71 | li{
|
---|
72 | width: 223px;
|
---|
73 | .thumb{
|
---|
74 | width: 203px;
|
---|
75 | .date{
|
---|
76 | left: 101px - 30;
|
---|
77 | }
|
---|
78 | }
|
---|
79 | }
|
---|
80 | }
|
---|
81 |
|
---|
82 | /* TABLET BLOG ------------------------------------------------------------*/
|
---|
83 |
|
---|
84 | #posts-list{
|
---|
85 | width: 420px;
|
---|
86 |
|
---|
87 | article{
|
---|
88 | padding: 15px;
|
---|
89 |
|
---|
90 | .tape{
|
---|
91 | left: 210px - 60;
|
---|
92 | }
|
---|
93 |
|
---|
94 | .excerpt{
|
---|
95 | .post-heading{
|
---|
96 | max-width: 330px;
|
---|
97 | }
|
---|
98 | }
|
---|
99 | }
|
---|
100 | }
|
---|
101 |
|
---|
102 | /* TABLET PORTFOLIO ----------------------------------------------------*/
|
---|
103 |
|
---|
104 | .portfolio-content{
|
---|
105 | .project-content{
|
---|
106 | float: left;
|
---|
107 | width: 430px;
|
---|
108 | }
|
---|
109 |
|
---|
110 | .project-info{
|
---|
111 | width: 160px;
|
---|
112 | }
|
---|
113 | }
|
---|
114 |
|
---|
115 | /* TABLET RELATED PROJECTS ------------------------------------------------------------*/
|
---|
116 |
|
---|
117 | .related-projects{
|
---|
118 | .related-list{
|
---|
119 | li{
|
---|
120 | width: 224px;
|
---|
121 | text-align: center;
|
---|
122 | margin-right: 20px;
|
---|
123 |
|
---|
124 | .thumb{
|
---|
125 | background: @fgColor;
|
---|
126 | padding: 10px;
|
---|
127 | display: block;
|
---|
128 | line-height: 0em;
|
---|
129 | margin-bottom: 10px;.shadow();
|
---|
130 | }
|
---|
131 |
|
---|
132 | &:last-child{
|
---|
133 | margin-right: 0px;
|
---|
134 | }
|
---|
135 | }
|
---|
136 | }
|
---|
137 | }
|
---|
138 |
|
---|
139 | /* TABLET WIDGETS ----------------------------------------------------*/
|
---|
140 |
|
---|
141 | .widget-cols{
|
---|
142 | >li{
|
---|
143 | width: 163px;
|
---|
144 | float: left;
|
---|
145 | margin-right: 20px;
|
---|
146 | }
|
---|
147 | }
|
---|
148 |
|
---|
149 |
|
---|
150 | }
|
---|
151 |
|
---|
152 |
|
---|
153 |
|
---|
154 | /* Mobile Layout: 320px.
|
---|
155 | Gutters: 24px.
|
---|
156 | Outer margins: 34px.
|
---|
157 | Inherits styles from: Default Layout.
|
---|
158 | ---------------------------------------------
|
---|
159 | cols 1 2 3
|
---|
160 | px 68 160 252 */
|
---|
161 |
|
---|
162 | @media only screen and (max-width: 767px) {
|
---|
163 |
|
---|
164 | .wrapper{ width: 252px; }
|
---|
165 |
|
---|
166 |
|
---|
167 | h1{ font-size: 36px; }
|
---|
168 | h2{ font-size: 30px; }
|
---|
169 | h3{ font-size: 24px; }
|
---|
170 | h4{ font-size: 18px; }
|
---|
171 | h5{ font-size: 14px; }
|
---|
172 | h6{ font-size: 14px; }
|
---|
173 |
|
---|
174 | /* MOBILE NAV ----------------------------------------------------*/
|
---|
175 |
|
---|
176 | #nav{ display: none; }
|
---|
177 | #comboNav{ display: block; }
|
---|
178 |
|
---|
179 | /* MOBILE Logo ----------------------------------------------------*/
|
---|
180 |
|
---|
181 | #logo{
|
---|
182 | width: 256px;
|
---|
183 | img{
|
---|
184 | width: 100%;
|
---|
185 | }
|
---|
186 | }
|
---|
187 |
|
---|
188 | /* MOBILE SLIDER ----------------------------------------------------*/
|
---|
189 |
|
---|
190 | body .theme-default .nivo-directionNav a{
|
---|
191 | display: none;
|
---|
192 | }
|
---|
193 |
|
---|
194 | /* MOBILE HEALINE ----------------------------------------------------*/
|
---|
195 |
|
---|
196 | .headline{
|
---|
197 | font-family: mensch;
|
---|
198 | font-size: 24px;
|
---|
199 | line-height: 1.3em;
|
---|
200 | }
|
---|
201 |
|
---|
202 | /* MOBILE ISOTOPE ----------------------------------------------------*/
|
---|
203 |
|
---|
204 |
|
---|
205 | #filter-buttons{
|
---|
206 | font-size: 12px;
|
---|
207 | background: @fgColor;
|
---|
208 | height: auto;
|
---|
209 | }
|
---|
210 |
|
---|
211 | .feature{
|
---|
212 | width: 252px;
|
---|
213 | margin-left: 0px;
|
---|
214 | li{
|
---|
215 | width: 252px;
|
---|
216 | margin-left: 0px;
|
---|
217 | .thumb{
|
---|
218 | width: 232px;
|
---|
219 | .date{
|
---|
220 | left: 116px - 30;
|
---|
221 | }
|
---|
222 | }
|
---|
223 | }
|
---|
224 | }
|
---|
225 |
|
---|
226 | /* MOBILE COLUMNS ----------------------------------------------------*/
|
---|
227 |
|
---|
228 | .one-half,
|
---|
229 | .one-third,
|
---|
230 | .one-fourth{
|
---|
231 | width: auto;
|
---|
232 | margin-right: 0px;
|
---|
233 | }
|
---|
234 |
|
---|
235 | /* MOBILE BLOG ------------------------------------------------------------*/
|
---|
236 |
|
---|
237 | #posts-list{
|
---|
238 | width: 252px;
|
---|
239 |
|
---|
240 | article{
|
---|
241 | padding: 15px;
|
---|
242 |
|
---|
243 | .tape{
|
---|
244 | left: 126px - 60;
|
---|
245 | }
|
---|
246 |
|
---|
247 | .feature-image{
|
---|
248 | .entry-date{
|
---|
249 | bottom: -66px;
|
---|
250 | right: auto;
|
---|
251 | left: 126px - 25 - 20;
|
---|
252 | }
|
---|
253 | }
|
---|
254 |
|
---|
255 | .excerpt{
|
---|
256 | margin-top: 90px;
|
---|
257 | .post-heading{
|
---|
258 | max-width: auto;
|
---|
259 | font-size: 24px;
|
---|
260 | }
|
---|
261 | }
|
---|
262 | }
|
---|
263 | }
|
---|
264 |
|
---|
265 | #main .page-navigation{
|
---|
266 | text-indent: -9000px;
|
---|
267 | div{
|
---|
268 | width: 25px;
|
---|
269 | }
|
---|
270 | }
|
---|
271 |
|
---|
272 | /* MOBILE SIDEBAR ----------------------------------------------------*/
|
---|
273 |
|
---|
274 | #sidebar{
|
---|
275 | width: 260px;
|
---|
276 | }
|
---|
277 |
|
---|
278 |
|
---|
279 | /* MOBILE PORTFOLIO ----------------------------------------------------*/
|
---|
280 |
|
---|
281 | .portfolio-content{
|
---|
282 | .project-content{
|
---|
283 | float: left;
|
---|
284 | width: 192px;
|
---|
285 | }
|
---|
286 |
|
---|
287 | .project-info{
|
---|
288 | width: 160px;
|
---|
289 | }
|
---|
290 | }
|
---|
291 |
|
---|
292 | /* MOBILE RELATED PROJECTS ------------------------------------------------------------*/
|
---|
293 |
|
---|
294 | .related-projects{
|
---|
295 | .related-list{
|
---|
296 | li{
|
---|
297 | width: 252px;
|
---|
298 | margin-bottom: 30px;
|
---|
299 | }
|
---|
300 | }
|
---|
301 | }
|
---|
302 |
|
---|
303 |
|
---|
304 | /* MOBILE WIDGETS ----------------------------------------------------*/
|
---|
305 |
|
---|
306 | .widget-cols{
|
---|
307 | >li{
|
---|
308 | width: 252px;
|
---|
309 | float: left;
|
---|
310 | margin-right: 20px;
|
---|
311 | border-bottom: 1px solid @fgColor;
|
---|
312 | padding-bottom: 30px;
|
---|
313 | margin-bottom: 30px;
|
---|
314 | &:last-child{
|
---|
315 | border-bottom: none;
|
---|
316 | }
|
---|
317 | }
|
---|
318 | }
|
---|
319 |
|
---|
320 | /* MOBILE Social ----------------------------------------------------*/
|
---|
321 |
|
---|
322 | footer{
|
---|
323 | #social-bar{
|
---|
324 | margin: 20px 0px 30px 0px;
|
---|
325 | background: none;
|
---|
326 | height: 46px;
|
---|
327 | li{
|
---|
328 | margin-bottom: 5px;
|
---|
329 | }
|
---|
330 | .left-corner,
|
---|
331 | .right-corner{
|
---|
332 | display: none;
|
---|
333 | }
|
---|
334 | }
|
---|
335 |
|
---|
336 |
|
---|
337 | }
|
---|
338 | }
|
---|
339 |
|
---|
340 |
|
---|
341 | /* Wide Mobile Layout: 480px.
|
---|
342 | Gutters: 24px.
|
---|
343 | Outer margins: 22px.
|
---|
344 | Inherits styles from: Default Layout, Mobile Layout.
|
---|
345 | ------------------------------------------------------------
|
---|
346 | cols 1 2 3 4 5
|
---|
347 | px 68 160 252 344 436 */
|
---|
348 |
|
---|
349 | @media only screen and (min-width: 480px) and (max-width: 767px) {
|
---|
350 |
|
---|
351 | @widemobile-w: 436px;
|
---|
352 |
|
---|
353 | .wrapper{ width: @widemobile-w; }
|
---|
354 |
|
---|
355 |
|
---|
356 | /* WIDE MOBILE Logo ----------------------------------------------------*/
|
---|
357 |
|
---|
358 | #logo{
|
---|
359 | width: 436px;
|
---|
360 | img{
|
---|
361 | width: 100%;
|
---|
362 | }
|
---|
363 | }
|
---|
364 |
|
---|
365 | /* WIDE MOBILE NAV ----------------------------------------------------*/
|
---|
366 |
|
---|
367 | #nav{ display: none; }
|
---|
368 | #comboNav{ display: block; }
|
---|
369 |
|
---|
370 | /* WIDE MOBILE HEALINE ----------------------------------------------------*/
|
---|
371 |
|
---|
372 | .headline{
|
---|
373 | font-family: mensch;
|
---|
374 | font-size: 36px;
|
---|
375 | line-height: 1.3em;
|
---|
376 | }
|
---|
377 |
|
---|
378 | /* WIDE MOBILE ISOTOPE ----------------------------------------------------*/
|
---|
379 |
|
---|
380 | .feature{
|
---|
381 | width: 436px;
|
---|
382 | margin-left: 0px;
|
---|
383 | li{
|
---|
384 | width: 436px;
|
---|
385 | margin-left: 0px;
|
---|
386 | .thumb{
|
---|
387 | width: 416px;
|
---|
388 | .date{
|
---|
389 | left: 208px - 30;
|
---|
390 | }
|
---|
391 | }
|
---|
392 | }
|
---|
393 | }
|
---|
394 |
|
---|
395 | /* WIDE MOBILE BLOG ------------------------------------------------------------*/
|
---|
396 |
|
---|
397 | #posts-list{
|
---|
398 | width: 436px;
|
---|
399 |
|
---|
400 | article{
|
---|
401 | padding: 15px;
|
---|
402 |
|
---|
403 | .tape{
|
---|
404 | left: 216px - 60;
|
---|
405 | }
|
---|
406 |
|
---|
407 | .feature-image{
|
---|
408 | .entry-date{
|
---|
409 | bottom: -66px;
|
---|
410 | right: auto;
|
---|
411 | left: 216px - 25 - 20;
|
---|
412 | }
|
---|
413 | }
|
---|
414 |
|
---|
415 | .excerpt{
|
---|
416 | margin-top: 90px;
|
---|
417 | .post-heading{
|
---|
418 | max-width: auto;
|
---|
419 | font-size: 24px;
|
---|
420 | }
|
---|
421 | }
|
---|
422 | }
|
---|
423 | }
|
---|
424 |
|
---|
425 |
|
---|
426 | /* WIDE MOBILE SIDEBAR ----------------------------------------------------*/
|
---|
427 |
|
---|
428 | #sidebar{
|
---|
429 | width: 436px;
|
---|
430 | }
|
---|
431 |
|
---|
432 | /* WIDE MOBILE PORTFOLIO ----------------------------------------------------*/
|
---|
433 |
|
---|
434 | .portfolio-content{
|
---|
435 | .project-content{
|
---|
436 | float: left;
|
---|
437 | width: 376px;
|
---|
438 | }
|
---|
439 |
|
---|
440 | .project-info{
|
---|
441 | width: 346px;
|
---|
442 | }
|
---|
443 | }
|
---|
444 |
|
---|
445 | /* WIDE MOBILE RELATED PROJECTS ------------------------------------------------------------*/
|
---|
446 |
|
---|
447 | .related-projects{
|
---|
448 | .related-list{
|
---|
449 | li{
|
---|
450 | width: 436px;
|
---|
451 | margin-bottom: 30px;
|
---|
452 | }
|
---|
453 | }
|
---|
454 | }
|
---|
455 |
|
---|
456 | /* WIDE MOBILE WIDGETS ----------------------------------------------------*/
|
---|
457 |
|
---|
458 | .widget-cols{
|
---|
459 | >li{
|
---|
460 | width: 436px;
|
---|
461 | }
|
---|
462 | }
|
---|
463 | }
|
---|
464 |
|
---|
465 |
|
---|
466 |
|
---|
467 |
|
---|
468 |
|
---|
469 |
|
---|
470 |
|
---|