Project

General

Profile

« Previous | Next » 

Revision d7bbbd19

Added by Guillaume Denis almost 8 years ago

CSS adaptations to match CKAN 2.3 (from 2.2.1)

View differences:

ckanext/ozwillo_theme/fanstatic/ozwillo.css
43 43
}
44 44

  
45 45
.homepage [role="main"], body [role="main"] {
46
padding-top: 80px;
46
  padding-top: 80px;
47
}
48

  
49
body [role="main"].second {
50
  padding-top: 40px;
47 51
}
48 52

  
49 53
.toolbar .breadcrumb > li + li:before {
......
360 364

  
361 365
/* fix CKAN responsive issues */
362 366

  
367
@media (max-width: 767px) {
368
  body {
369
    padding-left: 0;
370
    padding-right: 0;
371
  }
372
  .toolbar .breadcrumb, .toolbar .breadcrumb a {
373
    color: #505050;
374
    text-shadow: 0 1px 0 #ffffff;
375
  }
376
  .toolbar .breadcrumb .home {
377
    display: inline-block;
378
  }
379

  
380
}
381

  
363 382
.homepage.layout-1 .row1 .col2, .homepage.layout-1 .row2 .col2 {
364 383
  position: relative;
365 384
}
......
381 400
}
382 401

  
383 402
@media (max-width: 767px) {
384
  .row1 .col1 {
403
  .row1 .col1, .row2 .col1  {
385 404
    margin-bottom: 20px;
386 405
  }
387 406
}
......
410 429
  }
411 430
}
412 431

  
432
@media (min-width: 1199px) {
433
  .row.wrapper {
434
    background-position: 50px top;
435
  }
436
}
437

  
413 438
@media (max-width: 979px) {
414
  aside.secondary {
439
  /*aside.secondary {
415 440
    display :none;
416 441
  }
417 442
  .row.wrapper {
418 443
    background: #fff;
419
  }
444
  }*/
420 445
}
ckanext/ozwillo_theme/templates/home/layout1.html
14 14
    </div>
15 15
  </div>
16 16
</div>
17
<div role="main">
17
<div role="main" class="second">
18 18
  <div class="container">
19 19
    <div class="row row2">
20 20
      <div class="span5 col1">
ckanext/ozwillo_theme/templates/page.html
55 55
            {% endblock %}
56 56

  
57 57
            {% block primary %}
58
              <div class="primary span12">
58
              <div class="primary span9">
59 59
                {#
60 60
                The primary_content block can be used to add content to the page.
61 61
                This is the main block that is likely to be used within a template.

Also available in: Unified diff